[...]
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -44,12 +44,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: {}
|
||||
};
|
||||
@@ -81,7 +81,7 @@
|
||||
})
|
||||
})
|
||||
},
|
||||
// 输入提现能量球金额
|
||||
// 输入提现通证金额
|
||||
inputNum(e) {
|
||||
let number = Number(e.detail.value)
|
||||
console.log(number, this.balance)
|
||||
@@ -140,7 +140,7 @@
|
||||
}
|
||||
if (data.amount === 0) {
|
||||
uni.showToast({
|
||||
title: '请输入能量球金额',
|
||||
title: '请输入通证金额',
|
||||
icon: 'none'
|
||||
})
|
||||
return;
|
||||
|
||||
@@ -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>(≈ {{ price || '0.00' }} CNY)</span>
|
||||
</view>
|
||||
<view class="balance">{{ balance.balance || '0.00' }}</view>
|
||||
@@ -11,7 +11,7 @@
|
||||
<view class="balance-flex">
|
||||
<view class="balance-flex-item" @click="showAddress">区块链地址</view>
|
||||
<!-- <view class="balance-flex-item" @click="showPrivatekey('privatekey')">我的私钥</view> -->
|
||||
<view class="balance-flex-item" @click="$Router.push({name: 'Extract'})">能量球转红包</view>
|
||||
<view class="balance-flex-item" @click="$Router.push({name: 'Extract'})">通证转红包</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</view>
|
||||
<view class="record-mouth-year">
|
||||
<view class="record-type-right">
|
||||
<view class="record-title">当前能量球
|
||||
<view class="record-title">当前通证
|
||||
<view class="record-type-left">
|
||||
<u-picker mode="time" v-model="show" :params="params" @confirm='confirm' title='筛选日期'
|
||||
start-year='2021' :end-year='currentYear' />
|
||||
|
||||
Reference in New Issue
Block a user