Browse Source

优化充币

master
ltlzx 4 years ago
parent
commit
16542900c0
  1. 12
      pages/assets/recharge.vue

12
pages/assets/recharge.vue

@ -26,11 +26,11 @@
>
<!-- <span>{{$t('assets.b7')}}</span> -->
<view class="group d-flex fn-12 color-light">
<view class="rounded-xs p-x-lg p-y-ms m-r-md"
<!-- <view class="rounded-xs p-x-lg p-y-ms m-r-md"
:class="rechargeType==1?'bor-active':'bg-panel-3 border'"
size="mini"
@click="changeRechargeType(1)"
>OMNI</view>
>OMNI</view> -->
<view class="rounded-xs p-x-lg p-y-ms m-r-md"
size="mini"
@click="changeRechargeType(2)"
@ -141,7 +141,7 @@ export default {
return {
coinListShow: false,
coin: "",
rechargeType: 1,
rechargeType: 2,
address: "",
form: {
coin_id: "",
@ -172,9 +172,12 @@ export default {
coin(n) {
if (n) {
this.form.address = "";
console.info(this.coin)
if (this.coin != "USDT") {
this.rechargeType = 1;
}
}else{
this.rechargeType = 2;
}
this.walletImage();
}
},
@ -208,6 +211,7 @@ export default {
address_type: this.rechargeType,
};
Wallet.walletImage(data).then((res) => {
console.info(res)
this.form.address = res.data.address;
});
},

Loading…
Cancel
Save