ws 1 rok temu
rodzic
commit
d36f2bac4c

+ 10 - 3
nngkxxdp/src/main/resources/static/zdjc/symobile.html

@@ -52,7 +52,7 @@
 		.serach-title {
 			font-size: 1em;
 			font-weight: bold;
-			text-align: left;
+			text-align: center;
 			margin-bottom: 10px;
 		}
 
@@ -61,7 +61,7 @@
 			flex-direction: row;
 			flex-wrap: wrap;
 			align-content: center;
-			justify-content: flex-start;
+			justify-content: space-between;
 			align-items: center;
 		}
 
@@ -290,7 +290,14 @@
 				element = layui.element;
 			// $('#head').load("header.html");
 			// $('#foot').load("foot.html");
-
+			$('.search-h2').on('click', function(e) {
+			  const clz = $(this).next('.layui-colla-content').hasClass('layui-show')
+			   if(clz){
+					$(this).next('.layui-colla-content').removeClass('layui-show')
+			   }else{
+				$(this).next('.layui-colla-content').addClass('layui-show')
+			   }
+			})
 			$(".all").mouseenter(function () {
 				$(".tangchu").css("display", "block");
 			});