/* */
.wx-swiper-dots{position:relative;left:10% !important;top: 460rpx;}
.wx-swiper-dot {
height: 12rpx;
width: 12rpx;
}
/* 选中前 */
.wx-swiper-dot {
width: 12rpx;
height: 12rpx;
border-radius: 5rpx;
background: rgba(0,0,0,0.2);
}
/* 选中后 */
.wx-swiper-dot-active {
width: 28rpx !important;
height: 12rpx !important;
border-radius: 6rpx !important;
background: rgba(0,0,0,0.4);
}
微信小程序 改变swiper指示点颜色形状位置
最新推荐文章于 2025-05-19 14:53:27 发布
该代码段定义了微信小程序中滑块指示点的样式,包括普通状态和选中状态的大小、圆角和背景色,用于增强用户界面的视觉反馈。
826

被折叠的 条评论
为什么被折叠?



