1
jhzh
2024-10-21 153962b949e70fb7a694f7d14ec630d6bdafa1aa
src/page/transfer.vue
@@ -30,8 +30,9 @@
            </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]}}
@@ -83,7 +84,7 @@
            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('账户'),
@@ -93,6 +94,9 @@
         this.getwallet()
      },
      methods: {
         clickall(){
            this.amount=this.usdcMoney
         },
         async onSwitch(){
            var a = this.toptitle
            var b = this.buttitle
@@ -121,6 +125,7 @@
         },
         onInput(e){
            console.log(e);
            this.amount = this.amount.replace(/[^0-9]/g, '');
         },
         async clicktype(e){
            this.typeindex = e