微信小程序中自定义swiper轮播图面板指示点的样式

时间:2017-01-17 18:54:14   收藏:0   阅读:6710

技术分享

重置样式:

.swiper{
    width: 100%;
    height: 240px;
    margin-bottom: 0.5rem;
    position:relative;
}
div.wx-swiper-dots.wx-swiper-dots-horizontal{
    position:absolute;
    right:0;
    bottom:0;
}

后面板指示点的整体位置并没有处于图片的右下方,如果有同仁遇到此问题,请在评论区给予相应的解释,谢谢!

http://www.qianduan8.com/1009.html

https://segmentfault.com/q/1010000007050871

https://segmentfault.com/q/1010000007333083

原文:http://www.cnblogs.com/loveamyforever/p/6294009.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!