diff --git a/src/views/Index.vue b/src/views/Index.vue index 1d221ee7..832beae1 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -3,10 +3,7 @@
- - - - + @@ -364,11 +361,8 @@ export default { return { resonimg:[ ], swiperOption: { - autoplay : { - disableOnInteraction: false, //用户操作后是否禁止自动循环 - delay: 3000 //自自动循环时间 - }, //可选选项,自动滑动 - speed: 2000, //切换速度,即slider自动滑动开始到结束的时间(单位ms) + autoplay:true, //可选选项,自动滑动 + speed: 1000, //切换速度,即slider自动滑动开始到结束的时间(单位ms) loop:true, //循环切换 grabCursor: true, //设置为true时,鼠标覆盖Swiper时指针会变成手掌形状,拖动时指针会变成抓手形状 // setWrapperSize: true, //Swiper使用flexbox布局(display: flex),开启这个设定会在Wrapper上添加等于slides相加的宽或高,在对flexbox布局的支持不是很好的浏览器中可能需要用到。