|
|
@ -31,20 +31,21 @@ |
|
|
size="mini" |
|
|
size="mini" |
|
|
@click="changeRechargeType(1)" |
|
|
@click="changeRechargeType(1)" |
|
|
>OMNI</view> --> |
|
|
>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" |
|
|
<view class="rounded-xs p-x-lg p-y-ms m-r-md" |
|
|
size="mini" |
|
|
size="mini" |
|
|
@click="changeRechargeType(2)" |
|
|
@click="changeRechargeType(2)" |
|
|
:class="rechargeType==2?'bor-active':'bg-panel-3 border'" |
|
|
:class="rechargeType==2?'bor-active':'bg-panel-3 border'" |
|
|
>ERC20</view> |
|
|
>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> |
|
|
</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> |
|
|
<view class="color-sell fn-12 p-x-lg">{{$t('recharge.a1')}} <span v-html="' '"><span v-if="coin=='USDT'"> {{text }} </span></span>{{coin}}.{{$t('recharge.a2')}}</view> |
|
|
<view class="p-t-md p-b-md "> |
|
|
<view class="p-t-md p-b-md "> |
|
|
<view class="fn-center"> |
|
|
<view class="fn-center"> |
|
|
<v-qr v-if="form.address" class="qr-box" :text="form.address||' '"></v-qr> |
|
|
<v-qr v-if="form.address" class="qr-box" :text="form.address||' '"></v-qr> |
|
|
@ -142,7 +143,7 @@ export default { |
|
|
return { |
|
|
return { |
|
|
coinListShow: false, |
|
|
coinListShow: false, |
|
|
coin: "", |
|
|
coin: "", |
|
|
rechargeType: 3, |
|
|
rechargeType: 2, |
|
|
address: "", |
|
|
address: "", |
|
|
form: { |
|
|
form: { |
|
|
coin_id: "", |
|
|
coin_id: "", |
|
|
@ -177,7 +178,7 @@ export default { |
|
|
if (this.coin != "USDT") { |
|
|
if (this.coin != "USDT") { |
|
|
this.rechargeType = 1; |
|
|
this.rechargeType = 1; |
|
|
}else{ |
|
|
}else{ |
|
|
this.rechargeType = 3; |
|
|
this.rechargeType = 2; |
|
|
} |
|
|
} |
|
|
this.walletImage(); |
|
|
this.walletImage(); |
|
|
} |
|
|
} |
|
|
|