用户-1状态隐藏账户绑定

This commit is contained in:
donqi 2022-07-21 15:50:09 +08:00
parent 96616c94ca
commit e80100199f
6 changed files with 36 additions and 35 deletions

View File

@ -36,7 +36,7 @@
},
goToBindBank() {
uni.navigateTo({
url: '/pages/my/bank-account-bind'
url: '/pages/my/b-account-bind'
})
}
}

View File

@ -38,7 +38,7 @@
}, {
"path": "withdraw"
}, {
"path": "bank-account-bind"
"path": "b-account-bind"
}, {
"path": "my-money-bag"
}, {

View File

@ -295,7 +295,7 @@
//
let certifyInfoRes = await this.$request.getWorkerCertify();
this.certifyInfo = certifyInfoRes.data;
if (!this.bankCard || !this.bankCard.bankNum) {
if ((!this.bankCard || !this.bankCard.bankNum) && this.curUserInfo.status != -1) {
this.$refs.vertifyBankBind.showModal();
return false;
} else if (!this.certifyInfo || !this.certifyInfo.workerCertificationId) {

View File

@ -44,7 +44,7 @@
<view class="margin-top margin-lr-sm">
<view class="flex justify-between align-center solid-bottom padding padding-lr-lg text-lg"
v-for="(item, index) in menuList" @click="clickMenuItem(item)"
v-if="item.show">
v-if="item.show || (item.showByStatus ? curUserInfo.status != -1 : false)">
<view class="flex justify-start align-center">
<view class="margin-right-sm text-main-color text-xl"><view :class="'cuIcon-' + item.icon"></view></view>
<view>{{item.name}}</view>
@ -70,7 +70,8 @@
name: '提现账户',
icon: 'moneybag',
pageUrl: '/pages/my/withdraw',
show: true
// show: true,
showByStatus: true
}, {
name: '交易明细',
icon: 'form',

View File

@ -104,7 +104,7 @@
},
bindAccount() {
uni.navigateTo({
url: '/pages/my/bank-account-bind'
url: '/pages/my/b-account-bind'
})
},
chooseImage(e) {