ソースを参照

导航栏定位调整

MaiXinRong 2 年 前
コミット
79a7a71242
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/public/js/global.js

+ 1 - 1
app/public/js/global.js

@@ -2,7 +2,7 @@
 /*全局自适应高度*/
 function autoFlashHeight(){
     const select = $(".scrollbar-auto .active");
-    if (select.length > 0) $(".scrollbar-auto")[0].scrollTop = select[0].offsetTop;
+    if (select.length > 0) $(".scrollbar-auto")[0].scrollTop = select[0].offsetTop - 72;
     function getObjHeight(select) {
         return select.length > 0 ? select.height() : 0;
     }