【代码修复】分销的提现的类型不正确的问题

pull/63/MERGE
YunaiV 2024-07-22 21:58:05 +08:00
parent f4cc8def91
commit 0b9d7a8808
2 changed files with 18 additions and 18 deletions

View File

@ -61,21 +61,21 @@
title: '钱包余额', title: '钱包余额',
value: '1', value: '1',
}, },
{
icon: '/static/img/shop/pay/bank.png',
title: '银行卡转账',
value: '2',
},
{ {
icon: '/static/img/shop/pay/wechat.png', icon: '/static/img/shop/pay/wechat.png',
title: '微信零钱', title: '微信零钱',
value: '2', value: '3',
}, },
{ {
icon: '/static/img/shop/pay/alipay.png', icon: '/static/img/shop/pay/alipay.png',
title: '支付宝账户', title: '支付宝账户',
value: '3',
},
{
icon: '/static/img/shop/pay/bank.png',
title: '银行卡转账',
value: '4', value: '4',
}, }
]; ];
function onChange(e) { function onChange(e) {

View File

@ -26,9 +26,9 @@
<view class="bank-list ss-flex ss-col-center" @tap="onAccountSelect(true)"> <view class="bank-list ss-flex ss-col-center" @tap="onAccountSelect(true)">
<view v-if="!state.accountInfo.type" class="empty-text"></view> <view v-if="!state.accountInfo.type" class="empty-text"></view>
<view v-if="state.accountInfo.type === '1'" class="empty-text"></view> <view v-if="state.accountInfo.type === '1'" class="empty-text"></view>
<view v-if="state.accountInfo.type === '2'" class="empty-text"></view> <view v-if="state.accountInfo.type === '2'" class="empty-text"></view>
<view v-if="state.accountInfo.type === '3'" class="empty-text"></view> <view v-if="state.accountInfo.type === '3'" class="empty-text"></view>
<view v-if="state.accountInfo.type === '4'" class="empty-text"></view> <view v-if="state.accountInfo.type === '4'" class="empty-text"></view>
<text class="cicon-forward" /> <text class="cicon-forward" />
</view> </view>
</view> </view>
@ -61,10 +61,10 @@
/> />
</view> </view>
<!-- 收款码 --> <!-- 收款码 -->
<view class="card-title" v-show="['2', '3'].includes(state.accountInfo.type)"></view> <view class="card-title" v-show="['3', '4'].includes(state.accountInfo.type)"></view>
<view <view
class="input-box ss-flex ss-col-center" class="input-box ss-flex ss-col-center"
v-show="['2', '3'].includes(state.accountInfo.type)" v-show="['3', '4'].includes(state.accountInfo.type)"
> >
<view class="unit" /> <view class="unit" />
<view class="upload-img"> <view class="upload-img">
@ -78,10 +78,10 @@
</view> </view>
</view> </view>
<!-- 持卡人姓名 --> <!-- 持卡人姓名 -->
<view class="card-title" v-show="state.accountInfo.type === '4'"></view> <view class="card-title" v-show="state.accountInfo.type === '2'"></view>
<view <view
class="input-box ss-flex ss-col-center border-bottom" class="input-box ss-flex ss-col-center border-bottom"
v-show="state.accountInfo.type === '4'" v-show="state.accountInfo.type === '2'"
> >
<view class="unit" /> <view class="unit" />
<uni-easyinput <uni-easyinput
@ -92,10 +92,10 @@
/> />
</view> </view>
<!-- 提现银行 --> <!-- 提现银行 -->
<view class="card-title" v-show="state.accountInfo.type === '4'"></view> <view class="card-title" v-show="state.accountInfo.type === '2'"></view>
<view <view
class="input-box ss-flex ss-col-center border-bottom" class="input-box ss-flex ss-col-center border-bottom"
v-show="state.accountInfo.type === '4'" v-show="state.accountInfo.type === '2'"
> >
<view class="unit" /> <view class="unit" />
<uni-easyinput <uni-easyinput
@ -106,10 +106,10 @@
/> />
</view> </view>
<!-- 开户地址 --> <!-- 开户地址 -->
<view class="card-title" v-show="state.accountInfo.type === '4'"></view> <view class="card-title" v-show="state.accountInfo.type === '2'"></view>
<view <view
class="input-box ss-flex ss-col-center border-bottom" class="input-box ss-flex ss-col-center border-bottom"
v-show="state.accountInfo.type === '4'" v-show="state.accountInfo.type === '2'"
> >
<view class="unit" /> <view class="unit" />
<uni-easyinput <uni-easyinput