| | |
| | | <view v-for="item in menuList" :key="item.label" class="menu-row" @click="handleMenuClick(item)"> |
| | | <text class="menu-label">{{ item.label }}</text> |
| | | <view class="right-icon"> |
| | | <text v-if="item.label === '门店入驻'" :class="{ 'status-red': userInfo.shopAuditStatus === 1 || userInfo.shopAuditStatus === 2 }"> |
| | | {{ userInfo.shopAuditStatus === 0 ? '审核中' : userInfo.shopAuditStatus === 1 ? '审核通过,请支付押金' : userInfo.shopAuditStatus === 2 ? '审核未通过' : '申请入驻' }} |
| | | <text v-if="['门店入驻','门店信息'].includes(item.label)" :class="{ 'status-red': userInfo.shopAuditStatus === 1 || userInfo.shopAuditStatus === 2 }"> |
| | | {{ userInfo.shopAuditStatus === 0 ? '审核中' : userInfo.shopAuditStatus === 1 ? '审核通过,请支付押金' : userInfo.shopAuditStatus === 2 ? '审核未通过' : userInfo.shopAuditStatus === 3 ? '门店已入驻' : '' }} |
| | | </text> |
| | | <u-icon name="arrow-right" size="18" color="#B5BBC5"></u-icon> |
| | | </view> |
| | |
| | | async onShow() { |
| | | await this.$onLaunched |
| | | if (this.userInfo) { |
| | | if (this.userInfo.shopAuditStatus === 3) { |
| | | this.menuList[0].label = '门店信息' |
| | | } |
| | | this.getOrderNum() |
| | | } |
| | | }, |
| | |
| | | '规范须知': '/pages/rich-text/rich-text?type=serverIntroduce', |
| | | '关于我们': '/pages/rich-text/rich-text?type=about' |
| | | } |
| | | if (item.label === '门店入驻' && [0,1,2].includes(this.userInfo.shopAuditStatus)) { |
| | | if (['门店入驻','门店信息'].includes(item.label) && [0,1,2,3].includes(this.userInfo.shopAuditStatus)) { |
| | | uni.navigateTo({ |
| | | url: '/pages/details-entry/details-entry' |
| | | }) |