实现菜单的状态显示

This commit is contained in:
GoEdgeLab
2020-09-27 18:40:55 +08:00
parent 27e85a450a
commit 1353ad9e6d
17 changed files with 190 additions and 15 deletions

View File

@@ -31,6 +31,25 @@
margin-bottom: 0 !important;
}
.item.on {
span {
border-bottom: 1px #666 dashed;
}
}
.item.off {
span {
var {
font-style: normal;
background: #db2828;
color: white;
font-size: 8px;
padding: 2px;
border-radius: 2px;
margin-left: 1em;
}
}
}
// .header需要在.item下面
.header {
border-bottom: 1px #ddd solid;