Browse Source

去掉提币图形验证

master
luyisha 2 years ago
parent
commit
a747dffaae
  1. 18
      pages/assets/draw.vue

18
pages/assets/draw.vue

@ -117,10 +117,10 @@
</v-input> </v-input>
</view> </view>
<!-- 图形验证码 --> <!-- 图形验证码 -->
<view class="d-flex align-center p-y-xs m-t-ms justify-between color-light fn-15"> <view class="d-flex align-center p-y-xs m-t-ms justify-between color-light fn-15" v-if="0">
<span>{{ $t("common.GraphicValidation") }}</span> <span>{{ $t("common.GraphicValidation") }}</span>
</view> </view>
<view class="d-flex align-end p-y-xs justify-between bg-form-panel-3 rounded-xs p-y-sm"> <view class="d-flex align-end p-y-xs justify-between bg-form-panel-3 rounded-xs p-y-sm" v-if="0">
<v-input class="color-light" v-model="form.gr_code" :placeholder="$t('common.GraphicValidation')"> <v-input class="color-light" v-model="form.gr_code" :placeholder="$t('common.GraphicValidation')">
<template #right> <template #right>
<img :src="Graph_che" @click="gett_gc_code" v-if="!hideImg"> <img :src="Graph_che" @click="gett_gc_code" v-if="!hideImg">
@ -345,10 +345,10 @@ export default {
this.$toast(this.$t('reg.a9')) this.$toast(this.$t('reg.a9'))
return return
} }
if (!this.form.gr_code) { // if (!this.form.gr_code) {
this.$toast(this.$t('common.GraphicValidation')) // this.$toast(this.$t('common.GraphicValidation'))
return // return
} // }
if(this.getEmailCodeLock){return}; if(this.getEmailCodeLock){return};
this.JStime = 300; this.JStime = 300;
this.tiemr = setInterval(()=>{ this.tiemr = setInterval(()=>{
@ -416,7 +416,7 @@ export default {
this.form.code = '' this.form.code = ''
if (res.code == 4001) { if (res.code == 4001) {
this.$toast(res.message); this.$toast(res.message);
this.reGetGraphChe();// // this.reGetGraphChe();//
} else { } else {
this.$toast.success(this.$t("assets.d5") + "!"); this.$toast.success(this.$t("assets.d5") + "!");
this.form.amount = '' this.form.amount = ''
@ -472,7 +472,7 @@ export default {
// //
reGetGraphChe(){ reGetGraphChe(){
this.hideImg = true; this.hideImg = true;
this.gett_gc_code(); // this.gett_gc_code();
}, },
gett_gc_code(){ gett_gc_code(){
Member.Graph_che().then((res)=>{ Member.Graph_che().then((res)=>{
@ -486,7 +486,7 @@ export default {
}, },
created() { created() {
this.getWithdrawRecords(); this.getWithdrawRecords();
this.gett_gc_code(); // this.gett_gc_code();
}, },
}; };
</script> </script>

Loading…
Cancel
Save