maxiaoshan 8 年之前
父节点
当前提交
c10477fede
共有 3 个文件被更改,包括 39 次插入16 次删除
  1. 1 1
      src/jfw/front/entsearch.go
  2. 37 14
      src/web/templates/pc/biddingsearch_enterprise.html
  3. 1 1
      src/web/templates/pc/classifylist.html

+ 1 - 1
src/jfw/front/entsearch.go

@@ -15,7 +15,7 @@ import (
 
 type Entsearch struct {
 	*xweb.Action
-	bidsearchforent  xweb.Mapper `xweb:"/jylab/bidsearchforent.html"`
+	bidsearchforent  xweb.Mapper `xweb:"/jylab/bidsearchforent/index.html"`
 	pcSearchZbqyAjax xweb.Mapper `xweb:"/jylab/pcSearchZbqyAjax"`
 }
 

+ 37 - 14
src/web/templates/pc/biddingsearch_enterprise.html

@@ -106,6 +106,25 @@
 			    left: 198px;
 			    top: 148px;
 			}
+			#labmodalbody .code-close{
+				width: 40px;
+			    height: 40px;
+			    position: absolute;
+			    right: 40px;
+			    top: -20px;
+			    cursor: pointer;
+			    -webkit-transition: all 1s;
+			    -o-transition: all 1s;
+			    -moz-transition: all 1s;
+			    transition: all 1s;
+			}
+			#labmodalbody .code-close:hover{
+				-webkit-transform: scale(1.2);
+				   -moz-transform: scale(1.2);
+				    -ms-transform: scale(1.2);
+				     -o-transform: scale(1.2);
+				        transform: scale(1.2);
+			}
 			.layheader{
 				position: absolute;
 			    color: #fff;
@@ -143,6 +162,7 @@
 		    <div class="modal-dialog">
 		        <div class="modal-content" id="labmodalcont">
 		            <div class="modal-body" id="labmodalbody">
+					<img class="code-close" src="/images/j-wx-code-close.png" alt="" onclick="labClose();">
 						<div class="layheader">
 							<div>超级搜索</div>
 							<div>按行业、金额搜索、结果可按表格显示</div>
@@ -162,12 +182,12 @@
 				<div class="w searchHeader-container">
 					<!--整体页面切换tab-->
 					<div class="control-tabBtn">
-						<a href="#">超级搜索</a>
+						<a href="/jylab/supsearch/index.html">超级搜索</a>
 						<a href="#" class="on">中标企业搜索</a>
 					</div>
 					<!--搜索-->
 					<div class="searchInput clearfix">
-						<form action="/jylab/bidsearchforent.html" method="post" id="zbSeatchT" class="clearfix" onsubmit="return true">
+						<form action="/jylab/bidsearchforent/index.html" method="post" id="zbSeatchT" class="clearfix" onsubmit="return true">
 							<input class="searchname" autocomplete="off" type="search" name="keywords" id="searchinput" value="{{.T.searchvalue}}" placeholder="高速公路" />
 
 							<input type="submit" class="searchBtn" value="搜索" />
@@ -423,11 +443,18 @@
 		
 		$(function(){
 			haslogin({{.T.logid}});
+			$(".j-nav .j-nav-link:eq(2)").addClass("active");
+			$(window).scroll(function(){
+				if($(this).scrollTop() > 0){
+				$("#backTop").show();
+				}else{
+					$("#backTop").hide();
+				}
+			});
 			
 			//筛选关闭和打开
 			//根据cookie值设置筛选是否显示
 			var rsw = localStorage.getItem("entstore");
-			console.log("00000"+rsw);
 			if(rsw == null){
 				setTimeout(function(){
 					$(".searchTender").stop(false,true).slideDown(1000);
@@ -499,14 +526,9 @@
 			//点击超级搜索按钮
 			$(".superSearch").click(function(){
 				$("#labModal").modal("show");
-			})
-			
-			//关闭登录二维码
-			$(".code-close").click(function(){
-				$("#bidLogin").modal("hide");
-			})
-			
+			})	
         });
+		
 		function beforeSubmit(){			
 			//地区
 			var selectAreas = "";
@@ -530,14 +552,10 @@
 			//搜索关键词
 			var searchname = $("#zbSeatchT input[name='keywords']").val();
 			$("#zbSeatchT input[name='searchvalue']").val($.trim(searchname))
-			console.log("关键词============"+searchname);
 			if(submitflag){	
 				if($.trim(searchname) != ""){
-					console.log("搜索关键词不为空");
 					getTableInfo();
 				}else{
-					console.log("搜索关键词为空"+"--------------------");
-					
 					$(".tabTitle").removeClass("hidden");
 					$(".lucene").attr("style","display:block");
 					$(".lucene-table").attr("style","display:none");
@@ -571,6 +589,11 @@
 				
 			});
 		}
+		
+		//关闭超级搜索遮罩层
+		function labClose(){
+			$("#labModal").modal("hide");
+		}
 	</script>
 	</body>
 

+ 1 - 1
src/web/templates/pc/classifylist.html

@@ -294,7 +294,7 @@ $(function(){
 			<div class="control-tabBtn">
 				<a href="#" class="on" style="display:none;">超级搜索</a>
 				<span class="bidbut">招标搜索</span>
-				<a href="#">中标企业搜索</a>
+				<a href="/jylab/bidsearchforent/index.html">中标企业搜索</a>
 			</div>
 			<!--搜索-->
 			<div class="searchInput clearfix">