wangshan 5 年之前
父節點
當前提交
aa760bacc1
共有 2 個文件被更改,包括 7 次插入5 次删除
  1. 1 1
      src/web/staticres/css/dev2/biddingSearch.css
  2. 6 4
      src/web/staticres/js/superSearch.js

+ 1 - 1
src/web/staticres/css/dev2/biddingSearch.css

@@ -815,7 +815,7 @@ width:1200px;
 #searchInner .searchControl .seaTender-inner .tabContainer .lucene li .luce-left .left-title {
   float: left;
   line-height: 30px;
-    width: 730px;
+    width: 726px;
 	overflow: hidden;
     white-space: nowrap;
     text-overflow: ellipsis;

+ 6 - 4
src/web/staticres/js/superSearch.js

@@ -296,10 +296,12 @@ function appendDatas(datas,flag,isNew,onlyUpdateTable){
 		}
 	}
 	//(数据够20条显示查看更多遮罩层)
-	if(datas.length>=20){
-		$(".shade_table").css("display","");
-	}else{
-		$(".shade_table").css("display","none");
+	if (currentPage==1){//第一页得时候需要判断 是否显示遮罩层
+		if(datas.length>=20){
+			$(".shade_table").css("display","");
+		}else{
+			$(".shade_table").css("display","none");
+		}
 	}
 	for(var i=0;i<datas.length;i++){
 		var index = (currentPage - 1) * pageSize + i + 1;