|
|
|
@ -50,7 +50,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="form-item border-b p-md m-b-md"> |
|
|
|
<view class="form-item border-b p-md m-b-md" v-if="1==='电话'"> |
|
|
|
<view class="label m-b-xs">{{$t('auth.c9')}}</view> |
|
|
|
<view class="input color-light"> |
|
|
|
<v-input v-model="form.phone" :placeholder="$t('auth.d0')"></v-input> |
|
|
|
@ -165,13 +165,13 @@ export default { |
|
|
|
// 认证 |
|
|
|
primaryAuth() { |
|
|
|
let data = this.form; |
|
|
|
if(this.form.phone==""){ |
|
|
|
uni.showToast({ |
|
|
|
title: this.$t('reg.c3'), |
|
|
|
icon: 'none' |
|
|
|
}) |
|
|
|
return; |
|
|
|
} |
|
|
|
// if(this.form.phone==""){ |
|
|
|
// uni.showToast({ |
|
|
|
// title: this.$t('reg.c3'), |
|
|
|
// icon: 'none' |
|
|
|
// }) |
|
|
|
// return; |
|
|
|
// } |
|
|
|
data.country_code = this.activeCountry.country_code; |
|
|
|
Profile.primaryAuth(data,{btn:this.$refs.btn}).then((res) => { |
|
|
|
console.log(res, '-----'); |
|
|
|
|