This commit is contained in:
砂糖
2026-02-09 09:34:32 +08:00
commit aed959eb2f
187 changed files with 3518 additions and 0 deletions

30
assets/js/main.js Normal file
View File

@@ -0,0 +1,30 @@
// 初始化公司照片轮播图
$('.company-slider').slick({
dots: true,
infinite: true,
speed: 500,
slidesToShow: 3,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 5000,
arrows: true,
prevArrow: '<button type="button" class="slick-prev"><i class="fas fa-chevron-left"></i></button>',
nextArrow: '<button type="button" class="slick-next"><i class="fas fa-chevron-right"></i></button>',
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 2,
slidesToScroll: 1
}
},
{
breakpoint: 768,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
arrows: false
}
}
]
});