$(function() { $('.banner .slick').slick({ autoplay: true, dots: true, arrows: false, accessibility: true, speed: 1500, responsive: [{ breakpoint: 1201, settings: { dots: true } }] }); $('.s1-l>ul').slick({ autoplay: true, dots: false, arrows: false, accessibility: true }); $(".s1-r .s1-tit ul li").click(function() { $(this).addClass("on").siblings().removeClass("on"); var i = $(this).index(); $(".s1-r .s1-bd>ul").eq(i).stop().fadeIn().siblings().hide(); }) $('.s4-c>div>ul').slick({ slidesToShow: 4, slidesToScroll: 1, dots: false, arrows: true, responsive: [{ breakpoint: 1025, settings: { slidesToShow: 4, slidesToScroll: 1 } }, { breakpoint: 769, settings: { slidesToShow: 2, slidesToScroll: 1 } }, { breakpoint: 481, settings: { slidesToShow: 2, slidesToScroll: 1 } }] }); $(".s3-c .s3-prev").click(function() { $(".s3-c .slick-prev").click(); }) $(".s3-c .s3-next").click(function() { $(".s3-c .slick-next").click(); }) $(".s2-l ul li").mouseenter(function() { $(this).addClass("on").siblings().removeClass("on"); }); });