// new WOW().init(); // 首屏banner轮播 let swiper = new Swiper(".mySwiper", { autoplay: { delay: 5000, stopOnLastSlide: false, disableOnInteraction: false, }, speed: 800, loop: true, navigation: { nextEl: ".mySwiper .swiper-point .next", prevEl: ".mySwiper .swiper-point .prev", }, }); // 发展历程 let swiper2 = new Swiper(".mySwiper2", { speed: 800, // centeredSlides: true, // loop: true, slidesPerView: 3, noSwiping: true, breakpoints: { 320: { slidesPerView: 1, spaceBetween: 0, }, 768: { slidesPerView: 1, spaceBetween: 10, }, 1280: { slidesPerView: 3, spaceBetween: 20, } }, // pagination: { // el: ".development-path .w1200 .path-swiper .mySwiper2 .swiper-pagination", // clickable: true, // }, navigation: { nextEl: ".development-path .w1200 .path-swiper .mySwiper2 .button-next", prevEl: ".development-path .w1200 .path-swiper .mySwiper2 .button-prev", }, }); // 导航阴影样式 $(window).scroll(function() { if($(document).scrollTop() > 500) { $('.pc-header').addClass('on') }else { $('.pc-header').removeClass('on') } }) $('.pc-footer .box .footer-bottom .share .ewm_box .bshare-custom .pp').click(function() { window.open($(this).attr('data')) }) // 手机 phone 导航 $('.phone-header .box .right .button').click(function () { $(this).toggleClass('active'); $('.phone_nav').slideToggle(); $('body').toggleClass('on') }); $('.phone_nav .box .item > p').click(function () { $(this).find('i').toggleClass('active'); $(this).next().slideToggle(); }) $('.phone-header .box .right .search a svg').click(function() { $('.search-down').slideToggle() })