$require(['swiper'], function () { var honorswip = new swiper('.honorswip', { effect: 'coverflow', slidesperview: 3, loop: true, loopadditionalslides: 3, loopedslides: 5, coverfloweffect: { rotate: 20, stretch: "50%", depth: 20, modifier: 1, slideshadows: true }, speed: 800, autoplay: { delay: 3000 }, mousewheel: false, pagination: { el: '.honorswip .swiper-pagination', clickable: true, }, breakpoints: { 768: { slidesperview: 5, } } }) }); // 图片放大 fancybox.bind('.fancyboximhhonor .showihonor', { groupall: true, image: { wheel: "slide", }, });