From 71e646d00526416df54e213b5d026d265a07fcca Mon Sep 17 00:00:00 2001 From: luyisha Date: Wed, 6 Sep 2023 18:08:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8F=90=E5=B8=81=E3=80=81?= =?UTF-8?q?=E6=B3=A8=E5=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/assets/draw.vue | 21 ++++++++++++++++++--- pages/reg/index.vue | 18 +++++++++++------- 2 files changed, 29 insertions(+), 10 deletions(-) diff --git a/pages/assets/draw.vue b/pages/assets/draw.vue index 35c0493..9cf5672 100644 --- a/pages/assets/draw.vue +++ b/pages/assets/draw.vue @@ -15,7 +15,7 @@ {{$t('recharge.a0')}} - + + + {{ $t("reg.a8") }}: + + + + + + + +
    @@ -194,7 +204,8 @@ export default { address: "", addressType: "", code_type: 1, - code: '' + code: '', + password: '' }, withdrawFee: {}, list: [], @@ -269,9 +280,13 @@ export default { this.$toast(this.$t('assets.c2')) return } + if(!this.form.password){ + this.$toast(this.$t('reg.a9')) + return + } let data = this.withdrawFee if (data.withdraw_switch == 1) { - this.secondaryShow = true + this.secondaryShow = true if (data.google_status == 1) { this.form.code_type = 3; } else if (data.phone_status == 1) { diff --git a/pages/reg/index.vue b/pages/reg/index.vue index 006d6ab..c9a4870 100644 --- a/pages/reg/index.vue +++ b/pages/reg/index.vue @@ -113,7 +113,7 @@ {{$t('reg.c6')}} --> - + {{$t('reg.c6')}} @@ -162,7 +162,8 @@ export default { }, check: false, agreement: {}, - country_code:'' + country_code:'', + showInvite_code: true, }; }, @@ -187,10 +188,10 @@ export default { } return; } - // if (!this.form.invite_code) { - // this.$toast(this.$t('reg.c7')); - // return; - // } + if (!this.form.invite_code) { + this.$toast(this.$t('reg.c7')); + return; + } this.form.type=this.form.type this.form.country_code = this.country_code || 86; @@ -259,7 +260,10 @@ export default { }, onLoad(query){ this.query = query - this.form.invite_code = this.query.invite_code||this.form.invite_code + this.form.invite_code = this.query.invite_code||this.form.invite_code; + if(this.query.invite_code){ + this.showInvite_code = false; + } }, created() { this.clause();