鼠标移入: .el-menu-item:hover { color: #a0cfff; background-color: #eaeeff !important; } 选中: .el-menu-item.is-active { color: #6681fa; background-color: #eaeeff !important; }