['现金红包部分页面添加及发现更多微调app端样式']

This commit is contained in:
2021-10-14 09:44:55 +08:00
parent 50fb945707
commit 01a9d8eb40
139 changed files with 62907 additions and 1049 deletions

View File

@@ -11,16 +11,6 @@
</view>
</view>
<view class="item-name">
提现至银行卡
<view class="right">
<view class="cardName" v-if="bank_accounts === 0" @click="addBanks">添加银行卡</view>
<view class="cardName" v-if='bank_accounts>0' @click="bankLists">{{bankInfo.name?bankInfo.name:'选择银行卡'}}
</view>
<uni-icons type="arrowright" size="12" color="#fff" />
</view>
</view>
<view class="withdrawing-content">
<view class="item">
<view style="flex: 1;">
@@ -33,8 +23,8 @@
</view>
</view>
<view class="total" v-if="total"> {{total.toFixed(2)}} </view>
<view class="btn" @click="actions">提现至银行卡</view>
<view class="des">预计5- 10个工作日到账 手续费: {{tax === '0'?'免手续费':tax+'%'}}</view>
<view class="btn" @click="actions">提现至红包</view>
<view class="des">提现到红包可在红包中提现到银行卡 手续费: </view>
</view>
</template>
@@ -133,13 +123,13 @@
bank_account_id: this.bankInfo.bank_account_id,
amount: Number(this.withdraw_input)
}
if (data.bank_account_id === undefined || data.bank_account_id === null || data.bank_account_id === '') {
uni.showToast({
title: this.bank_accounts > 0 ? '请选择银行卡' : '请添加银行卡',
icon: 'none'
})
return;
}
// if (data.bank_account_id === undefined || data.bank_account_id === null || data.bank_account_id === '') {
// uni.showToast({
// title: this.bank_accounts > 0 ? '请选择银行卡' : '请添加银行卡',
// icon: 'none'
// })
// return;
// }
if (data.amount === 0) {
uni.showToast({
title: '请输入能量球数量',
@@ -149,7 +139,7 @@
}
uni.showModal({
title: '温馨提示',
content:this.tax === '0'?'您是否确认提现交易将免手续费':'您是否确认提现将会扣除' + this.tax + '%手续费',
content:'您是否确认提现到红包,交易将免手续费',
confirmColor: '#7c52fc',
cancelColor: '#cacaca',
cancelText: '我再想想',
@@ -182,18 +172,6 @@
})
},
// 添加银行卡
addBanks() {
this.$Router.push({
name: 'addBank'
})
},
// 选择银行卡
bankLists() {
this.$Router.push({
name: 'bankList'
})
},
// 提现记录
withdrawDetail() {
this.$Router.push({