This commit is contained in:
@@ -18,7 +18,7 @@ $(function () {
|
|||||||
prevEl: '.swiper-button-prev',
|
prevEl: '.swiper-button-prev',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const mySwiper = new Swiper(".swiper", {
|
const mySwiper = new Swiper(".banner-cont", {
|
||||||
loop: true, // 循环模式选项
|
loop: true, // 循环模式选项
|
||||||
autoplay: {
|
autoplay: {
|
||||||
delay: 5000, // 5秒自动切换
|
delay: 5000, // 5秒自动切换
|
||||||
|
|||||||
Reference in New Issue
Block a user