瀏覽代碼

登录优化

shish 1 年之前
父節點
當前提交
f6d835d4f2
共有 2 個文件被更改,包括 16 次插入2 次删除
  1. 6 0
      ghsApp/src/admin/home/login.vue
  2. 10 2
      hdApp/src/admin/home/login.vue

+ 6 - 0
ghsApp/src/admin/home/login.vue

@@ -24,6 +24,9 @@
 				<view style="margin-top:35upx;">
 				<view style="margin-top:35upx;">
 				<button class="admin-button-com small buttonText" open-type="getPhoneNumber" @getphonenumber="wxPhoneLogin"
 				<button class="admin-button-com small buttonText" open-type="getPhoneNumber" @getphonenumber="wxPhoneLogin"
 				style="background-color:#2BA245;border-color:#2BA245;color:white;height:120upx;line-height:120upx;">手机号快捷登录</button>
 				style="background-color:#2BA245;border-color:#2BA245;color:white;height:120upx;line-height:120upx;">手机号快捷登录</button>
+					<view style="color:black;font-size:30upx;margin-top:30upx;">这是批发店管理后台,需获取你的手机号登录后</view>
+					<view style="color:black;font-size:30upx;margin-top:15upx;">才能使用相应功能,请谅解</view>
+					<view style="color:black;font-size:30upx;margin-top:15upx;">如不需要,可以点击<text style="color:#3385FF;font-size:36upx;" @click="goBack()">拒绝</text>,取消使用</view>
 				</view>
 				</view>
 				<!-- #endif -->
 				<!-- #endif -->
 				<!-- #ifdef APP-PLUS -->
 				<!-- #ifdef APP-PLUS -->
@@ -114,6 +117,9 @@ export default {
 	},
 	},
 	methods: {
 	methods: {
 		...mapActions(['setUserShopAll']),
 		...mapActions(['setUserShopAll']),
+		goBack(){
+			uni.navigateBack({})
+		},
 		useAccount(){
 		useAccount(){
 			this.showAccountLogin = true
 			this.showAccountLogin = true
 			this.agree = 0
 			this.agree = 0

+ 10 - 2
hdApp/src/admin/home/login.vue

@@ -24,6 +24,11 @@
 				<view style="margin-top:55upx;">
 				<view style="margin-top:55upx;">
 				<button class="admin-button-com small buttonText" style="background-color:#2BA245;border-color:#2BA245;color:white;height:120upx;line-height:120upx;"
 				<button class="admin-button-com small buttonText" style="background-color:#2BA245;border-color:#2BA245;color:white;height:120upx;line-height:120upx;"
 				open-type="getPhoneNumber" @getphonenumber="wxPhoneLogin">手机号快捷登录</button>
 				open-type="getPhoneNumber" @getphonenumber="wxPhoneLogin">手机号快捷登录</button>
+
+					<view style="color:black;font-size:30upx;margin-top:30upx;">这是花店管理后台,需获取你的手机号登录后</view>
+					<view style="color:black;font-size:30upx;margin-top:15upx;">才能使用相应功能,请谅解</view>
+					<view style="color:black;font-size:30upx;margin-top:15upx;">如不需要,可以点击<text style="color:#3385FF;font-size:36upx;" @click="goBack()">拒绝</text>,取消使用</view>
+
 				</view>
 				</view>
 				<!-- #endif -->
 				<!-- #endif -->
 				<!-- #ifdef APP-PLUS -->
 				<!-- #ifdef APP-PLUS -->
@@ -47,12 +52,12 @@
 				</view>
 				</view>
 				<!-- #endif -->
 				<!-- #endif -->
 				<!-- #ifdef MP-WEIXIN -->
 				<!-- #ifdef MP-WEIXIN -->
-				<view style="margin-top:45upx;color:red;font-size:34upx;width:100%;text-align:right;padding-right:70upx;">
+				<view style="margin-top:85upx;color:red;font-size:34upx;width:100%;text-align:right;padding-right:70upx;">
 					<text @click="pageTo({url:'/admin/home/loginRemind'})" >登录遇到了问题?点这里</text>
 					<text @click="pageTo({url:'/admin/home/loginRemind'})" >登录遇到了问题?点这里</text>
 				</view>
 				</view>
 				<!-- #endif -->
 				<!-- #endif -->
 				<!-- #ifdef APP-PLUS -->
 				<!-- #ifdef APP-PLUS -->
-				<view style="margin-top:45upx;color:red;font-size:34upx;width:100%;text-align:right;padding-right:70upx;">
+				<view style="margin-top:85upx;color:red;font-size:34upx;width:100%;text-align:right;padding-right:70upx;">
 					<text @click="pageTo({url:'/admin/home/appLoginRemind'})" >登录失败?请点击这里解决</text>
 					<text @click="pageTo({url:'/admin/home/appLoginRemind'})" >登录失败?请点击这里解决</text>
 				</view>
 				</view>
 				<!-- #endif -->
 				<!-- #endif -->
@@ -132,6 +137,9 @@ export default {
 			let ghsShopId = this.option.ghsShopId ? this.option.ghsShopId : 0
 			let ghsShopId = this.option.ghsShopId ? this.option.ghsShopId : 0
 			this.pageTo({url:'/pagesClient/official/apply?itemId='+itemId+'&ghsShopId='+ghsShopId,type:2})
 			this.pageTo({url:'/pagesClient/official/apply?itemId='+itemId+'&ghsShopId='+ghsShopId,type:2})
 		},
 		},
+		goBack(){
+			uni.navigateBack({})
+		},
 		useAccount(){
 		useAccount(){
 			this.showAccountLogin = true
 			this.showAccountLogin = true
 			this.agree = 0
 			this.agree = 0