🐛(component): 调整 menu 的 popup menu 背景色

This commit is contained in:
就眠儀式
2022-09-10 02:47:35 +08:00
parent 65957dd31d
commit 36d7f20b5b
3 changed files with 3 additions and 5 deletions

View File

@@ -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%;

View File

@@ -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(() => {