/*checkbox 选项框大小 */
checkbox .wx-checkbox-input {
border-radius: 50%;
width: 50rpx;
height: 50rpx;
}
/*checkbox选中后样式 */
checkbox .wx-checkbox-input.wx-checkbox-input-checked {
background: #07c160;
}
/*checkbox选中后图标样式 */
checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
border-radius: 50%;
font-size: 30rpx;
color: #fff;
background: transparent;
transform: translate(-45%, -55%) scale(1);
-webkit-transform: translate(-45%, -55%) scale(1);
}
微信小程序checkbox样式修改
最新推荐文章于 2024-05-21 15:46:26 发布