小程序swiper自定義分頁器(指示點)樣式

社區鏈接:

swiper 設置指示點顯示位置

關於swiper組件的指示點

/* 方法一 */
.wx-swiper-dots {
  position: relative;
  left: unset !important;
  right: 0;
}
.wx-swiper-dots .wx-swiper-dots-horizontal {
  margin-bottom: -5rpx;
}
/* 方法二 */
.wx-swiper-dots .wx-swiper-dots-horizontal{}
.wx-swiper-dot{}
.wx-swiper-dot-active{}

代碼示例僅供參考
具體參考上面社區鏈接代碼

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章