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