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

时间:2020-05-15 11:53:31   收藏:0   阅读:168
//按钮
.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;
}
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!