Browse Source

注册隐藏邀请码

master
liaoxinyu 8 months ago
parent
commit
d4045ed4b9
  1. 12
      pages/reg/index.vue

12
pages/reg/index.vue

@ -126,9 +126,9 @@
<v-input class="color-light" v-model="form.invitationCode" type="password" :placeholder="$t('reg.c7')"></v-input>
</view> -->
<view class="form-item m-b-md p-b-xs" v-if="showInvite_code">
<view class="label m-b-xs color-light">{{$t('reg.c6')}}</view>
<!-- <view class="label m-b-xs color-light">{{$t('reg.c6')}}</view> -->
<!-- <v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.c7')}(${$t('reg.b4')})`"></v-input> -->
<v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.c7')}`"></v-input>
<!-- <v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.c7')}`"></v-input> -->
</view>
<view class="tips d-flex m-b-lg fn-sm">
<van-checkbox
@ -210,10 +210,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;

Loading…
Cancel
Save