From 36d7f20b5b0a08b809dc13c8636d6e609639c57b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Sat, 10 Sep 2022 02:47:35 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(component):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=20menu=20=E7=9A=84=20popup=20menu=20=E8=83=8C=E6=99=AF?= =?UTF-8?q?=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/menu/index.less | 2 +- package/component/src/component/subMenu/SubMenuPopup.vue | 5 +---- .../document-component/src/document/zh-CN/components/menu.md | 1 + 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package/component/src/component/menu/index.less b/package/component/src/component/menu/index.less index 2427722f..398d7678 100644 --- a/package/component/src/component/menu/index.less +++ b/package/component/src/component/menu/index.less @@ -315,7 +315,7 @@ .layui-sub-menu-popup-content { border: unset; border-radius: 2px; - background-color: #353535; + background-color: #393d49; .layui-nav-item { width: 100%; diff --git a/package/component/src/component/subMenu/SubMenuPopup.vue b/package/component/src/component/subMenu/SubMenuPopup.vue index ea1fa3ef..f4f00fb7 100644 --- a/package/component/src/component/subMenu/SubMenuPopup.vue +++ b/package/component/src/component/subMenu/SubMenuPopup.vue @@ -26,10 +26,7 @@ const isOpen = computed(() => { }); const computedTheme = computed(() => { - if (isTree.value) { - return theme.value === "light" ? "-light" : ""; - } - return theme.value === "light" ? "" : "-light"; + return theme.value === "light" ? "-light" : ""; }); const computedExpandIcon = computed(() => { diff --git a/package/document-component/src/document/zh-CN/components/menu.md b/package/document-component/src/document/zh-CN/components/menu.md index e35fa194..5046dadf 100644 --- a/package/document-component/src/document/zh-CN/components/menu.md +++ b/package/document-component/src/document/zh-CN/components/menu.md @@ -33,6 +33,7 @@ +
hahah 首页