From 49f09cc6f8ff8c30a75ed1a9d6f510b69b73962a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 12 十二月 2023 21:05:37 +0800
Subject: [PATCH] 2023-12-12

---
 src/pc/components/navbar/normal-navbar/index.scss |  123 ++++++++++++++++++++++++++--------------
 1 files changed, 79 insertions(+), 44 deletions(-)

diff --git a/src/pc/components/navbar/normal-navbar/index.scss b/src/pc/components/navbar/normal-navbar/index.scss
index 6346310..3c9d934 100644
--- a/src/pc/components/navbar/normal-navbar/index.scss
+++ b/src/pc/components/navbar/normal-navbar/index.scss
@@ -1,27 +1,69 @@
-.menu-data-card-edit-box {
-  position: relative;
+.normal-navbar-edit-box {
+  position: fixed;
+  top: 0px;
+  left: 0px;
+  width: 100%;
   box-sizing: border-box;
   background: #ffffff;
   background-position: center center;
   background-repeat: no-repeat;
   background-size: cover;
-  min-height: 20px;
+  min-height: 50px;
+  z-index: 3;
   
-  .card-control {
-    position: absolute;
-    top: 0px;
-    left: 0px;
-    .anticon-tool {
-      right: auto;
-      left: 1px;
-      padding: 1px;
+  .navbar-wrap {
+    margin: 0 auto;
+    display: flex;
+    max-width: 100%;
+
+    .logo {
+      display: inline-block;
+      img {
+        max-width: 100%;
+        max-height: 100%;
+      }
+    }
+    .logo.pointer {
+      cursor: pointer;
+    }
+    .menu {
+      flex: 1;
+      display: inline-block;
+      font-size: inherit;
+      color: inherit;
+      .ant-menu {
+        background: transparent;
+        line-height: inherit;
+        font-size: inherit;
+        color: inherit;
+        border: 0;
+        .ant-menu-item:hover, .ant-menu-item-active, .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open, .ant-menu-submenu-active, .ant-menu-submenu-title:hover {
+          color: unset;
+        }
+        .ant-menu-item span {
+          display: inline-block;
+        }
+      }
+      .ant-menu-horizontal > .ant-menu-item:hover, .ant-menu-horizontal > .ant-menu-submenu:hover, .ant-menu-horizontal > .ant-menu-item-active, .ant-menu-horizontal > .ant-menu-submenu-active, .ant-menu-horizontal > .ant-menu-item-open, .ant-menu-horizontal > .ant-menu-submenu-open, .ant-menu-horizontal > .ant-menu-item-selected, .ant-menu-horizontal > .ant-menu-submenu-selected {
+        color: unset;
+      }
+    }
+    .link {
+      flex: 1;
+      display: inline-block;
+      text-align: right;
+      color: inherit;
+      button {
+        color: inherit;
+      }
     }
   }
-  .anticon-tool {
+
+  >.anticon-tool {
     position: absolute;
     z-index: 2;
     font-size: 16px;
-    right: 1px;
+    right: 25px;
     top: 1px;
     cursor: pointer;
     padding: 5px;
@@ -47,41 +89,34 @@
     right: -30px;
     font-size: 16px;
   }
-  .model-menu-action-list {
-    line-height: 40px;
-    .ant-row > .anticon-plus {
-      position: absolute;
-      right: -30px;
-      font-size: 16px;
-    }
-  }
-  .card-add-button {
-    text-align: right;
-    clear: left;
-    .anticon-plus {
-      font-size: 20px;
-      color: #26C281;
-      padding: 5px;
-      margin-right: 10px;
-    }
-  }
-  .ant-pagination {
-    float: right;
-    margin: 10px;
-  }
-
-  .model-menu-action-list {
-    .page-card {
-      line-height: 55px;
-    }
-  }
 }
-.menu-data-card-edit-box::after {
+.normal-navbar-edit-box::after {
   display: block;
   content: ' ';
   clear: both;
 }
-.menu-data-card-edit-box:hover {
-  z-index: 1;
+.normal-navbar-edit-box:hover {
   box-shadow: 0px 0px 4px #1890ff;
 }
+.top-menu-popover {
+  padding-top: 0!important;
+}
+.normal-navbar-submenu {
+  .ant-menu-item-group {
+    float: left;
+  }
+  .ant-menu-item {
+    height: 32px;
+    line-height: 32px;
+    span {
+      display: inline-block;
+      width: 100%;
+      height: 100%;
+      padding: 0 16px 0 28px;
+    }
+    padding: 0;
+  }
+  .ant-menu .ant-menu-item-selected {
+    background-color: #ffffff;
+  }
+}
\ No newline at end of file

--
Gitblit v1.8.0