浏览代码

fix: #8734 bug修复

TIANYONG 1 年之前
父节点
当前提交
ed1dae1db5

+ 9 - 0
src/page-instrument/header-top/index.module.less

@@ -19,6 +19,15 @@
         transition: margin-top .2s ease;
         margin-top: 12px;
     }
+    &::before {
+        content: "";
+        position: absolute;
+        left: -30px;
+        height: 100%;
+        width: 50px;
+        background: #fff;
+        z-index: 0;
+    }
 }
 
 @keyframes headerDown {

+ 0 - 9
src/page-instrument/view-detail/index.module.less

@@ -27,15 +27,6 @@
         &.headHide {
             margin-top: calc(0Px - var(--header-height));
         }
-        &::before {
-            content: "";
-            position: absolute;
-            left: -30px;
-            height: 100%;
-            width: 50px;
-            background: #fff;
-            z-index: 0;
-        }
     }
 
     .container {