src/page/index/sidebar/index.vue
@@ -38,4 +38,24 @@ }, }; </script> <style lang="scss" scoped></style> <style lang="scss" scoped> .el-menu{ :deep(){ .el-menu-item.is-active{ background: linear-gradient( 90deg, rgba(179,194,255,0.02) 0%, rgba(20,65,255,0.09) 100%) !important; border-radius: 16px 16px 16px 16px; i,span{ color: rgba(20, 65, 255, 1) !important; } } .el-sub-menu i{ font-size: 16px; } .el-menu-item i{ font-size: 16px; } } } </style>