clickable: true, loop: true, pagination: { el: pagination, clickable: true, dynamicBullets: true, }, breakpoints: { 320: { //褰撳睆骞曞搴﹀ぇ浜庣瓑浜�320 slidesPerView: 1, spaceBetween: 20, }, 500: { //褰撳睆骞曞搴﹀ぇ浜庣瓑浜�768 slidesPerView: 2, spaceBetween: 20, }, 1201: { //褰撳睆骞曞搴﹀ぇ浜庣瓑浜�1280 slidesPerView: 3, spaceBetween: 60, } } }); }, }); $(".china03 .china-bottom .citem").each(function (index) { $.swiperhuigu($(this).find(".swiper"), $(this).find(".swiper-pagination")); }); $.extend({ "download": function (gundong, pagination) { new Swiper(gundong, { autoplay: true, speed: 300, slidesPerView: 3, spaceBetween: 60, paginationClickable: true, observer: true, observeParents: true, clickable: true, loop: true, pagination: { el: pagination, clickable: true, dynamicBullets: true, }, breakpoints: { 320: { //褰撳睆骞曞搴﹀ぇ浜庣瓑浜�320 slidesPerView: 1, spaceBetween: 20, }, 500: { //褰撳睆骞曞搴﹀ぇ浜庣瓑浜�768 slidesPerView: 2, spaceBetween: 20, }, 1201: { //褰撳睆骞曞搴﹀ぇ浜庣瓑浜�1280 slidesPerView: 3, spaceBetween: 60, } } }); }, }); $(".china04 .show .info").each(function (index) { $.download($(this).find(".swiper"), $(this).find(".swiper-pagination")); }); $(".china04 .list ul li a").hover(function () { var i = $(this).parent().index(); $(this).parent().addClass("active").siblings().removeClass("active"); $('.china04 .show .info').eq(i).addClass("cur").siblings().removeClass("cur") }) }