vue—el-menu-item更改导航菜单栏选中的背景颜色 .el-menu-item.is-active { background-color: #3370ff !important;//选中背景色 color: #fff;//选中颜色 span { color: #fff !important; } }