diff --git a/src/views/Index.vue b/src/views/Index.vue
index 869b81bc..6ea849d3 100644
--- a/src/views/Index.vue
+++ b/src/views/Index.vue
@@ -4,12 +4,12 @@
-
+
-
+
@@ -478,6 +478,7 @@
disableOnInteraction: false,
delay: 2000,
},
+ noSwiping: true,
speed: 3000, //切换速度,即slider自动滑动开始到结束的时间(单位ms)
loop: true, //循环切换
peed: 300, //循环速度
@@ -679,6 +680,13 @@
let key = 'index';
apiPlace.detail(key).then(res => {
let lmj = JSON.parse(res.result.content)
+ if(this.resonimg.length < 1) {
+ this.swiperOption.autoplay = false;
+ this.swiperOption.loop = false;
+ this.swiperOption.speed = 0;
+ this.swiperOption.peed = 0;
+ this.swiperOption.freeMode = false;
+ }
this.resonimg = lmj
// console.log(this.resonimg)
})