From 26d57c297a912a19e6116bc5e8b333634f3aecbc Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 19 Dec 2023 15:41:51 +0800
Subject: [PATCH] 顶部搜索调整

---
 src/styles/top.scss |   43 ++++++++++++++++++++++++++++---------------
 1 files changed, 28 insertions(+), 15 deletions(-)

diff --git a/src/styles/top.scss b/src/styles/top.scss
index a3f9b81..5b8bc19 100644
--- a/src/styles/top.scss
+++ b/src/styles/top.scss
@@ -1,4 +1,5 @@
 $height:64px;
+
 .avue-top {
     padding: 0 20px;
     position: relative;
@@ -9,40 +10,49 @@
     line-height: $height;
     box-sizing: border-box;
     white-space: nowrap;
-    .el-menu-item{
-        i,span{
+
+    .el-menu-item {
+
+        i,
+        span {
             font-size: 13px;
         }
     }
+
     .el-menu--horizontal>.el-menu-item {
-      height: $height;
-      line-height: $height;
+        height: $height;
+        line-height: $height;
     }
 }
+
 .avue-breadcrumb {
     height: 100%;
-    i{
+
+    i {
         font-size: 30px !important;
     }
+
     &--active {
-        transform:rotate(90deg);
+        transform: rotate(90deg);
     }
 }
 
 .top-menu {
     box-sizing: border-box;
+
     .el-menu-item {
         padding: 0 10px;
-        border:none !important;
+        border: none !important;
     }
 }
 
 .top-search {
     line-height: $height;
     position: absolute !important;
-    left: 20px;
-    top:0;
+    left: 40px;
+    top: 0;
     width: 400px !important;
+
     .el-input__inner {
         font-size: 13px;
         border: none;
@@ -66,7 +76,8 @@
     height: $height;
     position: absolute;
     top: 0;
-    i{
+
+    i {
         line-height: $height;
     }
 }
@@ -85,24 +96,26 @@
     position: relative;
     display: inline-block;
     height: $height;
-    margin:0 10px;
+    margin: 0 10px;
     font-size: 16px;
+
     &--show {
         display: inline-block !important;
     }
-    .el-badge__content.is-fixed{
-        top:12px;
+
+    .el-badge__content.is-fixed {
+        top: 12px;
         right: 5px;
     }
 }
 
 .top-bar__title {
     height: 100%;
-    padding:0 40px;
+    padding: 0 40px;
     box-sizing: border-box;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
     font-size: inherit;
     font-weight: 400;
-}
+}
\ No newline at end of file

--
Gitblit v1.9.3