王传进 8 years ago
parent
commit
5aac497e9d

+ 3 - 5
src/web/staticres/js/biddingSearch.js

@@ -121,7 +121,7 @@ $(function() {
 			} else {
 				$prevNode.removeClass("active").addClass("secondActice");
 			}
-			beforeSubmit();
+
 		});
 		$parentNode.on('click', function() {
 			$(this).toggleClass("active").removeClass("secondActice");
@@ -131,7 +131,7 @@ $(function() {
 			} else {
 				$nextALLChildren.addClass('active');
 			}
-			beforeSubmit();
+
 		});
 		/*如果点击没有内容给全部添加类名*/
 		$content.on("click", "font", function() {
@@ -140,13 +140,12 @@ $(function() {
 			} else {
 				$induAll.addClass("active");
 			}
-			beforeSubmit();
+
 		})
 		/*全部点击*/
 		$induAll.on("click", function() {
 			$(this).addClass("active");
 			$content.children().not($(this)).removeClass("active secondActice")
-			beforeSubmit();
 		})
 	};
 	/*时间发布*/
@@ -157,7 +156,6 @@ $(function() {
 		$childrenLi.on("click", function() {
 			$(this).addClass("active").siblings().removeClass("active");
 			$(".timerInput").removeClass("active");
-			beforeSubmit();
 		})
 	}
 

+ 10 - 0
src/web/staticres/js/entsearchscript.js

@@ -0,0 +1,10 @@
+$(function () {
+    $("#regionBtn").on("click",function () {
+        //alert($(this).text())
+    })
+    $(".region-content>font").on("click",function () {
+        //alert($(this).text())
+    })
+})
+
+

+ 2 - 10
src/web/templates/pc/biddingsearch_enterprise.html

@@ -86,7 +86,7 @@
 							项目地区:
 						</div>
 						<div class="region-content">
-							<font id="regionBtn" class="active">全国</font>
+							<span id="regionBtn" class="active">全国</span>
 							<i class="diver"></i>
 							<font class="parent-node">华北地区</font>
 							<font>北京</font>
@@ -233,17 +233,9 @@
 		</script>
 		<script type="text/javascript" src="/js/jquery-3.2.1.min.js"></script>
 		<script type="text/javascript" src="/js/biddingSearch.js"></script>
+		<script type="text/javascript" src="/js/entsearchscript.js"></script>
 	{{include "/common/pcbottom.html"}}
 	{{include "/common/baiducc.html"}}
-	<script>
-		var mainList = {{.T.list}};
-		$(function () {
-//		    for(var i=0;i<mainList.length;i++){
-//		        alert(mainList[i])
-//			}
-
-        });
-	</script>
 	</body>
 
 </html>