|
@@ -17,7 +17,7 @@ Page({
|
|
interval: 5000,
|
|
interval: 5000,
|
|
duration: 500,
|
|
duration: 500,
|
|
currentSwiper:0,
|
|
currentSwiper:0,
|
|
- indicatorDots:true,
|
|
|
|
|
|
+ // indicatorDots:true,
|
|
grayTheme:false
|
|
grayTheme:false
|
|
},
|
|
},
|
|
|
|
|
|
@@ -77,9 +77,12 @@ Page({
|
|
|
|
|
|
},
|
|
},
|
|
swiperChange: function(e) {
|
|
swiperChange: function(e) {
|
|
- this.setData({
|
|
|
|
- currentSwiper: e.detail.current
|
|
|
|
- })
|
|
|
|
|
|
+ if (e.detail.current != this.data.currentSwiper) {
|
|
|
|
+ this.setData({
|
|
|
|
+ currentSwiper: e.detail.current
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+
|
|
},
|
|
},
|
|
|
|
|
|
//跳转超值券包
|
|
//跳转超值券包
|