|
|
|
@ -113,7 +113,7 @@ |
|
|
|
<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" v-if="0"> |
|
|
|
<view class="form-item border-b m-b-md p-b-xs" v-if="showInvite_code"> |
|
|
|
<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> |
|
|
|
@ -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(); |
|
|
|
|