Merge branch 'master' of http://120.26.58.240:8888/r/flexJobMiniApp
| | |
| | | class="user-info-unCertified-btn" |
| | | @click.stop="goAuthentication" |
| | | v-if=" |
| | | userDetail?.realStatus === EnumPersonalUserRealStatus.UnReal || |
| | | userDetail?.realStatus === EnumPersonalUserRealStatus.Fail |
| | | (userDetail?.realStatus === EnumPersonalUserRealStatus.UnReal || |
| | | userDetail?.realStatus === EnumPersonalUserRealStatus.Fail) && |
| | | !hideTemplate |
| | | " |
| | | > |
| | | 立即认证 |
| | |
| | | const systemStore = useSystemStore(); |
| | | const { goLoginFn } = useGoLogin(); |
| | | const bgHeight = computed(() => 133 + systemStore.navHeight); |
| | | const hideTemplate = computed(() => systemStore.isWeappCheck); |
| | | |
| | | useQuery({ |
| | | queryKey: ['updateUserInfo'], |
| | |
| | | import Taro from '@tarojs/taro'; |
| | | import { defineStore } from 'pinia'; |
| | | import { store } from '@/stores'; |
| | | import * as settingsServices from '@12333/services/apiV2/settings'; |
| | | |
| | | export interface Options { |
| | | path: string; |
| | |
| | | redirectPath: string; |
| | | isTabSwitch: boolean; |
| | | isFirstEnter: boolean; |
| | | isWeappCheck: boolean; |
| | | } |
| | | |
| | | export const useSystemStore = defineStore({ |
| | |
| | | menuButtonTop: 0, |
| | | |
| | | isFirstEnter: true, |
| | | |
| | | isWeappCheck: true, |
| | | }), |
| | | |
| | | actions: { |
| | | async getAppConfig() { |
| | | try { |
| | | let res = await settingsServices.getWxmpSettings({}); |
| | | this.isWeappCheck = res.wxmpAuditInProcess; |
| | | } catch (error) {} |
| | | }, |
| | | |
| | | init(options: Options) { |
| | | this.options = options; // 放一下页面相关的数据例如scene等 页面高度之类的不存! |
| | | }, |
| | |
| | | </div> --> |
| | | <List> |
| | | <ListItem title="收入明细" @click="goIncomeDetail"> </ListItem> |
| | | <template v-if="!hideTemplate"> |
| | | <ListItem title="银行卡" @click="goBankBind"> |
| | | <template #extra> |
| | | <div class="bind-bank-card"> |
| | |
| | | </div> |
| | | </template> |
| | | </ListItem> |
| | | </template> |
| | | |
| | | <ListItem title="微信"> |
| | | <template #extra> |
| | | <div class="bind-bank-card"> |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import { useSystemStore } from '@/stores/modules/system'; |
| | | import { List, ListItem, WithdrawMoneyCard } from '@12333/components'; |
| | | import { EnumUserBankCardAccess } from '@12333/constants'; |
| | | import Taro from '@tarojs/taro'; |
| | |
| | | name: 'InnerPage', |
| | | }); |
| | | |
| | | const systemStore = useSystemStore(); |
| | | |
| | | const { userDetail, isBindBank, isBindAlipay, isBindWechat } = useUser(); |
| | | |
| | | const hideTemplate = computed(() => systemStore.isWeappCheck); |
| | | |
| | | function goIncomeDetail() { |
| | | Taro.navigateTo({ |
| | | url: `${RouterPath.incomeDetail}`, |