| | |
| | | </div> |
| | | </div> |
| | | <div style="width: 100%;"> |
| | | <input v-model="amount" :placeholder="$t('请输入数量')" type="number" style="width: 92%;" class="h-100 border-none inputBackground textColor mt-20 pl-20 ml-23" |
| | | <input v-model="amount" :placeholder="$t('请输入数量')" type="number" style="width: 83%;" class="h-100 border-none inputBackground textColor mt-20 pl-20 ml-23" |
| | | @input="onInput" :disabled="disabled" /> |
| | | <span @click="clickall">{{$t('全部')}}</span> |
| | | </div> |
| | | <div class="pages_bot_tps"> |
| | | {{$t('可用数量')}}:{{usdcMoney}} {{bzlist[typeindex]}} |
| | |
| | | fromTo:1, |
| | | typeindex:0, |
| | | amount:'', |
| | | bzlist:['USDT','BTC','ETC','USDC'], |
| | | bzlist:['USDT','BTC','ETH','USDC'], |
| | | usdcMoney:'', |
| | | toptitle:this.$t('资金')+this.$t('账户'), |
| | | buttitle:this.$t('交易')+this.$t('账户'), |
| | |
| | | this.getwallet() |
| | | }, |
| | | methods: { |
| | | clickall(){ |
| | | this.amount=this.usdcMoney |
| | | }, |
| | | async onSwitch(){ |
| | | var a = this.toptitle |
| | | var b = this.buttitle |
| | |
| | | }, |
| | | onInput(e){ |
| | | console.log(e); |
| | | this.amount = this.amount.replace(/[^0-9]/g, ''); |
| | | }, |
| | | async clicktype(e){ |
| | | this.typeindex = e |