From 9dc930acceb32e6ef214aa844480f8953df3bf62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=91=E5=B0=8F=E9=A9=AC?= Date: Wed, 23 Jul 2025 17:46:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/components/layout.vue | 119 ++++++++++++++++++++-------- 1 file changed, 87 insertions(+), 32 deletions(-) diff --git a/web/src/views/components/layout.vue b/web/src/views/components/layout.vue index c7fe72d..b98df7b 100644 --- a/web/src/views/components/layout.vue +++ b/web/src/views/components/layout.vue @@ -4,15 +4,28 @@
- -
- - +
+ +
+ + +
+
+
+ + 新闻中心 + 公告 +
+ +
@@ -50,32 +63,32 @@ - - - - - 菜单项一 - 菜单项二 - - - 菜单项三 - - - - 子菜单项一 - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -117,4 +130,46 @@ const handleClose = (key: string, keyPath: string[]) => { width: 200px; min-height: 400px; } + + + +.top-header{ + border:none; + :deep(.el-menu-item){ + background-color: #085ce6; + color: #fff !important; + border: none !important; + } + :deep(.el-menu-item):hover{ + color: #ffffff !important; + background-color: #206ce8 !important; + border: none !important; + + + } + :deep(.el-menu-item):active{ + color: #ffffff !important; + background-color: #085ce6 !important; + border: none !important; + + + } + + :deep(.el-menu-item):focus{ + color: #ffffff !important; + background-color: #206ce8 !important; + border: none !important; + } + + + + margin-left: 20px; +} +:deep(.el-menu--horizontal.el-menu ){ + border-bottom: none !important; +} + +:deep(.el-menu) { + background-color: transparent !important; +} \ No newline at end of file