优化监控中心样式

This commit is contained in:
fks-yangshouda
2024-08-15 16:25:13 +08:00
parent a47f8ae50f
commit df589c5a8e
3 changed files with 63 additions and 4 deletions

View File

@@ -556,4 +556,19 @@
},
});
</script>
<style lang="less" scoped></style>
<style lang="less" scoped>
::v-deep .ant-radio-button-wrapper-checked {
border: none !important; /* 移除选中时的边框 */
box-shadow: none !important; /* 移除选中时的阴影 */
background-color: #2778ff !important; /* 使用 !important 强制覆盖背景颜色 */
color: #ffffff !important; /* 使用 !important 强制覆盖文字颜色 */
}
/* 未选中时的颜色 */
::v-deep .ant-radio-button-wrapper {
// border: none !important; /* 移除所有边框 */
box-shadow: none !important; /* 去掉阴影(如果有的话) */
background-color: #f9f9f9;
color: #2778ff;
border-color: #2778ff;
}
</style>