Prechádzať zdrojové kódy

弹出弹窗头部导航栏抖动问题

tanxue 4 rokov pred
rodič
commit
a2b6207c9c

+ 0 - 3
assets/scss/cus-client/cus-client-common.scss

@@ -132,9 +132,6 @@ h1,h2,h3,h4,h5,h6,p{font-weight:normal;margin: 0;}
 .client-head{
   width: 100%;
   height: 80px;
-  position:fixed;
-  top: 0;
-  left: 0;
   z-index: 999;
   background: #fff;
 

+ 0 - 1
assets/scss/cus-client/cus-client-page.scss

@@ -9,7 +9,6 @@
     .client-index-banner{
       width: 100%;
       height: 480px;
-      margin-top: 80px;
       background-image: url("~static/images/client/index/index-banner-background.png");
       background-position-x: center;
       .banner-left{

+ 1 - 1
layouts/templateA.vue

@@ -27,5 +27,5 @@
   }
 </script>
 <style lang="scss" scoped>
-  .nuxt-box:not(.client-index-page){width: 100%;margin-top: 80px;}
+  .nuxt-box:not(.client-index-page){width: 100%;}
 </style>

+ 1 - 1
layouts/templateB.vue

@@ -27,5 +27,5 @@
   }
 </script>
 <style lang="scss" scoped>
-  .nuxt-box:not(.client-index-page){width: 100%;margin-top: 80px;}
+  .nuxt-box:not(.client-index-page){width: 100%;}
 </style>