|
|
@@ -8,6 +8,18 @@
|
|
|
</view>
|
|
|
<view style="color:#666666;text-align:center;margin-bottom:50upx;font-size:35upx;">销花宝</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:40upx;">
|
|
|
+ <button class="admin-button-com small blue buttonText" @click="loginFun">登陆</button>
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
+
|
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
|
<view style="margin-top:35upx;">
|
|
|
<view style="color:black;font-size:30upx;margin-top:20upx;">这是门店的管理后台,需获取你的手机号登录后</view>
|
|
|
@@ -37,9 +49,8 @@
|
|
|
</checkbox-group>
|
|
|
</view>
|
|
|
<!-- #endif -->
|
|
|
- <view style="margin-top:80upx;color:#999999;width:100%;font-size:35upx;text-align:center;">
|
|
|
- <text @click="useSms()">使用短信方式登录</text>
|
|
|
- <text @click="useAccount()" style="margin-left:30upx;">使用账号密码登录</text>
|
|
|
+ <view style="margin-top:80upx;color:#999999;width:86vw;font-size:35upx;">
|
|
|
+ <text style="float:right;margin-right:35upx;" @click="useAccount()">使用账号密码登录</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -62,7 +73,8 @@ export default {
|
|
|
mobile:'',
|
|
|
password: '',
|
|
|
hasMobileNet:false,
|
|
|
- agree:0
|
|
|
+ agree:0,
|
|
|
+ showAccountLogin:false
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -108,11 +120,10 @@ export default {
|
|
|
goBack(){
|
|
|
uni.navigateBack({})
|
|
|
},
|
|
|
- useSms(){
|
|
|
- this.$util.pageTo({url: "/admin/home/smsLogin",type:2})
|
|
|
- },
|
|
|
useAccount(){
|
|
|
- this.$util.pageTo({url: "/admin/home/pwdLogin",type:2})
|
|
|
+ this.showAccountLogin = true
|
|
|
+ this.agree = 0
|
|
|
+ this.$forceUpdate()
|
|
|
},
|
|
|
goToService(){
|
|
|
plus.runtime.openURL('http://www.wixhb.com/main/xhb-register')
|