|
|
|
@ -31,16 +31,17 @@ |
|
|
|
size="mini" |
|
|
|
@click="changeRechargeType(1)" |
|
|
|
>OMNI</view> --> |
|
|
|
<view class="rounded-xs p-x-lg p-y-ms" |
|
|
|
size="mini" |
|
|
|
@click="changeRechargeType(3)" |
|
|
|
:class="rechargeType==3?'bor-active':'bg-panel-3 border'" |
|
|
|
>TRC20</view> |
|
|
|
<view class="rounded-xs p-x-lg p-y-ms m-r-md" |
|
|
|
size="mini" |
|
|
|
@click="changeRechargeType(2)" |
|
|
|
:class="rechargeType==2?'bor-active':'bg-panel-3 border'" |
|
|
|
>ERC20</view> |
|
|
|
<view class="rounded-xs p-x-lg p-y-ms" |
|
|
|
size="mini" |
|
|
|
@click="changeRechargeType(3)" |
|
|
|
:class="rechargeType==3?'bor-active':'bg-panel-3 border'" |
|
|
|
>TRC20</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="color-sell fn-12 p-x-lg">{{$t('recharge.a1')}}<span v-if="coin=='USDT'">{{text}}</span> {{coin}}{{$t('recharge.a2')}}</view> |
|
|
|
@ -141,7 +142,7 @@ export default { |
|
|
|
return { |
|
|
|
coinListShow: false, |
|
|
|
coin: "", |
|
|
|
rechargeType: 2, |
|
|
|
rechargeType: 3, |
|
|
|
address: "", |
|
|
|
form: { |
|
|
|
coin_id: "", |
|
|
|
@ -176,7 +177,7 @@ export default { |
|
|
|
if (this.coin != "USDT") { |
|
|
|
this.rechargeType = 1; |
|
|
|
}else{ |
|
|
|
this.rechargeType = 2; |
|
|
|
this.rechargeType = 3; |
|
|
|
} |
|
|
|
this.walletImage(); |
|
|
|
} |
|
|
|
@ -211,7 +212,7 @@ export default { |
|
|
|
address_type: this.rechargeType, |
|
|
|
}; |
|
|
|
Wallet.walletImage(data).then(res => { |
|
|
|
console.info(res) |
|
|
|
// console.info(res) |
|
|
|
this.form.address = res.data.address; |
|
|
|
}); |
|
|
|
}, |
|
|
|
|