🐛(component): 调整 menu 的 popup menu 背景色
This commit is contained in:
parent
65957dd31d
commit
36d7f20b5b
@ -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%;
|
||||
|
@ -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(() => {
|
||||
|
@ -33,6 +33,7 @@
|
||||
</lay-sub-menu>
|
||||
</lay-sub-menu>
|
||||
</lay-menu>
|
||||
<br/>
|
||||
<lay-menu v-model:selected-key="selectedKey" v-model:open-keys="openKeys1" theme="light">
|
||||
<lay-menu-item id="1"><router-link to="/">hahah </router-link></lay-menu-item>
|
||||
<lay-menu-item id="2">首页</lay-menu-item>
|
||||
|
Loading…
x
Reference in New Issue
Block a user