From ef0aa723401348b1419e26bce489172042759482 Mon Sep 17 00:00:00 2001 From: xzs02 Date: Fri, 4 Jan 2019 11:39:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3swiper=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=90=8C=E6=97=B6=E6=98=BE=E7=A4=BA=E5=A4=9A=E4=B8=AA?= =?UTF-8?q?swiper-item=E6=97=B6=E6=8C=87=E7=A4=BA=E5=99=A8=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=8D=E6=AD=A3=E7=A1=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/view/components/swiper/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/view/components/swiper/index.vue b/src/core/view/components/swiper/index.vue index a5506b5d..7d071135 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 -- GitLab