浏览代码

fix: 首页样式

zhangyuhan 5 年之前
父节点
当前提交
515d3394bc

+ 2 - 2
src/jfw/modules/app/src/web/staticres/jyapp/css/p13.css

@@ -108,8 +108,8 @@
 }
 
 /* hover */
-.p13 #list .tslist:hover,
-.p13 #list .tslist.visited:hover {
+.p13 #list .tslist.hover,
+.p13 #list .tslist.visited.hover {
     background: #E6E6E6;
 }
 .p13 .tslist:hover a.bt, .p13 .tslist.visited a.bt {

+ 6 - 0
src/jfw/modules/app/src/web/templates/weixin/historypush.html

@@ -1369,6 +1369,12 @@
 
     //
     $(function () {
+        $('#list').on('tap longTap', '.tslist',function(e){
+            var tempS = $(this).addClass("hover")
+            setTimeout(function () {
+                tempS.removeClass('hover')
+            }, 50)
+        })
         document.querySelector('.screen').addEventListener('touchmove', stopScroll, {passive: false});
         document.querySelector('.tab_left').addEventListener('touchmove', stopScroll, {passive: false});
         document.querySelector('.tab_right').addEventListener('touchmove', stopScroll, {passive: false});

+ 9 - 1
src/jfw/modules/app/src/web/templates/weixin/search/mainSearch.html

@@ -786,7 +786,13 @@
 		var tempS = $(this).addClass("hover")
 		setTimeout(function () {
 			tempS.removeClass('hover')
-		}, 1000)
+		}, 50)
+	})
+	$('#list').on('tap longTap', '.tslist',function(e){
+		var tempS = $(this).addClass("hover")
+		setTimeout(function () {
+			tempS.removeClass('hover')
+		}, 50)
 	})
     setTimeout(function(){
       loadJS("{{Msg "seo" "cdn"}}/jyapp/js/fastclick.js?v={{Msg "seo" "version"}}",function(){
@@ -950,12 +956,14 @@
       "ad_index":"-1,-1"
     },function(result){
   		$("#searchIndex .inp-search").unbind("click").on("click",function () {
+			$('#top-search').hide();
   	    SuperSearch.init(true,true,true);
   	  });
   		userId = result.userId;
   		SuperSearch.openTablepro=result.tablepro;
 		  //中标企业搜索跳转
 	    $(".tab_container a:eq(0)").unbind("tap").on("tap",function(){
+				$('#top-search').hide();
 				EntSearch.clearSessionStorage();
 				EntSearch.init(true,true,true);
 	    });

+ 1 - 1
src/web/staticres/js/wxSupersearch.js

@@ -18,7 +18,7 @@ $(function () {
 		var tempS = $(this).addClass('hover')
 		setTimeout(function() {
 			tempS.removeClass('hover')
-		}, 1000)
+		}, 50)
 	})
 })
 

+ 1 - 1
src/web/templates/weixin/historypush.html

@@ -1684,7 +1684,7 @@
             var tempS = $(this).addClass('hover')
             setTimeout(function() {
                 tempS.removeClass('hover')
-            }, 1000)
+            }, 50)
         })
         userMergeQuery();
         document.querySelector('.screen').addEventListener('touchmove', stopScroll, {passive: false});