修改小程序swiper组件面板指示点样式

发布于 4 年前作者 shiming2642 次浏览最后编辑 4 年前来自 share

修改当前显示眯的宽度及圆角值,记得加!important;如下所示:

.wx-swiper-dot-active{
    width:25px !important;
    border-radius: 5px !important;
}

1 回复
yan90
yan901 楼1 个月前

样式优先执行,覆盖父级