|
|
|
@ -139,7 +139,8 @@ |
|
|
|
<td>{{item.usd_estimate}}</td> |
|
|
|
<td> |
|
|
|
<div class="btn-group btn-group-sm" role="group" aria-label="Basic example"> |
|
|
|
<button type="button" class="btn btn-outline-primary" data-toggle="modal" data-target="#deposite" @click="enterDeposite(item)" :disabled="!item.is_withdraw">{{$t('wallet.recharge')}}</button> |
|
|
|
<!-- data-target="#deposite" --> |
|
|
|
<button type="button" class="btn btn-outline-primary" data-toggle="modal" @click="enterDeposite(item)" :disabled="!item.is_withdraw">{{$t('wallet.recharge')}}</button> |
|
|
|
<button type="button" class="btn btn-outline-primary" data-toggle="modal" data-target="#withdraw" @click="enterWithdraw(item)" :disabled="!item.is_withdraw">{{$t('wallet.withdrawal')}}</button> |
|
|
|
<div class="btn-group btn-group-sm" role="group"> |
|
|
|
<button id="btnGroupDrop1" type="button" class="btn btn-outline-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{$t('wallet.transaction')}}</button> |
|
|
|
@ -555,19 +556,20 @@ export default { |
|
|
|
|
|
|
|
// 进入充值 |
|
|
|
enterDeposite(item) { |
|
|
|
this.depositeCoin = item.coin_name; |
|
|
|
this.deposite.coin_id = item.coin_id; |
|
|
|
// 初始化充值地址 |
|
|
|
this.getDepositeAdress(); |
|
|
|
}, |
|
|
|
//获取充值地址 |
|
|
|
getRechargeAdd(){ |
|
|
|
if(this.userInfo.user_auth_level!=0){ |
|
|
|
|
|
|
|
this.depositeCoin = item.coin_name; |
|
|
|
this.deposite.coin_id = item.coin_id; |
|
|
|
// 初始化充值地址 |
|
|
|
this.getDepositeAdress(); |
|
|
|
$("#deposite").modal("show"); |
|
|
|
}else{ |
|
|
|
this.$message.error(this.$t("wallet.auth")) |
|
|
|
// this.$message.error(this.$t("wallet.auth")) |
|
|
|
this.$router.push("/profile/certification") |
|
|
|
} |
|
|
|
}, |
|
|
|
//获取充值地址 |
|
|
|
getRechargeAdd(){ |
|
|
|
}, |
|
|
|
|
|
|
|
// 处理充值 |
|
|
|
handleDeposite() { |
|
|
|
|