소스 검색

Merge remote-tracking branch 'origin/feature/v4.8.67' into dev/v4.8.67_dx

duxin 1 년 전
부모
커밋
4af6f97880
2개의 변경된 파일13개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      src/jfw/modules/app/src/web/staticres/jyapp/tags/js/index.js
  2. 5 0
      src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

+ 8 - 0
src/jfw/modules/app/src/web/staticres/jyapp/tags/js/index.js

@@ -15,6 +15,14 @@ var page = {
     this.initFooterPhoneCall()
     // this.showAppFooterNavs()
     this.initBack()
+    this.topSearchEvent()
+  },
+  topSearchEvent: function () {
+    $('.search-container').on('click', function (e) {
+      e.preventDefault()
+      localStorage.removeItem('JY-MOBILE-home-top-search')
+      location.href = '/jy_mobile/search/middle/bidding'
+    })
   },
   showAppFooterNavs: function () {
     var isInHomePage = location.pathname === '/jyapp/jylab/mainSearch'

+ 5 - 0
src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

@@ -3592,6 +3592,11 @@
       $('.h5-tabfix').css('top', headerTop)
       $('.wx-tabfix').css('top', headerTop)
       $('.tag-breadcrumb-navigation').css('background', '#EDEFF2')
+      $('.search-container').on('click', function (e) {
+        e.preventDefault()
+        localStorage.removeItem('JY-MOBILE-home-top-search')
+        location.href = '/jy_mobile/search/middle/bidding'
+      })
     })
   </script>
 {{end}}