From e36eb1999794bd71e76482b92a0b0b20f49d0032 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 05 三月 2021 19:37:03 +0800
Subject: [PATCH] 2021-03-05

---
 src/pc/components/navbar/normal-navbar/index.scss |   77 +++++++++++++++++++++++++++++++++++---
 1 files changed, 71 insertions(+), 6 deletions(-)

diff --git a/src/pc/components/navbar/normal-navbar/index.scss b/src/pc/components/navbar/normal-navbar/index.scss
index 6346310..c141a87 100644
--- a/src/pc/components/navbar/normal-navbar/index.scss
+++ b/src/pc/components/navbar/normal-navbar/index.scss
@@ -1,12 +1,55 @@
-.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: 2;
   
+  .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;
+        .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-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;
+    }
+  }
   .card-control {
     position: absolute;
     top: 0px;
@@ -21,7 +64,7 @@
     position: absolute;
     z-index: 2;
     font-size: 16px;
-    right: 1px;
+    right: 25px;
     top: 1px;
     cursor: pointer;
     padding: 5px;
@@ -76,12 +119,34 @@
     }
   }
 }
-.menu-data-card-edit-box::after {
+.normal-navbar-edit-box::after {
   display: block;
   content: ' ';
   clear: both;
 }
-.menu-data-card-edit-box:hover {
+.normal-navbar-edit-box:hover {
   z-index: 1;
   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