Explorar o código

update 头部高度

dusenyao %!s(int64=3) %!d(string=hai) anos
pai
achega
97c7fa3cb5
Modificáronse 2 ficheiros con 4 adicións e 4 borrados
  1. 3 3
      src/layouts/components/LayoutHeader.vue
  2. 1 1
      src/styles/variables.scss

+ 3 - 3
src/layouts/components/LayoutHeader.vue

@@ -199,7 +199,7 @@ export default {
   display: flex;
   align-items: center;
   justify-content: space-between;
-  height: 74px;
+  height: $header-h;
   padding: 0 24px;
   font-family: 'sourceR';
   background: #fff;
@@ -325,8 +325,8 @@ export default {
   }
 
   .el-menu--horizontal > .el-menu-item {
-    height: 74px;
-    line-height: 78px;
+    height: $header-h;
+    line-height: $header-h;
   }
 
   .el-dropdown-link {

+ 1 - 1
src/styles/variables.scss

@@ -1,4 +1,4 @@
-$header-h: 74px;
+$header-h: 64px;
 $step-h: 124px;
 $basicWidth: 1200px;