From c7adde9bf8238b025d41805c5ff58ea299f5dcab Mon Sep 17 00:00:00 2001 From: wangweidong <850489345@qq.com> Date: Fri, 31 Oct 2025 11:19:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A6=E4=BE=A7=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SimpleMenu/src/SimpleMenu.vue | 35 +++----------------- 1 file changed, 5 insertions(+), 30 deletions(-) diff --git a/src/components/SimpleMenu/src/SimpleMenu.vue b/src/components/SimpleMenu/src/SimpleMenu.vue index 63caed6..da1220c 100644 --- a/src/components/SimpleMenu/src/SimpleMenu.vue +++ b/src/components/SimpleMenu/src/SimpleMenu.vue @@ -194,10 +194,7 @@ @import './index.less'; .jeecg-menu-vertical .jeecg-menu-item:hover, .jeecg-menu-vertical .jeecg-menu-submenu-title:hover { color: #000 !important; - border-radius: 8px; - // background: #c9cacc; - // margin: 10px 20px 0 20px; - // transform: scale(1.02); + border-radius: 8px; } .jeecg-menu-light.jeecg-menu-vertical .jeecg-menu-item-active:not(.jeecg-menu-submenu)::after { background-color: #FBFBFD !important; @@ -214,8 +211,6 @@ .jeecg-menu-light.jeecg-menu-vertical .jeecg-menu-item-active.jeecg-menu-submenu { color: #828284 !important; border-radius: 6px; - padding-bottom: 10px;; - } .jeecg-menu-vertical .jeecg-menu-item, .jeecg-menu-vertical .jeecg-menu-submenu-title { position: relative; @@ -223,14 +218,14 @@ text-overflow: ellipsis; white-space: nowrap; cursor: pointer; - margin-top: 10px; - padding: 8px; + padding: 8px 8px 8px 16px !important; } .jeecg-menu-item-active>.jeecg-menu-submenu-title{ background: #f7f8fa; border-radius: 6px; + padding-left: 16px !important; } .ant-drawer-close { position: absolute; @@ -244,41 +239,21 @@ position: relative; min-height: 0; padding: 3px; } - -.jeecg-menu-item-active .jeecg-menu>li>.jeecg-menu-submenu-title{ - padding-left:0 !important; -} - .jeecg-menu-item-active>.jeecg-menu{ - margin-top:10px; background: #FBFBFD; // border-radius: 6px; } - .jeecg-menu-submenu .jeecg-simple-menu__parent{ - width:85% !important; - } -.jeecg-menu-submenu, .jeecg-menu-opened, .jeecg-simple-menu__parent .jeecg-menu>.jeecg-menu-submenu,.jeecg-simple-menu__parent{ - margin:5px auto; - padding-left:0 !important; -} .jeecg-menu-vertical .jeecg-menu-item{ width: 100%; padding-left: 16px !important; } -.jeecg-menu-submenu, .jeecg-menu-opened, .jeecg-simple-menu__parent .jeecg-menu-submenu-title{ - padding-left: 8px !important; -} -.jeecg-menu-item-active .jeecg-menu>li>.jeecg-menu-submenu-title{ - padding-left: 10px !important; -} .jeecg-menu-light .jeecg-menu{ width: 100%; - margin: 5 auto; border-radius: 6px; - padding: 2px 0; >li{ - width: 85%; + width: 92%; margin:5px auto; + padding-left: 16px !important; } }