| | |
| | | <List class="mine-list-wrapper mine-setting-list"> |
| | | <ListItem :icon="IconCollect" title="我收藏的任务" @click="goMineCollectTask"></ListItem> |
| | | <ListItem :icon="IconAgreement" title="协议签约" @click="goMineAgreementSign"></ListItem> |
| | | <ListItem :icon="IconServices" title="人工客服" @click="goMineService"></ListItem> |
| | | <ListItem :icon="IconSetting" title="设置" @click="goSetting"></ListItem> |
| | | <!-- <ListItem :icon="IconRecruit" title="我要招人/用人" @click="goSetting"></ListItem> --> |
| | | </List> |
| | |
| | | import IconOrderHire from '@/assets/mine/icon-order-hire.png'; |
| | | import IconOrderCancel from '@/assets/mine/icon-order-cancel.png'; |
| | | import IconAuth from '@/assets/mine/icon-auth.png'; |
| | | import IconServices from '@/assets/mine/icon-services.png'; |
| | | import { useUser, useIsLogin, useGoLogin } from '@/hooks'; |
| | | import Taro from '@tarojs/taro'; |
| | | import { RouterPath, OssAssets } from '@/constants'; |
| | |
| | | |
| | | function goMineWallet() { |
| | | goPage(RouterPath.mineWallet); |
| | | } |
| | | |
| | | function goMineService() { |
| | | Taro.openCustomerServiceChat({ |
| | | extInfo: { |
| | | // url: 'https://work.weixin.qq.com/kfid/kfcd24e0c60fd91099', |
| | | url: RouterPath.mineWallet, |
| | | }, |
| | | corpId: 'wwc84cb8e0525c772f', |
| | | fail: (res) => { |
| | | Taro.showToast({ |
| | | title: res.errMsg, |
| | | icon: 'none', |
| | | }); |
| | | }, |
| | | }); |
| | | } |
| | | </script> |
| | | |
| | |
| | | </template> |
| | | </ListItem> --> |
| | | <ListItem title="用户协议" @click="goMineUserPolicy"></ListItem> |
| | | <ListItem title="人工客服" @click="goMineService"></ListItem> |
| | | <ListItem title="隐私政策" @click="goPrivacyPolicy"></ListItem> |
| | | <ListItem title="退出登录" @click="handleLoginout"></ListItem> |
| | | </List> |
| | |
| | | const queryClient = useQueryClient(); |
| | | |
| | | const userAccount = computed(() => { |
| | | return addStarForString(userStore?.userDetail?.userName, 4, 8); |
| | | return addStarForString(userStore?.userDetail?.name, 4, 8); |
| | | }); |
| | | |
| | | function goMineUserPolicy() { |
| | |
| | | }); |
| | | } catch (error) {} |
| | | } |
| | | |
| | | function goMineService() { |
| | | Taro.openCustomerServiceChat({ |
| | | extInfo: { |
| | | // url: 'https://work.weixin.qq.com/kfid/kfcd24e0c60fd91099', |
| | | url: RouterPath.mineWallet, |
| | | }, |
| | | corpId: 'wwc84cb8e0525c772f', |
| | | fail: (res) => { |
| | | Taro.showToast({ |
| | | title: res.errMsg, |
| | | icon: 'none', |
| | | }); |
| | | }, |
| | | }); |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss"> |