From 085fa2fb257e9f11f8f6d34bf12e2dc281c36b4d Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期四, 09 二月 2023 11:28:21 +0800
Subject: [PATCH] 2023/2/9 肖辉 修改部门管理
---
src/views/layout/components/Menu/index.vue | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/views/layout/components/Menu/index.vue b/src/views/layout/components/Menu/index.vue
index a482eee..5c71c7f 100644
--- a/src/views/layout/components/Menu/index.vue
+++ b/src/views/layout/components/Menu/index.vue
@@ -14,7 +14,7 @@
>
<template slot="title">
<span slot="prefix" class="icon-padding fisrtSpan">
- <svg-icon :icon-class="menu.icon"></svg-icon>
+ <svg-icon class="icon-title" :icon-class="menu.icon"></svg-icon>
</span>
<span class="fisrtSpan">{{ menu.title }}</span>
</template>
@@ -96,10 +96,14 @@
<style lang="scss" scpoed>
.icon-padding {
padding-right: 10px;
+ .icon-title{
+ width: 36px;
+ height: 36px;
+ }
}
.el-aside {
- background: #07162e;
+ background: #313350;
color: #e9eef3;
text-align: center;
box-sizing: border-box;
@@ -116,6 +120,7 @@
top: 0;
left: 0;
z-index: 999;
+ cursor: pointer;
}
.el-scrollbar {
@@ -124,11 +129,11 @@
box-sizing: border-box;
.el-menu {
- background: linear-gradient(#07162e, #0f2b56);
+ background: linear-gradient(#313350, #0f2b56);
border: 0;
.firstMenu {
- background: #07162e;
+ background: #313350;
text-align: left;
&:hover > .el-submenu__title {
@@ -146,7 +151,7 @@
.el-menu-item {
color: #e9eef3;
- background-color: #07162e;
+ background-color: #313350;
}
.el-menu-item:hover {
@@ -155,7 +160,7 @@
}
.is-active {
- background-color: #07162e;
+ background-color: #313350;
color: #22d3eb;
}
}
--
Gitblit v1.8.0