From 6d9d36f3701f9be12e1c1ef1047229b297a85c8a Mon Sep 17 00:00:00 2001 From: lmj <3407000732@qq.com> Date: Thu, 8 Sep 2022 10:58:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Index.vue | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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布局的支持不是很好的浏览器中可能需要用到。