/* 多选框 */
checkbox .wx-checkbox-input {
width: 34rpx;
height: 34rpx;
border-radius: 50%;
}
/*checkbox选中后样式 */
checkbox .wx-checkbox-input.wx-checkbox-input-checked {
background: #7B76E6;
border-color: #7B76E6;
}
/*checkbox选中后图标样式 */
checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
width: 20rpx;
height: 20rpx;
line-height: 20rpx;
text-align: center;
font-size: 22rpx;
color: #fff;
background: transparent;
transform: translate(-50%, -50%) scale(1);
-webkit-transform: translate(-50%, -50%) scale(1);
}
/* 重写 radio 样式 */
/* 未选中的 背景样式 */
radio .wx-radio-input{
border-radius: 50%;/* 圆角 */
width: 25rpx;
height: 25rpx;
}
/* 选中后的 背景样式 (无背景 紫色边框 可根据UI需求自己修改) */
radio .wx-radio-input.wx-radio-input-checked{
border:1px solid #9E50F2;
background: transparent;
}
/* 选中后的 对勾样式 (紫色圆圈 可根据UI需求自己修改) */
radio .wx-radio-input.wx-radio-input-checked::before{
border-radius: 50%;/* 圆角 */
width: 18rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
height: 18rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
line-height: 40rpx;
text-align: center;
background-color: #9E50F2;
border-radius: 50%;
font-size:0rpx; /* 对勾大小 0rpx */
color:#9E50F2; /* 对勾颜色 */
transform:translate(-50%, -50%) scale(1);
-webkit-transform:translate(-50%, -50%) scale(1);
}