|
|
|
@ -366,6 +366,16 @@ |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
<div class="form-group mt-2"> |
|
|
|
<!-- 增加图形验证码 --> |
|
|
|
<label class="d-flex justify-content-between" for="" style="align-items: center;"> |
|
|
|
<span>{{$t('common.GraphicValidation')}}</span> |
|
|
|
<img :src="Graph_che" @click="gett_gc_code"> |
|
|
|
</label> |
|
|
|
<div class="input-group input-group-sm"> |
|
|
|
<input type="text" id="gccode" v-model="withdraw.gc_code" required :placeholder="$t('common.GraphicValidation')" class="form-control" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- 提币验证码 --> |
|
|
|
<div class="form-group mt-2"> |
|
|
|
@ -459,7 +469,8 @@ export default { |
|
|
|
code_type: 1, |
|
|
|
code: '', |
|
|
|
password:'', |
|
|
|
emailcode: '' |
|
|
|
emailcode: '', |
|
|
|
gc_code: ''// 图形验证码 |
|
|
|
}, |
|
|
|
|
|
|
|
withdrawFee: { |
|
|
|
@ -482,6 +493,7 @@ export default { |
|
|
|
getEmailCodeLock: false, |
|
|
|
JStime: 0, |
|
|
|
tiemr: null, |
|
|
|
Graph_che: '' |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
@ -632,6 +644,7 @@ export default { |
|
|
|
coin_name: item.coin_name |
|
|
|
}) |
|
|
|
.then(data => { |
|
|
|
this.gett_gc_code(); |
|
|
|
this.withdrawFee = data; |
|
|
|
}) |
|
|
|
.catch(err => { }); |
|
|
|
@ -721,13 +734,30 @@ export default { |
|
|
|
// let gdata = {bt:this.withdraw.addressType,baddr:this.withdraw.address,bnum:this.withdraw.amount} |
|
|
|
let gdata = {bt:this.withdrawCoin,baddr:this.withdraw.address,bnum:this.withdraw.amount} |
|
|
|
Member.getWdcode(gdata).then(res => { |
|
|
|
// console.log(res, 11111) |
|
|
|
console.log(res, 546576798) |
|
|
|
this.$message({ |
|
|
|
message: `${this.$t("login.sendOK")}`, |
|
|
|
type: "success", |
|
|
|
duration : 2000, |
|
|
|
}); |
|
|
|
}).catch(err=>{ |
|
|
|
this.gett_gc_code(); |
|
|
|
}); |
|
|
|
}, |
|
|
|
// 图形验证码 |
|
|
|
gett_gc_code(){ |
|
|
|
Member.sendGCode().then( (res) =>{ |
|
|
|
this.gc_key = res.key |
|
|
|
this.Graph_che = res.img |
|
|
|
console.log("gc",res); |
|
|
|
this.$message({ |
|
|
|
message: `${type} ${this.$t("login.sendOK")}`, |
|
|
|
type: "success", |
|
|
|
duration : 2000, |
|
|
|
}); |
|
|
|
}).catch( err =>{ |
|
|
|
console.log(err) |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|