Browse Source

Merge branch 'dev2.7.3' of http://192.168.3.207:10080/qmx/jy into dev2.7.3

zhangxinlei1996 6 năm trước cách đây
mục cha
commit
fe0f330cd0
1 tập tin đã thay đổi với 7 bổ sung15 xóa
  1. 7 15
      src/web/templates/weixin/historypush.html

+ 7 - 15
src/web/templates/weixin/historypush.html

@@ -35,9 +35,10 @@ $(function(){
 		if(event.originalEvent.persisted){
 			initpage();
 			isinitpage = true;
+			window.location.href="/swordfish/historypush"
 		}
     });
-	if(!isinitpage){
+	if(!isinitpage) {
 		initpage();
 		isinitpage = true;
 	}
@@ -45,7 +46,7 @@ $(function(){
 var isInTSguide=false;
 var firstTime = {{.T.stime}};
 if (firstTime!=""){
-	firstTime = firstTime+"000"
+	firstTime = firstTime+"000";
 }else{
 	if(sessionStorage.date!==undefined&&sessionStorage.date!==""){
 		firstTime = sessionStorage.date;
@@ -142,9 +143,6 @@ function initpage(){
 		sessionStorage.removeItem("historypushHasNextPage");
 		sessionStorage.removeItem("historypushCount");
 		sessionStorage.removeItem("listortable");
-		//sessionStorage.removeItem("time");
-		//sessionStorage.removeItem("times");
-		//sessionStorage.removeItem("date");
 	}else{
 		if(firstTime!=""){
 			sessionStorage.date=firstTime;
@@ -845,12 +843,6 @@ body .loading p span {
 
 var bufferFlag = true;
 $(function(){
-	//解决ios回退不加载js
-	window.onpageshow = function (e) {
-		if (e.persisted) {
-			window.location.reload(true)
-		}
-	};
 	//根据是否打开推送显示警告条
 	var i_applystatus = {{.T.i_applystatus}};
 	var applystatus = localStorage.getItem("applystatus");
@@ -1192,11 +1184,11 @@ function reTimeS(selectTime){
 			if($(".findnull").css("display")=="block"){
 				$(".findnull").css("display","none");
 			}
-			$(".listcontent").hide();
+			$(".listcontent").css("display","none");
 			$(".findnull_").css("display","block");
-			$(".showType").hide();
-			$(".showType").next().hide();
-			$(".loading").hide();
+			$(".showType").css("display","none");
+			$(".showType").next().css("display","none");
+			$(".loading").css("display","none");
 			return;
 		}else{
 			$(".showType").css("display","flex");