在使用uniapp原生radio组件时发现官方没有说明如何修改单选框里面的勾勾
虽然这个勾勾也能用,但是我想要的是这种样式
在找了一些资料后代码如下:
::v-deep .uni-radio-input svg {
background-color: #84b2ef !important;
border-color: #84b2ef !important;
background-clip: content-box !important;
padding: 6rpx !important;
box-sizing: border-box;
border-radius: 50%;
width: 25px;
height: 25px;
}
::v-deep .uni-radio-input svg path{
fill: #84b2ef !important;
}
::v-deep .uni-radio-input {
background-color: white !important;
border-color: #cce4ff !important;
}