|
|
|
@ -111,7 +111,7 @@ |
|
|
|
</view> |
|
|
|
<view class="form-item border-b m-b-md p-b-xs"> |
|
|
|
<view class="label m-b-xs">{{$t('reg.b2')}}</view> |
|
|
|
<v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.b3')}(${$t('reg.b4')})`"></v-input> |
|
|
|
<v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.b3')}`"></v-input> |
|
|
|
</view> |
|
|
|
<view class="tips d-flex m-b-md fn-sm"> |
|
|
|
<van-checkbox |
|
|
|
@ -165,15 +165,18 @@ export default { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
register() { |
|
|
|
if (!this.form.account) { |
|
|
|
this.$toast(this.$t('reg.a3')); |
|
|
|
return; |
|
|
|
} |
|
|
|
if (!this.form.account) { |
|
|
|
this.$toast(this.$t('reg.a3')); |
|
|
|
return; |
|
|
|
} |
|
|
|
if (!this.check) { |
|
|
|
this.$toast(this.$t('reg.c2')); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if (!this.form.invite_code) { |
|
|
|
this.$toast(this.$t('reg.c7')); |
|
|
|
return; |
|
|
|
} |
|
|
|
if (!this.form.account) { |
|
|
|
if (this.form.type == 1) { |
|
|
|
this.$toast(this.$t('reg.c3')); |
|
|
|
|