ui设计图长酱紫~~
上代码:
// 未选中
.el-menu-item::before {
content: '';
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #686868;
color: #686868;
margin-right: 8px;
display: inline-block;
}
// 选中
.el-menu-item.is-active::before {
content: '';
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #9BFF37;
color: #9BFF37;
margin-right: 8px;
display: inline-block;
box-shadow: 2px 2px 2px #686868;
}
.el-menu-item.is-active {
color: #fff !important;
background-image: url('../assets/screen/item.png');
background-size: 90% 70%;
background-repeat: no-repeat;
}