diff --git a/pages/reg/index.vue b/pages/reg/index.vue index 1c2e6ac..42a2bf5 100644 --- a/pages/reg/index.vue +++ b/pages/reg/index.vue @@ -56,6 +56,17 @@ + + + {{$t('reg.a2')}} + + + {{$t('homeNewText.ee6')}} @@ -108,17 +119,17 @@ {{$t('common.c13')}} - + - + + - + --> @@ -166,7 +177,8 @@ export default { password_confirmation: "", invite_code: "", gr_code: "", - withdrawal_psw:"" + withdrawal_psw:"", + phone:"" }, captcha: '', Graph_che:'', @@ -210,10 +222,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; + // } if (!this.form.withdrawal_psw) { this.$toast(this.$t('common.c14')); return; @@ -293,7 +305,7 @@ export default { //注册完成后登录 login(){ - let data={type: 2,account:this.form.account,password: this.form.password} + let data={type: 2,account:this.form.account,password: this.form.password,phone: this.form.phone,country_id:this.form.country_id} Member.login(this.form) .then((res) => { this.loginSuccess(res.data);