Преглед на файлове

解决质量服务页留言板排版消失

xiaoyue5430 преди 3 години
родител
ревизия
7c171ab8f9
променени са 2 файла, в които са добавени 10 реда и са изтрити 10 реда
  1. 1 1
      wxdks/src/main/resources/static/zlhbw/xfz/xfz.html
  2. 9 9
      wxdks/src/main/resources/static/zlhbw/xfz/xfz.js

+ 1 - 1
wxdks/src/main/resources/static/zlhbw/xfz/xfz.html

@@ -134,7 +134,7 @@
                             </div>
                             <div class="sort_box">
                                 <div class="sort_title">分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;类</div>
-                                <form action="" class="layui-form" lay-filter="switchForm">
+                                <form action="" class="layui-form fl-form" lay-filter="switchForm">
                                     <!--                                    <input type="checkbox" name="" title="食品检测" lay-skin="primary">-->
                                     <!--                                    <input type="checkbox" name="" title="消防产品检测" lay-skin="primary">-->
                                     <!--                                    <input type="checkbox" name="" title="药品检测" lay-skin="primary">-->

+ 9 - 9
wxdks/src/main/resources/static/zlhbw/xfz/xfz.js

@@ -194,7 +194,7 @@ function initSideNav() {
             // if (!$(this).hasClass("active_snav")) {
             //清空表单和已选条件及数据列表
             $(".tagi").html("");
-            $(".layui-form").html("");
+            $(".fl-form").html("");
             $(".cont_list").html("");
             $("#searchs").val("");
             //隐藏整体列表
@@ -388,11 +388,11 @@ function appendTwoLayerClassify(parentKey, columnKey) {
 //$(".crumbs .crumb").click(function(){
 //	console.log($(this).text());
 //})
-$(".crumbs").on('click','.crumb',function(){
-	var loctext = $(this).text();
-	if(loctext == '首页'){
-		window.location.href = PAGE_BASIC + "/zlhbw/index.html";
-	}else {
-		location.reload();
-	}
-})
+$(".crumbs").on('click', '.crumb', function() {
+    var loctext = $(this).text();
+    if (loctext == '首页') {
+        window.location.href = PAGE_BASIC + "/zlhbw/index.html";
+    } else {
+        location.reload();
+    }
+})