|
|
|
@ -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"> |
|
|
|
<view class="form-item border-b m-b-md p-b-xs" v-if="showInvite"> |
|
|
|
<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: false |
|
|
|
}; |
|
|
|
|
|
|
|
}, |
|
|
|
@ -258,8 +259,14 @@ export default { |
|
|
|
|
|
|
|
}, |
|
|
|
onLoad(query){ |
|
|
|
this.query = query |
|
|
|
this.query = query; |
|
|
|
console.log(this.query); |
|
|
|
this.form.invite_code = this.query.invite_code||this.form.invite_code |
|
|
|
if(this.query.invite_code){ |
|
|
|
this.showInvite = false; |
|
|
|
}else{ |
|
|
|
this.showInvite = true; |
|
|
|
} |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.clause(); |
|
|
|
|