Browse Source

注册不显示推荐码

master
luyisha 3 years ago
parent
commit
dc23afb8a6
  1. 12
      pages/reg/index.vue

12
pages/reg/index.vue

@ -113,10 +113,10 @@
<view class="label m-b-xs">{{$t('reg.c6')}}</view>
<v-input class="color-light" v-model="form.invitationCode" type="password" :placeholder="$t('reg.c7')"></v-input>
</view> -->
<view class="form-item border-b m-b-md p-b-xs">
<view class="form-item border-b m-b-md p-b-xs" v-if="0">
<view class="label m-b-xs">{{$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-md fn-sm">
<van-checkbox
@ -187,10 +187,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