|
|
|
@ -28,16 +28,17 @@ |
|
|
|
size="mini" |
|
|
|
@click="changeRechargeType(1)" |
|
|
|
>OMNI</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 m-r-md" |
|
|
|
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> |
|
|
|
</view> |
|
|
|
@ -186,7 +187,7 @@ export default { |
|
|
|
return { |
|
|
|
coinListShow: false, |
|
|
|
coin: "", |
|
|
|
rechargeType: 3, |
|
|
|
rechargeType: 2, |
|
|
|
form: { |
|
|
|
coin_id: "", |
|
|
|
amount: "", |
|
|
|
@ -217,7 +218,7 @@ export default { |
|
|
|
if (this.coin != "USDT") { |
|
|
|
this.rechargeType = 1; |
|
|
|
}else{ |
|
|
|
this.rechargeType = 3; |
|
|
|
this.rechargeType = 2; |
|
|
|
} |
|
|
|
this.withdrawalBalance(); |
|
|
|
} |
|
|
|
|