shish 4 лет назад
Родитель
Сommit
b50f21fe1a
2 измененных файлов с 8 добавлено и 7 удалено
  1. 2 2
      ghsApp/src/admin/home/login.vue
  2. 6 5
      hdApp/src/admin/home/login.vue

+ 2 - 2
ghsApp/src/admin/home/login.vue

@@ -137,7 +137,7 @@ export default {
 			let that = this
 
 			// if(this.hasMobileNet == false){
-			// 	that.$msg('请关闭wifi,打开移动流量,再登录')
+			// 	that.$msg('请关闭wifi,打开流量,再登录')
 			// 	return
 			// }
 
@@ -197,7 +197,7 @@ export default {
 							uni.closeAuthView()
 							console.log(res)
 							setTimeout(function(){
-								uni.showToast({ title: '登录失败,请打开移动流量,关闭wifi,再登录', duration: 3000, icon:'none' })
+								uni.showToast({ title: '登录失败,请打开流量,关闭wifi,再登录', duration: 3000, icon:'none' })
 							},1000)
 
 						},

+ 6 - 5
hdApp/src/admin/home/login.vue

@@ -13,8 +13,8 @@
 				<view>
 				<input @focus="password=''" v-model="password" class="experInput" placeholder="密码" type="password" />
 				</view>
-				<view style="margin-top:50upx;">
-				<button class="admin-button-com small default buttonText" @click="loginFun">登陆</button>
+				<view style="margin-top:40upx;">
+				<button class="admin-button-com small blue buttonText" @click="loginFun">登陆</button>
 				</view>
 				<!-- #ifdef MP-WEIXIN -->
 				<view style="margin-top:35upx;">
@@ -23,7 +23,7 @@
 				</view>
 				<!-- #endif -->
 				<!-- #ifdef APP-PLUS -->
-				<view style="margin-top:35upx;">
+				<view style="margin-top:55upx;">
 				<button class="admin-button-com small blue buttonText" @click="mobileLogin">本机号码一键登录</button>
 				</view>
 				<!-- #endif -->
@@ -138,7 +138,7 @@ export default {
 			let that = this
 
 			// if(this.hasMobileNet == false){
-			// 	that.$msg('请关闭wifi,打开移动流量,再登录')
+			// 	that.$msg('请关闭wifi,打开流量,再登录')
 			// 	return
 			// }
 
@@ -194,9 +194,10 @@ export default {
 							// 登录失败
 							//关闭一键登录弹出窗口
 							uni.closeAuthView()
+							uni.hideLoading()
 							console.log(res)
 							setTimeout(function(){
-								uni.showToast({ title: '登录失败,请打开移动流量,关闭wifi,再登录', duration: 3000, icon:'none' })
+								uni.showToast({ title: '登录失败,请打开流量,关闭wifi,再登录', duration: 3000, icon:'none' })
 							},1000)
 						},
 						complete: (res) => {