AOS.init({ disable: 'mobile', // accepts following values: 'phone', 'tablet', 'mobile', boolean, expression or function startEvent: 'DOMContentLoaded', // name of the event dispatched on the document, that AOS should initialize on initClassName: 'aos-init', // class applied after initialization animatedClassName: 'aos-animate', // class applied on animation useClassNames: false, // if true, will add content of `data-aos` as classes on scroll disableMutationObserver: false, // disables automatic mutations' detections (advanced) debounceDelay: 50, // the delay on debounce used while resizing window (advanced) throttleDelay: 99, // the delay on throttle used while scrolling the page (advanced) // Settings that can be overridden on per-element basis, by `data-aos-*` attributes: offset: 50, // offset (in px) from the original trigger point delay: 0, // values from 0 to 3000, with step 50ms duration: 1000, // values from 0 to 3000, with step 50ms easing: 'ease', // default easing for AOS animations mirror: false, // whether elements should animate out while scrolling past them anchorPlacement: 'top-bottom', // defines which position of the element regarding to window should trigger the animation }); $('.banner').slick({ dots: true, autoplay: true, autoplaySpeed: 9000, vertical: false, fade: true, verticalSwiping: true }); $('.mode5ul').slick({ dots: false, infinite: true, autoplay: true, speed: 2000, autoplaySpeed: 2000, slidesToShow: 7, slidesToScroll: 2, responsive: [ { breakpoint: 1024, settings: { slidesToShow: 4, slidesToScroll: 2, } }, { breakpoint: 600, settings: { slidesToShow: 3, slidesToScroll: 1, } }, { breakpoint: 480, settings: { slidesToShow: 2, slidesToScroll: 1 } } ] }); $('.mode6ul').slick({ dots: false, infinite: false, autoplay: true, speed: 2000, slidesToShow: 5, slidesToScroll: 1, responsive: [ { breakpoint: 1024, settings: { slidesToShow: 4, slidesToScroll: 1, } }, { breakpoint: 600, settings: { slidesToShow: 3, slidesToScroll: 1, } }, { breakpoint: 480, settings: { slidesToShow: 2, slidesToScroll: 1 } } ] }); $(".mode03").tab( { ev: 'mouseover', more: true, til: '.til', //默认标签 box: '.mode3ul', auto: false }); $('.linktop').click(function(){ $(this).children('.ic1').toggleClass('on') $('.linkdl').toggleClass('on') })