This commit is contained in:
@@ -20,7 +20,11 @@ $(function () {
|
||||
});
|
||||
const mySwiper = new Swiper(".swiper", {
|
||||
loop: true, // 循环模式选项
|
||||
autoplay: true,
|
||||
autoplay: {
|
||||
delay: 5000, // 5秒自动切换
|
||||
disableOnInteraction: false, // 用户操作后继续自动播放
|
||||
},
|
||||
speed: 800, // 切换速度
|
||||
// 如果需要分页器
|
||||
pagination: {
|
||||
el: ".swiper-pagination",
|
||||
|
||||
Reference in New Issue
Block a user