This commit is contained in:
2021-10-25 16:23:23 +08:00
parent 2bc9ea63c0
commit ad67333bbf
17 changed files with 202 additions and 218 deletions

View File

@@ -3,7 +3,7 @@
<view class="propery">
<image src="/static/imgs/account-bg.png" mode="aspectFill" class="record-bg" />
<view class="propery-content">
<view class="currency">能量球钱包
<view class="currency">通证钱包
<span>( {{ cost || '0.00' }} CNY)</span>
</view>
<view class="balance">{{ balance || '0.00' }}</view>
@@ -38,12 +38,12 @@
export default {
data() {
return {
balance: 0, // 钱包能量球数量
balance: 0, // 钱包通证数量
tax: 0, // 当前手续费
cost: 1, // 每个能量球的价格
cost: 1, // 每个通证的价格
total: 0, // 约合人民币
card: '', // 银行卡号
withdraw_input: '', // 提现能量球数量
withdraw_input: '', // 提现通证数量
bank_accounts: 0,
bankInfo: {}
};
@@ -73,7 +73,7 @@
})
})
},
// 输入提现能量球数量
// 输入提现通证数量
inputNum(e) {
let number = Number(e.detail.value)
if (number <= Number(this.balance)) {
@@ -120,7 +120,7 @@
}
if (data.amount === 0) {
uni.showToast({
title: '请输入能量球数量',
title: '请输入通证数量',
icon: 'none'
})
return;