🐛(component): 修复 menu 横向导航栏嵌套 router 颜色不兼容问题
This commit is contained in:
parent
d3609d636d
commit
1cbb0c7eb2
@ -49,7 +49,9 @@
|
||||
.layui-nav .layui-nav-item > a {
|
||||
display: block;
|
||||
padding: 0 30px;
|
||||
* {
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
}
|
||||
|
||||
.layui-nav .layui-this:after,
|
||||
@ -75,8 +77,8 @@
|
||||
}
|
||||
|
||||
.layui-nav .layui-nav-item a:hover,
|
||||
.layui-nav .layui-this a {
|
||||
color: #fff;
|
||||
.layui-nav .layui-this * {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.layui-nav .layui-this:after {
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
<template>
|
||||
<lay-menu v-model:selected-key="selectedKey" v-model:open-keys="openKeys1">
|
||||
<lay-menu-item id="1">首页</lay-menu-item>
|
||||
<lay-menu-item id="1"><router-link to="/">hahah </router-link></lay-menu-item>
|
||||
<lay-menu-item id="2">首页</lay-menu-item>
|
||||
<lay-menu-item id="3">首页</lay-menu-item>
|
||||
<lay-sub-menu id="7">
|
||||
|
Loading…
Reference in New Issue
Block a user