|
@@ -6,19 +6,19 @@
|
|
|
<view style="text-align:center;margin-bottom:20upx;">
|
|
<view style="text-align:center;margin-bottom:20upx;">
|
|
|
<image :src="`${constant.imgUrl}/logo4.png`" class="logo" mode="widthFix"></image>
|
|
<image :src="`${constant.imgUrl}/logo4.png`" class="logo" mode="widthFix"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view style="color:#666666;text-align:center;margin-bottom:20upx;font-size:35upx;">花掌柜</view>
|
|
|
|
|
|
|
+ <view style="color:#666666;text-align:center;margin-bottom:10upx;font-size:35upx;margin-top:10upx;">花掌柜</view>
|
|
|
|
|
|
|
|
-<template v-if="showAccountLogin">
|
|
|
|
|
- <view>
|
|
|
|
|
- <input @focus="mobile=''" v-model="mobile" class="experInput" placeholder="手机号" type="number" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view>
|
|
|
|
|
- <input @focus="password=''" v-model="password" class="experInput" placeholder="密码" type="password" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view style="margin-top:10upx;">
|
|
|
|
|
- <button class="admin-button-com small blue buttonText" @click="loginFun">登陆</button>
|
|
|
|
|
- </view>
|
|
|
|
|
-</template>
|
|
|
|
|
|
|
+ <template v-if="showAccountLogin">
|
|
|
|
|
+ <view>
|
|
|
|
|
+ <input @focus="mobile=''" v-model="mobile" class="experInput" placeholder="手机号" type="number" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view>
|
|
|
|
|
+ <input @focus="password=''" v-model="password" class="experInput" placeholder="密码" type="password" />
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view style="margin-top:0upx;">
|
|
|
|
|
+ <button class="admin-button-com small blue buttonText" @click="loginFun">登陆</button>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </template>
|
|
|
|
|
|
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
|
<view style="margin-top:55upx;">
|
|
<view style="margin-top:55upx;">
|
|
@@ -36,10 +36,9 @@
|
|
|
<button class="admin-button-com small blue buttonText" @click="mobileLogin">本机号码一键登录</button>
|
|
<button class="admin-button-com small blue buttonText" @click="mobileLogin">本机号码一键登录</button>
|
|
|
</view>
|
|
</view>
|
|
|
<!-- #endif -->
|
|
<!-- #endif -->
|
|
|
- <!-- #ifdef APP-PLUS -->
|
|
|
|
|
<view style="color:#999999;font-size:25upx;margin-top:60upx;">
|
|
<view style="color:#999999;font-size:25upx;margin-top:60upx;">
|
|
|
<checkbox-group @change="agreeItem">
|
|
<checkbox-group @change="agreeItem">
|
|
|
- <label>
|
|
|
|
|
|
|
+ <label style="display:flex;align-items:center;justify-content:center;">
|
|
|
<checkbox value="1" style="transform:scale(0.8)" :checked="agree == 1" />
|
|
<checkbox value="1" style="transform:scale(0.8)" :checked="agree == 1" />
|
|
|
<text>
|
|
<text>
|
|
|
我已阅读并同意
|
|
我已阅读并同意
|
|
@@ -50,7 +49,6 @@
|
|
|
</label>
|
|
</label>
|
|
|
</checkbox-group>
|
|
</checkbox-group>
|
|
|
</view>
|
|
</view>
|
|
|
- <!-- #endif -->
|
|
|
|
|
<view style="margin-top:45upx;color:#333333;font-size:38upx;width:100%;text-align:right;padding-right:70upx;">
|
|
<view style="margin-top:45upx;color:#333333;font-size:38upx;width:100%;text-align:right;padding-right:70upx;">
|
|
|
<text style="margin-right:40upx;" @click="useAccount()">使用账号密码登录</text>
|
|
<text style="margin-right:40upx;" @click="useAccount()">使用账号密码登录</text>
|
|
|
<text @click="register">注册账号</text>
|
|
<text @click="register">注册账号</text>
|
|
@@ -138,10 +136,10 @@ export default {
|
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|
|
|
},
|
|
},
|
|
|
goToService(){
|
|
goToService(){
|
|
|
- plus.runtime.openURL('http://www.wixhb.com/main/hzg-register')
|
|
|
|
|
|
|
+ this.$util.pageTo({ url: "/admin/home/register"})
|
|
|
},
|
|
},
|
|
|
goToPrivacy(){
|
|
goToPrivacy(){
|
|
|
- plus.runtime.openURL('http://www.wixhb.com/main/hzg-privacy')
|
|
|
|
|
|
|
+ this.$util.pageTo({ url: "/admin/home/privacy"})
|
|
|
},
|
|
},
|
|
|
agreeItem(e){
|
|
agreeItem(e){
|
|
|
let arr = e.target.value
|
|
let arr = e.target.value
|