|
|
|
@ -70,26 +70,26 @@ |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
<!--图形验证码--> |
|
|
|
<view class="form-item border-b m-b-md p-b-xs" v-if="0"> |
|
|
|
<view class="label m-b-xs">{{$t('homeNewText.ee6')}}</view> |
|
|
|
<v-input class="color-light" v-model="form.gr_code" :placeholder="$t('homeNewText.ee6')"> |
|
|
|
<template #right> |
|
|
|
<!-- 邮箱 --> |
|
|
|
<!--<img :src="'api/app/register/Graph_che?'+Math.random()" @click="refreshCaptcha">--> |
|
|
|
<img :src="Graph_che" @click="gett_gc_code"> |
|
|
|
<!--<v-code--> |
|
|
|
<!-- url="/register/sendEmailCode"--> |
|
|
|
<!-- :data="{--> |
|
|
|
<!-- email:form.account,--> |
|
|
|
<!-- type:1--> |
|
|
|
<!--}"--> |
|
|
|
<!-- v-show="form.type==2"--> |
|
|
|
<!--></v-code>--> |
|
|
|
</template> |
|
|
|
</v-input> |
|
|
|
<!--<img src="https://xmg.xuscoins.com/api/app/register/Graph_che?0.5386844216396525"/>--> |
|
|
|
</view> |
|
|
|
<!--图形验证码--> |
|
|
|
<view class="form-item border-b m-b-md p-b-xs"> |
|
|
|
<view class="label m-b-xs">{{$t('homeNewText.ee6')}}</view> |
|
|
|
<v-input class="color-light" v-model="form.gr_code" :placeholder="$t('homeNewText.ee6')"> |
|
|
|
<template #right> |
|
|
|
<!-- 邮箱 --> |
|
|
|
<!--<img :src="'api/app/register/Graph_che?'+Math.random()" @click="refreshCaptcha">--> |
|
|
|
<img :src="Graph_che" @click="gett_gc_code" v-if="!hideImg"> |
|
|
|
<!--<v-code--> |
|
|
|
<!-- url="/register/sendEmailCode"--> |
|
|
|
<!-- :data="{--> |
|
|
|
<!-- email:form.account,--> |
|
|
|
<!-- type:1--> |
|
|
|
<!--}"--> |
|
|
|
<!-- v-show="form.type==2"--> |
|
|
|
<!--></v-code>--> |
|
|
|
</template> |
|
|
|
</v-input> |
|
|
|
<!--<img src="https://xmg.xuscoins.com/api/app/register/Graph_che?0.5386844216396525"/>--> |
|
|
|
</view> |
|
|
|
<view class="form-item border-b m-b-md p-b-xs"> |
|
|
|
<view class="label m-b-xs">{{$t('reg.a6')}}</view> |
|
|
|
<v-input class="color-light" v-model="form.code" :placeholder="$t('reg.a7')"> |
|
|
|
@ -109,12 +109,12 @@ |
|
|
|
url="/register/sendEmailCode" |
|
|
|
:data="{ |
|
|
|
email:form.account, |
|
|
|
type:1 |
|
|
|
type:1, |
|
|
|
gc_code: form.gr_code, |
|
|
|
gc_key: gc_key |
|
|
|
}" |
|
|
|
v-show="form.type==2" |
|
|
|
@changeSLider="changeSLider" |
|
|
|
:sendAAA="sendAAA" |
|
|
|
@changeSendAAA="sendAAA = false" |
|
|
|
@reGetGraphChe="reGetGraphChe" |
|
|
|
></v-code> |
|
|
|
</template> |
|
|
|
</v-input> |
|
|
|
@ -194,15 +194,16 @@ export default { |
|
|
|
agreement: {}, |
|
|
|
country_code:'', |
|
|
|
|
|
|
|
showVerify:false, |
|
|
|
imgs:[{ |
|
|
|
src:'/static/verify/0.jpeg', |
|
|
|
color:'#38a7b7' |
|
|
|
},{ |
|
|
|
src:'/static/verify/1.jpeg', |
|
|
|
color:'#485967' |
|
|
|
}], |
|
|
|
sendAAA: false, |
|
|
|
showVerify:false, |
|
|
|
imgs:[{ |
|
|
|
src:'/static/verify/0.jpeg', |
|
|
|
color:'#38a7b7' |
|
|
|
},{ |
|
|
|
src:'/static/verify/1.jpeg', |
|
|
|
color:'#485967' |
|
|
|
}], |
|
|
|
sendAAA: false, |
|
|
|
hideImg: false |
|
|
|
}; |
|
|
|
|
|
|
|
}, |
|
|
|
@ -282,9 +283,17 @@ export default { |
|
|
|
console.log(error); |
|
|
|
}); |
|
|
|
}, |
|
|
|
// 重新请求图形验证码 |
|
|
|
reGetGraphChe(){ |
|
|
|
this.hideImg = true; |
|
|
|
this.gett_gc_code(); |
|
|
|
}, |
|
|
|
|
|
|
|
gett_gc_code(){ |
|
|
|
Member.Graph_che().then((res)=>{ |
|
|
|
if(res.code==200){ |
|
|
|
this.hideImg = false; |
|
|
|
} |
|
|
|
console.log("gc",res.data.img) |
|
|
|
this.Graph_che = res.data.img; |
|
|
|
this.gc_key= res.data.key; |
|
|
|
|