diff --git a/src/core/view/components/swiper/index.vue b/src/core/view/components/swiper/index.vue index a5506b5d03bef2a27e9aa532020410b3d8d41e3b..7d071135157927831907dddac99f64f67d14c4bb 100644 --- a/src/core/view/components/swiper/index.vue +++ b/src/core/view/components/swiper/index.vue @@ -567,7 +567,7 @@ export default { slidesDots.push(createElement('div', { class: { 'uni-swiper-dot': true, - 'uni-swiper-dot-active': index === this.currentSync + 'uni-swiper-dot-active': (index < this.currentSync + this.displayMultipleItemsNumber && index >= this.currentSync) || (index < this.currentSync + this.displayMultipleItemsNumber - this.items.length) }, style: { 'background': index === this.currentSync ? this.indicatorActiveColor : this.indicatorColor