Jelajahi Sumber

靶向提升主界面间距调整

dengshaobo 4 hari lalu
induk
melakukan
5664b26a90
2 mengubah file dengan 6 tambahan dan 6 penghapusan
  1. 2 2
      src/styles/common.scss
  2. 4 4
      src/views/layout/components/Header.vue

+ 2 - 2
src/styles/common.scss

@@ -50,7 +50,7 @@ li {
     overflow: hidden;
     display: flex;
     justify-content: space-between;
-    padding: 20px;
+    padding: 10px;
     box-sizing: border-box;
 
     .user_main_left {
@@ -61,7 +61,7 @@ li {
     }
 
     .user_main_right {
-      width: calc(100% - 190px);
+      width: calc(100% - 180px);
       height: 100%;
       // background-color: #fff;
       // padding: 20px;

+ 4 - 4
src/views/layout/components/Header.vue

@@ -378,7 +378,7 @@ export default {
 <style lang="scss" scoped>
 .header {
   width: 100%;
-  height: 64px;
+  height: 60px;
   font-size: 22px;
   color: #fff;
   box-sizing: border-box;
@@ -392,7 +392,7 @@ export default {
 .headerBox {
   // margin: 0 auto;
   box-sizing: border-box;
-  height: 64px;
+  height: 60px;
   display: flex;
   flex-direction: row;
   justify-content: space-between;
@@ -438,12 +438,12 @@ export default {
     display: flex;
   }
   .el-menu-wrap {
-    height: 64px;
+    height: 60px;
     li {
       font-size: 18px;
       border-bottom: 0;
       padding: 0 20px;
-      line-height: 64px;
+      line-height: 60px;
       height: 60px;
       position: relative;
       &.report{