|
@ -32,7 +32,9 @@ |
|
|
<view class="agreement-box flex_row flex_start"> |
|
|
<view class="agreement-box flex_row flex_start"> |
|
|
<image @click="agreed=!agreed" class="a-icon" src="../../static/images/login/agreed_circle.png" mode="aspectFit" v-if="agreed"></image> |
|
|
<image @click="agreed=!agreed" class="a-icon" src="../../static/images/login/agreed_circle.png" mode="aspectFit" v-if="agreed"></image> |
|
|
<image @click="agreed=!agreed" class="a-icon" src="../../static/images/login/agree_circle.png" mode="aspectFit" v-else></image> |
|
|
<image @click="agreed=!agreed" class="a-icon" src="../../static/images/login/agree_circle.png" mode="aspectFit" v-else></image> |
|
|
我已同意<text @click="jumpAgreement()">《隐私政策》</text>及<text @click="jumpAgreement()">《用户注册服务协议》</text> |
|
|
|
|
|
|
|
|
我已同意 |
|
|
|
|
|
<!-- <text @click="jumpAgreement()">《隐私政策》</text>及 --> |
|
|
|
|
|
<text @click="jumpAgreement()">《用户注册服务协议》</text> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="button-login" hover-class="button-hover" @tap="bindLogin()"> |
|
|
<view class="button-login" hover-class="button-hover" @tap="bindLogin()"> |
|
@ -53,7 +55,7 @@ |
|
|
<script> |
|
|
<script> |
|
|
//没有挂载全局而按需引用接口,可以更清楚知道当前page所用接口 |
|
|
//没有挂载全局而按需引用接口,可以更清楚知道当前page所用接口 |
|
|
import { |
|
|
import { |
|
|
postLogin,postSendSMS,wechatGetPhoneNumberLogin |
|
|
|
|
|
|
|
|
postLogin,postSendSMS,wechatGetPhoneNumberLogin,configGet |
|
|
} from "@/nxTemp/apis/userAPI.js" |
|
|
} from "@/nxTemp/apis/userAPI.js" |
|
|
import {mapActions} from 'vuex' |
|
|
import {mapActions} from 'vuex' |
|
|
export default { |
|
|
export default { |
|
@ -63,7 +65,7 @@ |
|
|
count:60, |
|
|
count:60, |
|
|
code:"", |
|
|
code:"", |
|
|
agreed:false,//是否同意协议 |
|
|
agreed:false,//是否同意协议 |
|
|
login: {//后台让先写死 |
|
|
|
|
|
|
|
|
login: { |
|
|
mobile: '',//手机 |
|
|
mobile: '',//手机 |
|
|
ticket: '',//短信验证码返回的 |
|
|
ticket: '',//短信验证码返回的 |
|
|
verify_code:'',//验证码 |
|
|
verify_code:'',//验证码 |
|
|