wangshan 7 年之前
父節點
當前提交
9c1abaf528
共有 2 個文件被更改,包括 4 次插入6 次删除
  1. 0 2
      src/jfw/front/search.go
  2. 4 4
      src/web/staticres/js/superSearch.js

+ 0 - 2
src/jfw/front/search.go

@@ -2,7 +2,6 @@ package front
 
 import (
 	"jfw/wx"
-	"log"
 	"qfw/util"
 	"qfw/util/redis"
 	"strings"
@@ -38,7 +37,6 @@ func (s *Search) MainSearch() error {
 	}
 	s.T["pageSize"] = wx_pageSize
 	//搜索列表增加分享
-	log.Println(s.Site(), "----", s.Url())
 	s.T["signature"] = wx.SignJSSDK(s.Site() + s.Url())
 	myopenid, _ := s.Session().Get("s_m_openid").(string)
 	s.T["openid"] = se.EncodeString(myopenid)

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

@@ -201,11 +201,11 @@ $(function() {
 })
 //
 function next(){
-	$(".hasNoData").hide();
-	$(".working").show();
 	if($(".nbnext").hasClass("disabled")){
 		return false;
 	}
+	$(".hasNoData").hide();
+	$(".working").show();
 	$(".tabContainer").hide();
 	$("#allnews").hide();
 	$(".pagination").hide();
@@ -230,11 +230,11 @@ function next(){
 	}
 }
 function prev(){
-	$(".hasNoData").hide();
-	$(".working").show();
 	if($(".nbprev").hasClass("disabled")){
 		return false;
 	}
+	$(".hasNoData").hide();
+	$(".working").show();
 	$(".tabContainer").hide();
 	$("#allnews").hide();
 	$(".pagination").hide();