limeng 2 år sedan
förälder
incheckning
92a5a6b2e8

+ 3 - 3
src/main/resources/static/js/login/login.js

@@ -31,7 +31,7 @@ $(function() {
 			let tryCount = Number($.cookie("tryCount"));
 			if(tryCount == null) tryCount = 0;
 			if(tryCount >= 4){
-				show_err_msg("尝试次数过多,请5分钟后再试");
+				show_err_msg("尝试次数过多,请10分钟后再试");
 				return;
 			}
 			// ajax提交表单,#login_form为表单的ID。如:$('#login_form').ajaxSubmit(function(data)
@@ -41,7 +41,7 @@ $(function() {
 					if (!obj.success) {
 						let expire= new Date();
 						let expiresDate = new Date();
-						expiresDate.setTime(expire.getTime() + (15 * 60 * 1000));
+						expiresDate.setTime(expire.getTime() + (10 * 60 * 1000));
 						$.cookie("tryCount", tryCount += 1, {
 							path : '/',//cookie的作用域
 							expires : expiresDate
@@ -65,4 +65,4 @@ $(function() {
 
 		}
 	});
-});
+});

+ 13 - 10
src/main/resources/static/www/syjcy/style/sy_gzw.css

@@ -45,14 +45,15 @@
 }
 
 .contentbox{
-/*	margin:30px;*/
+	margin: 0 auto;
+    width: 1440px;
 }
 
 .gzw_zt{
 /*	width:100%;*/
 	height: auto;
 	display: block;
-	margin: 30px 30px;
+	margin: 30px 0;
 }
 .gzw_zt img{
 	width:100%;
@@ -72,7 +73,6 @@
 .my-slider,.my-slider ul ,.my-slider ul li,.my-slider ul li a img {
     width: 100%;
 	min-height: 429px;
-	max-height: 429px;
 }
 .banner img{
     width: 100%;
@@ -225,16 +225,17 @@
 	width: 23%;
 	float: left;
 	margin: 1% 1%;
-	height: 230px;
+	height: 190px;
 }
 .ld_tpj .ft_a {
 	width: 100%;
-	height: 200px;
+	height:170px;
 	display: block;
 	overflow: hidden;
 }
 .ld_tpj .ft_a img {
 	width: 100%;
+	height:100%;
 	transition: all 2s;
 }
 .ld_tpj .ft_a:hover img {
@@ -277,10 +278,12 @@
 	bottom:-21px;
 }
 .gzw_tit2 .tit_x i.i_1{
-	left: 0px;
+	left: 0px;width: 62px;
+    display: block;
 }
 .gzw_tit2 .tit_x i.i_2{
-	right: 0px;
+	right: 0px;width: 38px;
+    display: block;
 }
 .gzw_list1 ,.gzw_list2{
 	margin-bottom:30px;
@@ -374,7 +377,7 @@
 	color: #fff;
 }
 .con_bg{
-	background: #f4f5f6;
+	/*background: #f4f5f6;*/
 	width:100%;
 	height: 450px;
 	z-index: 0;
@@ -397,7 +400,7 @@
 .footerbox .xglj select option{ font-size:16px; line-height:30px; color:#333;}
 
 
-.footer_in{width:100%;margin: 3% auto 0px auto;overflow: hidden;position: relative;}
+.footer_in{width:1200px;margin: 3% auto 0px auto;overflow: hidden;position: relative;}
 .footer_in .footer_left{ width:20%;}
 .footer_in .footer_left a{ float:left;}
 .footer_in .footer_left a.jiucuo{ margin:12px 0 0 0;}
@@ -451,7 +454,7 @@
 	padding:1% 0;
 }
 .Relevant {
-    width: 95%;
+    width:1200px;
     margin: 0 auto;
     padding: 3px 0;
     position:relative;

+ 4 - 165
src/main/resources/static/www/syjcy/style/sy_gzw_media.css

@@ -1,8 +1,8 @@
 
 body{ overflow-x:hidden;}
-.gzw_txt{ width:40%;}
+.gzw_txt{ width:42%;}
 .sy_list li a{ width: 70%;white-space: nowrap; text-overflow: ellipsis; overflow: hidden; display: block; float: left;}
-.sy_list li span{ width: 16%; white-space: nowrap; float: left;}
+.sy_list li span{ width:88px; white-space: nowrap; float: left;}
 .nav{ position:relative;}
 .big_nav {
 		position: absolute;height: 60px;
@@ -51,168 +51,7 @@ body{ overflow-x:hidden;}
 .rjxz{ margin:0 1.5% 20px 1.5%; width:97%; display:block;}
 .rjxz img{ width:100%; height:auto;}
 .gzw_list1, .gzw_list2{ width:50%; height:320px; overflow:hidden;}
-.gzw_tit2 .tit_x,.tit_x_list{ display:none;}
-@media screen and (min-width:1200px) and (max-width: 1919px){
-	.gzw_txt{width: 40%;}
-	.sy_list li span { width: 17%;}
-	.footer_link{ width:87% !important;}
-	.footer_link ul li{width: 23% !important;}
-	.big_nav,.gzw_tit2 .tit_x { display:none;}
-	
-	}
-
-
-
-@media screen and (max-width: 1200px) {
-	.PC_nav{ display:none;}
-	.big_nav .right{ position:absolute; left:0; top:100px;width: 60%;}
-	.big_nav { display:block;left: 19%;}
-	.gzw_txt{width: 40%;}
-	.sy_list li span { width: 23%;}
-	.footer_link{ width:87% !important;}
-	.footer_link ul li{width: 22% !important;}
-	.sy_list li a {  width: 62%;}
-	.gzw_tit2 .tit_x{ display:none;}
-	.ld_tpj .ld_timg {
-    width: 23%;
-    float: left;
-    margin: 1% 1%;
-    height: 11em;
-}
-	.ld_tpj .ft_a {
-    width: 100%;
-    height: auto !important;
-    display: block;
-    overflow: hidden;
-}
-	.ss {
-    width: 30%;
-    position: absolute;
-    right: 19%;
-    z-index: 999;
-}
-.gzw_a a {
-    width: 22%;}
-	
-	
-	.gzw_list1, .gzw_list2 {
-    margin-bottom: 30px;
-    width: 50%;
-}
-	
-	
-	
-	
-	
-	
-	
-	}
-
-
-
-@media screen and (max-width: 920px) {
-	
-	.big_nav .photo_nav li {
-    width: 15%;}
-	
-	
-	.footer_link { width:82% !important;}
-	.banner {width: 100%;}
-	.gzw_txt { width: 95%;max-height: 20em;}
-	.gzw_left{ width:99%;}
-	.gzw_right {width: 100%;}
-	.gzw_right a { width: 46%; margin: 2%; float: left;height: auto !important;}
-	.footer_link ul li {
-    width: 22% !important;
-}
-.gzw_a a { display: block; width: 31%;}
-	.ss { width: 40%;}
-	.ld_tpj .ld_timg {
-    width: 31% !important;
-    float: left;
-    margin: 1% 1%;
-    height: 11em;
-}
-
-.gzw_dd{ display:none;}
-.one_jcy{ display:block !important;}
-.footer_in .footer_right{ position:static;}
-
-
-	
-	}
-
-
-
-@media screen and (max-width: 768px) {
-	.footer_in .footer_right{ position:static;}
-	.Navigation,.gzw_img{ display:none;}
-	.sy_list li span{ width: 21%;}
-	.gzw_left{ width: 100%; padding: 0;}
-	.gzw_a a{width: 47%;}
-	.gzw_left .gzw_list {width: 100%;}
-	.gzw_img a {
-    display: block;
-    width: 46%;
-    margin: 2%;
-    float: left;
-    height: 5em;
-}
-.gzw_img img {
-    width: 100%;
-    height: 100%;
-}
-
-.gzw_txt {
-    width: 100%;
-    max-height: 20em;
-}
-	.ss { width: 40%;}
-	.ld_tpj .ld_timg {
-    width: 48% !important;
-    float: left;
-    margin: 1% 1% 4% 1%;
-    height: 11em;
-}
-.ptljbox{ display:block;}
-		.gzw_list1, .gzw_list2 {
-    margin-bottom: 30px;
-    width: 100%;
-}
-	
-	
-	
-	
-	}
-
-
-@media screen and (max-width: 440px) {
-	.sy_list li span{ width: 28%;}
-	.gzw_left{ width: 100%; padding: 0;}
-	.gzw_a a { width: 97%;}
-	.gzw_left .gzw_list {width: 100%;}
-	.ss {width: 47%;}
-	.big_nav .photo_nav li { width: 28%;}
-	.gzw_img a { width: 100%;}
-	
-	.ld_tpj .ld_timg {
-    width: 100% !important;
-    float: left;
-    margin: 1% 1% 3% 1%;
-    height: 13em;
-}
-
-.gzw_list1, .gzw_list2 {
-    width: 100%;
-}
-	
-	
-	
-	
-	
-	
-	}
-
-
+.tit_x_list{ display:none;}
+.gzw_tit2 .tit_x{width: 79%;}