社區鏈接:
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{}
代碼示例僅供參考
具體參考上面社區鏈接代碼