小程序实轮播图自定义指示点


//按钮
.wx-swiper-dots.wx-swiper-dots-horizontal{
margin-bottom: 5rpx;
float: left;
text-align: center;
}
.wx-swiper-dot::before{
content: '';
flex-grow: 1;
background: white;
border-radius: 15rpx;
border: 0rpx;
opacity: 0.5;
}
.wx-swiper-dot.wx-swiper-dot{
width: 12rpx;
height: 12rpx;
border-radius: 12rpx;
background: white;
opacity: 0.5;
}
.wx-swiper-dot.wx-swiper-dot-active{
width: 30rpx;
height: 12rpx;
border-radius: 12rpx;
background:white;
opacity: 1;
}


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM