wupengfei
2 天以前 22e8fa2d3c2877725833669c25851e5d58388cf0
apps/cMiniApp/src/subpackages/mine/setting/setting.vue
@@ -9,7 +9,8 @@
        </template>
      </ListItem> -->
      <ListItem title="用户协议" @click="goMineUserPolicy"></ListItem>
      <ListItem title="人工客服" @click="goMineService"></ListItem>
      <!-- <ListItem title="人工客服" @click="goMineService"></ListItem> -->
      <nut-button :open-type="'contact'" class="setting-page-service">人工客服</nut-button>
      <ListItem title="隐私政策" @click="goPrivacyPolicy"></ListItem>
      <ListItem title="退出登录" @click="handleLoginout"></ListItem>
    </List>
@@ -59,10 +60,11 @@
}
function goMineService() {
  const encodedUrl = encodeURIComponent('https://work.weixin.qq.com/kfid/kfcd24e0c60fd91099');
  Taro.openCustomerServiceChat({
    extInfo: {
      // url: 'https://work.weixin.qq.com/kfid/kfcd24e0c60fd91099',
      url: RouterPath.extraPage,
      url: `${RouterPath.extraPage}?url=${encodedUrl}`,
    },
    corpId: 'wwc84cb8e0525c772f',
    fail: (res) => {
@@ -78,8 +80,14 @@
<style lang="scss">
@import '@/styles/common.scss';
.user-account {
  color: boleGetCssVar('text-color', 'regular');
  font-size: 24px;
.setting-page-wrapper {
  .user-account {
    color: boleGetCssVar('text-color', 'regular');
    font-size: 24px;
  }
  .setting-page-service {
    //
  }
}
</style>