首先注意事项:
1.如果组件中使用了radio 这个时候在component 修改样式无效,得在page wxss中写
2.radio的check状态的勾子大小用 font-size去改变
.wx-radio-input{}// 未选中
.wx-radio-input.wx-radio-input-checked{}//选中
.wx-radio-input.wx-radio-input-checked::before{}//选中的小勾
其他官方组件默认样式修改的对应class
swiper
.wx-swiper-dots.wx-swiper-dots-horizontal{
margin:20px //调整位置
}
.wx-swiper-dot{}//指示点未选中样式
.wx-swiper-dot-active{}//指示点选中样式
button 去边框
button::after { border: none; }
checkbox
.wx-checkbox-input{}//未选中的框
.wx-checkbox-input.wx-checkbox-input-checked{}//选中的框
.wx-checkbox-input.wx-checkbox-input-checked::before{}//选中的框里的小勾