样式部分: 定义了三个CSS类(.radio-button-general、.radio-button-urgent、.radio-button-important),每个类针对.el-radio-button__inner元素设置了不同的--el-radio-button-checked-bg-color、--el-radio-button-checked-text-color和--el-radio-button-checked-border-color自定义属性,用于控制选中时的背景色...
<el-radio-button label="2">自荐</el-radio-button> </el-radio-group> CSS 修改样式 ::v-deep .el-radio-button__inner { width: 100px; height: 36px; border:0!important; font-size: 14px; font-weight:400; color: #696969; line-height: 14px; outline: none; box-shadow: none; }//...
} el-radio-button自定义样式和激活样式 需求是这样的 用的是el-radio-button <el-radio-group v-model="staffInfo.sex"> <el-radio-button label="1">男</el-radio-button> <el-radio-button label="2">女</el-radio-button> </el-radio-group> 样式修改 ::v-deep.el-radio-button{ margin-right...