From e943d5c81c311fc9eb51513c018689b6978ae135 Mon Sep 17 00:00:00 2001 From: birt <2499248221@qq.com> Date: 星期日, 13 四月 2025 13:08:54 +0800 Subject: [PATCH] 123123 --- zhitan-vue/src/assets/styles/index.scss | 53 +++++++++++++++++++++++++++++++++++------------------ 1 files changed, 35 insertions(+), 18 deletions(-) diff --git a/zhitan-vue/src/assets/styles/index.scss b/zhitan-vue/src/assets/styles/index.scss index 9ef36a6..c31570b 100644 --- a/zhitan-vue/src/assets/styles/index.scss +++ b/zhitan-vue/src/assets/styles/index.scss @@ -207,22 +207,39 @@ } } -/* 鍏ㄥ眬婊氬姩鏉℃牱寮� */ -::-webkit-scrollbar { - width: 6px; - height: 6px; -} - -::-webkit-scrollbar-track { - background-color: rgba(0, 0, 0, 0.05); - border-radius: 10px; -} - -::-webkit-scrollbar-thumb { - background-color: rgba(144, 147, 153, 0.3); - border-radius: 10px; -} - -::-webkit-scrollbar-thumb:hover { - background-color: rgba(144, 147, 153, 0.5); +/* 鎶樺彔鑿滃崟鏍峰紡璋冩暣锛岀‘淇濆湪鎵�鏈夋儏鍐典笅鑿滃崟椤瑰眳涓� */ +.el-menu--collapse { + width: 54px !important; + + .el-sub-menu, .el-menu-item { + width: 36px !important; + min-width: 36px !important; + margin-left: 9px !important; /* 鍏抽敭锛氳缃浐瀹氱殑宸﹁竟璺�9px浣胯彍鍗曢」灞呬腑 */ + margin-right: 9px !important; + } + + .el-menu-item, .el-sub-menu__title { + display: flex !important; + justify-content: center !important; + align-items: center !important; + padding: 0 !important; + + .svg-icon, .el-icon { + margin: 0 !important; /* 閲嶈锛氱Щ闄ゅ浘鏍囩殑鎵�鏈夎竟璺� */ + } + + .el-sub-menu__icon-arrow { + display: none !important; + } + + > span { + display: none !important; + } + } + + /* 閫変腑鐘舵�佹牱寮� */ + .el-menu-item.is-active, .el-sub-menu.is-active > .el-sub-menu__title { + background-color: #3883FA !important; + color: #fff !important; + } } \ No newline at end of file -- Gitblit v1.9.3