Ver código fonte

登录问题优化

shish 3 anos atrás
pai
commit
6b919650fe

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

@@ -46,10 +46,12 @@
 					</radio-group>
 				</view>
 				<!-- #endif -->
-
-				<view style="margin-top:60upx;color:#999999;width:88%;font-size:34upx;">
-					<text style="float:right;" @click="pageTo({url: '/pagesClient/official/apply',type:2})">注册帐号</text>
-					<text style="float:right;margin-right:25upx;" @click="showAccountLogin=true">使用账号密码登录</text>
+				<view style="margin-top:45upx;color:red;font-size:34upx;width:100%;text-align:right;padding-right:70upx;">
+					<text @click="pageTo({url:'/admin/home/loginRemind'})" >登录遇到了问题?点这里</text>
+				</view>
+				<view style="margin-top:45upx;color:#333333;font-size:34upx;width:100%;text-align:right;padding-right:70upx;">
+					<text style="margin-right:40upx;" @click="showAccountLogin=true">使用账号密码登录</text>
+					<text @click="pageTo({url:'/pagesClient/official/apply',type:2})">注册帐号</text>
 				</view>
 			</view>
 			</view>

+ 67 - 0
hdApp/src/admin/home/loginRemind.vue

@@ -0,0 +1,67 @@
+<template>
+	<view class="app-content">
+		<view class="list">
+			<view>
+				<view class="video">
+                    <video id="myVideo" :src="`${constant.imgUrl}/loginremind.mp4`" :autoplay="true" object-fit="contain" style="width:700upx;height:900upx;"></video>
+                </view>
+			</view>
+		</view>
+		<view style="text-align:center;margin-top:30upx;">
+			<button class="admin-button-com big blue go-back" @click="goBack()">返回</button>
+		</view>
+	</view>
+</template>
+<script>
+export default {
+	name: "loginRemind",
+	components: {
+	},
+	mixins: [],
+	data() {
+		return {
+		};
+	},
+	methods: {
+		goBack(){
+			uni.navigateBack()
+		}
+	},
+};
+</script>
+<style lang="scss" scoped>
+.app-content{
+	padding:20upx 20upx 60upx 20upx;
+    .title{
+		font-weight: bold;
+		font-size:40upx;
+		margin-bottom:22upx;
+	}
+	.smallTitle{
+		font-weight: bold;
+		font-size:30upx;
+		font-weight: bold;
+		margin:25upx 0 25upx 0;
+	}
+	.info{
+    	font-size:30upx;
+		margin-bottom:20upx;
+	}
+	.image{
+		width:100%;
+		margin-bottom:20upx;
+	}
+	.video{
+		margin:0 auto;
+        text-align: center;
+		margin-bottom:10upx;
+	}
+	.book-button{
+		margin-bottom:15upx;
+	}
+	.go-back{
+		margin:0 auto;
+		width:260upx;
+	}
+}
+</style>

+ 1 - 0
hdApp/src/pages.json

@@ -2,6 +2,7 @@
 	"pages": [
 		{ "path": "admin/home/workbench", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": true } },
 		{ "path": "admin/home/login","style": {"navigationBarTitleText": "","enablePullDownRefresh": false}},
+		{ "path": "admin/home/loginRemind","style": {"navigationBarTitleText": "登录提示","enablePullDownRefresh": false}},
 		{ "path": "admin/home/order", "style": { "navigationBarTitleText": "订单", "enablePullDownRefresh": true } },
 		{ "path": "admin/home/member", "style": { "navigationBarTitleText": "客户", "enablePullDownRefresh": true } },
 		{ "path": "admin/home/apply", "style": { "navigationBarTitleText": "应用", "enablePullDownRefresh": true } },