From f018d9c7cbea52bd3aed4ddd1d31ce56cea92949 Mon Sep 17 00:00:00 2001 From: luyisha Date: Tue, 31 Oct 2023 18:52:52 +0800 Subject: [PATCH] 1 --- layout/vCode.vue | 13 +++++-------- pages/base/home.vue | 19 +++++++++++++------ pages/safe/forget-password.vue | 8 ++++---- pages/safe/login-password.vue | 18 +++++++++--------- 4 files changed, 31 insertions(+), 27 deletions(-) diff --git a/layout/vCode.vue b/layout/vCode.vue index d4ed9b8..c4b719c 100644 --- a/layout/vCode.vue +++ b/layout/vCode.vue @@ -76,15 +76,12 @@ export default { if (this.load) return; this.inSend = true; serve.post(this.url, this.data) - .then(() => { - if(res.code!='200'){//4001|1004 + .then((res) => { + if(res.code!=200){//4001|1004 this.inSend = false - // 如果返回错误码 - if(this.url=='/register/sendEmailCode'){ - // 如果获取验证码的接口要求填写图形验证码 - // 图形重新获取一次 - this.$emit('reGetGraphChe') - } + // 如果返回错误码,图形重新获取一次 + this.$emit('reGetGraphChe') + }else{ this.inSend = false; this.load = true; diff --git a/pages/base/home.vue b/pages/base/home.vue index 31d7b27..4d5f40f 100644 --- a/pages/base/home.vue +++ b/pages/base/home.vue @@ -349,9 +349,9 @@ {{ $t("homeNewText.cc8") }} - App Store - Android - Google Play + App Store + Android + Google Play @@ -390,7 +390,7 @@ {{ $t("homeNewText.aa3") }} - + {{ $t("homeNewText.aa4") }} @@ -734,8 +734,7 @@ export default { }, goExchange() { this.show = false; - // this.tabChange('exchange-operation') - this.tabChange('mine') + this.tabChange('exchange-operation') }, goReg(){ uni.navigateTo({ @@ -1005,6 +1004,14 @@ export default { this.detail = res.data }) }, + toDwon(){ + // #ifdef APP + // plus. + // #endif + // #ifdef H5 + window.open('https://app.ajcoins.com/download/index.html', '_blank')// 打开一个新标签 + // #endif + } }, mounted() { this.onRefresh(); diff --git a/pages/safe/forget-password.vue b/pages/safe/forget-password.vue index e7e1a45..b616448 100644 --- a/pages/safe/forget-password.vue +++ b/pages/safe/forget-password.vue @@ -24,7 +24,7 @@ {{$t('common.GraphicValidation')}} - + @@ -44,11 +44,11 @@ - {{$t('safe.a5')}}AA + {{$t('safe.a5')}} @@ -82,7 +82,7 @@ export default { password: "", password_confirmation: "", show:false, - gr_code: '' + gc_code: '' }, checkData: {}, Graph_che:'', diff --git a/pages/safe/login-password.vue b/pages/safe/login-password.vue index 5f302db..a987545 100644 --- a/pages/safe/login-password.vue +++ b/pages/safe/login-password.vue @@ -21,15 +21,15 @@ - - {{$t('common.GraphicValidation')}} - - - - - + + {{$t('common.GraphicValidation')}} + + + + + SMS{{$t('safe.a7')}}