|
|
@@ -27,6 +27,7 @@
|
|
|
<button class="admin-button-com small blue buttonText" @click="mobileLogin">本机号码一键登录</button>
|
|
|
</view>
|
|
|
<!-- #endif -->
|
|
|
+ <!-- #ifdef APP-PLUS -->
|
|
|
<view style="color:#999999;font-size:25upx;margin-top:60upx;">
|
|
|
<radio-group @change="agreeItem">
|
|
|
<label>
|
|
|
@@ -40,6 +41,7 @@
|
|
|
</label>
|
|
|
</radio-group>
|
|
|
</view>
|
|
|
+ <!-- #endif -->
|
|
|
<view style="margin-top:60upx;color:#999999;width:88%;font-size:30upx;">
|
|
|
<text style="float:right;" @click="pageTo({url: '/pagesClient/official/apply',type:2})">注册帐号</text>
|
|
|
</view>
|
|
|
@@ -201,10 +203,12 @@ export default {
|
|
|
mobileLogin(){
|
|
|
let that = this
|
|
|
|
|
|
+ // #ifdef APP-PLUS
|
|
|
if(this.agree == 0){
|
|
|
this.$msg('请同意并勾选服务协议和隐私政策')
|
|
|
return false
|
|
|
}
|
|
|
+ // #endif
|
|
|
|
|
|
uni.showLoading({mask:true})
|
|
|
uni.preLogin({
|
|
|
@@ -294,10 +298,12 @@ export default {
|
|
|
let that = this
|
|
|
let mobile = this.mobile
|
|
|
let password = this.password
|
|
|
+ // #ifdef APP-PLUS
|
|
|
if(that.agree == 0){
|
|
|
this.$msg('请同意并勾选服务协议和隐私政策')
|
|
|
return false
|
|
|
}
|
|
|
+ // #endif
|
|
|
if (that.$util.isEmpty(mobile)) {
|
|
|
this.$msg('请输入手机号')
|
|
|
return false
|