|
|
|
@ -55,17 +55,6 @@ |
|
|
|
<v-input class="login_box3" v-model="form.account" :placeholder="$t('reg.a5')"></v-input> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
<view class="form-item m-b-md p-b-xs"> |
|
|
|
<view> |
|
|
|
<view class="label m-b-xs">{{$t('reg.a2')}}</view> |
|
|
|
<v-input v-model="form.phone" class="color-light login_box3" :placeholder="$t('reg.a3')"> |
|
|
|
<template #left> |
|
|
|
<v-country ref="country" style="width: 80rpx;height: 40rpx;border: 1px solid #ccc;text-align: center;line-height: 40rpx;" |
|
|
|
@country_code="country_code=$event" class="m-r-xs" v-model="form.country_id" /> |
|
|
|
</template> |
|
|
|
</v-input> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!--图形验证码--> |
|
|
|
<view class="form-item m-b-md p-b-xs" > |
|
|
|
@ -305,7 +294,7 @@ export default { |
|
|
|
|
|
|
|
//注册完成后登录 |
|
|
|
login(){ |
|
|
|
let data={type: 2,account:this.form.account,password: this.form.password,phone: this.form.phone,country_id:this.form.country_id} |
|
|
|
let data={type: 2,account:this.form.account,password: this.form.password} |
|
|
|
Member.login(this.form) |
|
|
|
.then((res) => { |
|
|
|
this.loginSuccess(res.data); |
|
|
|
|