Browse Source

添加邀请码和去除手持认证

master
ltlzx 4 years ago
parent
commit
2495a30d04
  1. 4
      i18n/lang/en.json
  2. 4
      i18n/lang/zh-CN.json
  3. 4
      i18n/lang/zh-TW.json
  4. 12
      pages/auth/senior.vue
  5. 16
      pages/reg/index.vue

4
i18n/lang/en.json

@ -380,7 +380,9 @@
"c2": "Please read and agree to the agreement",
"c3": "Please fill in the phone number",
"c4": "Please fill in the mailbox number",
"c5": "Registered successfully"
"c5": "Registered successfully",
"c6":"Invitation code (required)",
"c7":"Please fill in the invitation code"
},
"safe": {
"a0": "Untie",

4
i18n/lang/zh-CN.json

@ -380,7 +380,9 @@
"c2": "请阅读并同意协议",
"c3": "请填写手机号",
"c4": "请填写邮箱号",
"c5": "注册成功"
"c5": "注册成功",
"c6":"邀请码(必填)",
"c7":"请填写邀请码"
},
"safe": {
"a0": "解绑",

4
i18n/lang/zh-TW.json

@ -380,7 +380,9 @@
"c2": "請閱讀並同意協議",
"c3": "請填寫手機號",
"c4": "請填寫郵箱號",
"c5": "註冊成功"
"c5": "註冊成功",
"c6":"邀請碼(必填)",
"c7":"請填寫邀請碼"
},
"safe": {
"a0": "解綁",

12
pages/auth/senior.vue

@ -32,7 +32,7 @@
</div>
</div>
</div>
<div class="form-item p-md m-md ">
<!-- <div class="form-item p-md m-md ">
<div class="color-light p-b-xs">3{{$t('auth.b7')}}</div>
<div class="fn-sm ">{{$t('auth.b8')}}</div>
<div class="d-flex justify-between m-t-md">
@ -47,7 +47,7 @@
<img v-else :src="form.hand_img" alt />
</div>
</div>
</div>
</div> -->
</main>
<div class="p-md">
<v-button block type="green" class="w-max rounded-lg" @click="topAuth" ref="btn">{{$t('common.submit')}}</v-button>
@ -91,10 +91,10 @@ export default {
//
topAuth() {
let data = this.form;
if (!data.hand_img) {
this.$toast(this.$t('auth.b7'));
return;
}
// if (!data.hand_img) {
// this.$toast(this.$t('auth.b7'));
// return;
// }
if (!data.back_img) {
this.$toast(this.$t('auth.c2'));
return;

16
pages/reg/index.vue

@ -109,10 +109,14 @@
:placeholder="$t('reg.b1')"
></v-input>
</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>
</view> -->
<!-- <view class="form-item border-b m-b-md p-b-xs">
<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="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>
</view>
<view class="tips d-flex m-b-md fn-sm">
<van-checkbox
:value="check"
@ -182,6 +186,10 @@ export default {
}
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