5***@qq.com
5***@qq.com
  • 发布:2019-01-22 10:42
  • 更新:2020-12-23 17:44
  • 阅读:9722

uniapp如何改变轮播图的圆点样式

分类:uni-app

uniapp如何改变轮播图的圆点样式

2019-01-22 10:42 负责人:无 分享
已邀请:
BigSeven

BigSeven

你可以搜索小程序swiper 自定义dot样式

slj

slj

app.vue 直接修改 uni-swiper .uni-swiper-dot {

    display: inline-block;  

    width: 14px !important;  

    height: 4px !important;  

    cursor: pointer;  

    -webkit-transition-property: background-color;  

    transition-property: background-color;  

    -webkit-transition-timing-function: ease;  

    transition-timing-function: ease;  

    background: rgba(255, 255, 255, .3);  

    border-radius: 5px !important  
}  

uni-swiper .uni-swiper-dot-active {  

    width: 20px !important;  

    background-color: #fff !important;  

}

该问题目前已经被锁定, 无法添加新回复