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();