zhengyiming
2 天以前 36f2c20ea3df022390b677e782d8a4cd25f21f69
apps/cMiniApp/src/subpackages/mine/setting/setting.vue
@@ -9,10 +9,10 @@
        </template>
      </ListItem> -->
      <ListItem title="用户协议" @click="goMineUserPolicy"></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>
      <!-- <ListItem title="人工客服" @click="goMineService"></ListItem> -->
      <nut-button :open-type="'contact'" class="setting-page-service">人工客服</nut-button>
    </List>
  </PageLayout>
</template>
@@ -60,13 +60,14 @@
}
function goMineService() {
  const encodedUrl = encodeURIComponent('https://work.weixin.qq.com/kfid/kfcd24e0c60fd91099');
  // 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=${encodedUrl}`,
      url: `${RouterPath.setting}`,
    },
    corpId: 'wwc84cb8e0525c772f',
    // corpId: 'kfc2335f41fb4f0c0bc',
    fail: (res) => {
      Taro.showToast({
        title: res.errMsg,
@@ -87,7 +88,22 @@
  }
  .setting-page-service {
    //
    height: 104px;
    padding-left: 28px;
    color: boleGetCssVar('text-color', 'primary');
    width: 100%;
    &::before {
      display: none;
    }
    &::after {
      display: none;
    }
    .nut-button__wrap {
      justify-content: flex-start;
    }
  }
}
</style>