Browse Source

修改充值前实名

master
ltlzx 4 years ago
parent
commit
3d0f45ffc8
  1. 22
      src/views/wallet/exchange-assets.vue

22
src/views/wallet/exchange-assets.vue

@ -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() {

Loading…
Cancel
Save