Browse Source

Merge branch 'dev/v4.8.67_yf' of qmx/jy into feature/v4.8.67

yangfeng 1 year ago
parent
commit
82f4ccce4a
1 changed files with 5 additions and 3 deletions
  1. 5 3
      src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

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

@@ -408,6 +408,7 @@
 
     <div class="app-layout-content-b">
         {{if not .T.obj.hasSession}}
+        {{include "tags/template/tag-register-login-group.html" .}}
         {{include "tags/template/tag-info-type-nav.html" .}}
         {{include "tags/template/tag-area-nav.html" .}}
         {{end}}
@@ -3586,9 +3587,10 @@
       areaNavModule.init()
       backToTop.init()
       // 未登录状态下距顶部距离为顶部搜索框高度
-      $('.app-layout-content-b').css('top','1.12rem')
-      $('.h5-tabfix').css('top','1.12rem')
-      $('.wx-tabfix').css('top','1.12rem')
+      var headerTop = document.querySelector('.jy-app-header ').clientHeight
+      $('.app-layout-content-b').css('top', headerTop)
+      $('.h5-tabfix').css('top', headerTop)
+      $('.wx-tabfix').css('top', headerTop)
       $('.tag-breadcrumb-navigation').css('background', '#EDEFF2')
     })
   </script>