小程序 swiper组件的原点自定义修改

默认原点样式
.banner .wx-swiper-dot{background: #ddd;width: 10rpx;height: 10rpx;border-radius: 50%;}
选中原点样式
.banner .wx-swiper-dot-active{width: 30rpx;height: 10rpx;border-radius: 10rpx;background: #ff2d00;}

猜你喜欢

转载自blog.csdn.net/jiaodeqiangs/article/details/100511941
今日推荐