Browse Source

修改swiper

master
suomingxiang 2 months ago
parent
commit
d267faeffd
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/pages/index/App.js

+ 1
- 0
src/pages/index/App.js View File

234
                 // autoplay: true,//可选选项,自动滑动
234
                 // autoplay: true,//可选选项,自动滑动
235
                 autoplay: {
235
                 autoplay: {
236
                     delay: 3000,//1秒切换一次
236
                     delay: 3000,//1秒切换一次
237
+                    disableOnInteraction: false,
237
                   },
238
                   },
238
                 autoHeight: true,
239
                 autoHeight: true,
239
                 slidesPerView: "auto",
240
                 slidesPerView: "auto",

Loading…
Cancel
Save