打发发达 大法
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yiqiu
2025-11-23 00:46:33 +08:00
parent 93d894c940
commit 191c63a90b
2 changed files with 8 additions and 4 deletions

View File

@@ -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",