浏览代码

孙洋洋

syyang 2 年之前
父节点
当前提交
68f8229bfa

+ 4 - 1
leiSP-admin/src/main/resources/static/css/style.css

@@ -8443,4 +8443,7 @@ color: #FFFFFF;
 
 #layui-layer-iframe1{
     height: 733px!important;
-}
+}
+
+
+.

+ 40 - 0
leiSP-admin/src/main/resources/static/syslogin/lydl_base.css

@@ -424,4 +424,44 @@ input{ outline:none; border:0; }c
 	font-size: 20px;
 	margin-bottom: 20px;
 	font-weight: 900;
+}
+
+.yzm_div{
+	height: 50px;
+}
+.yzm_div .yzm_inp{
+	float: left;
+	width: 56%;
+	height: 50px;
+	line-height: 50px;
+	background: #fff;
+	border: 0px;
+	border-radius: 10px;
+	padding-left: 4%;
+	font-size: 16px;
+}
+.yzm_div .yzm_img{
+	float: right;
+	width: 35%;
+	margin-right: 1%;
+}
+#username-error{
+	height: 25px;
+	line-height: 25px;
+	position: absolute;
+	bottom: -22px;
+	width: 100%;
+	left: 7px;
+	color: #de1d1d;
+	font-weight: 900;
+}
+#password-error{
+	height: 25px;
+	line-height: 25px;
+	position: absolute;
+	bottom: -22px;
+	width: 100%;
+	left: 7px;
+	color: #de1d1d;
+	font-weight: 900;
 }

+ 4 - 4
leiSP-admin/src/main/resources/templates/login.html

@@ -40,13 +40,13 @@
                 <i><img src="../static/syslogin/lydl_5.png" th:src="@{/syslogin/lydl_5.png}"/></i>
                 <input name="password"  placeholder="请输入密码" type="password" />
             </div>
-            <div class="row m-t" th:if="${captchaEnabled==true}">
-                <div class="col-xs-6">
+            <div class="row m-t yzm_div" th:if="${captchaEnabled==true}">
+                <div class="col-xs-6 yzm_inp">
                     <input type="text" name="validateCode" class="form-control code" placeholder="验证码" maxlength="5" />
                 </div>
-                <div class="col-xs-6">
+                <div class="col-xs-6  yzm_img">
                     <a href="javascript:void(0);" title="点击更换验证码">
-                        <img th:src="@{captcha/captchaImage(type=${captchaType})}" class="imgcode" width="85%"/>
+                        <img th:src="@{captcha/captchaImage(type=${captchaType})}" class="imgcode" width="100%"/>
                     </a>
                 </div>
             </div>