
















/*常用链接*/
var tabSwiper = new Swiper(".tabSwiper", {
slidesPerView: 3, //swiper10的写法
grid: {
rows: 3, //3列 Swiper 7.0+使用,替代slidesPerColumn
},
slidesPerColumn: 3,//3列 ie10必须使用swiper4.5用这个,兼容老版本ie,同样swiper需要用4.5版本
spaceBetween: 0,
/*autoplay: {
delay: 3000,
disableOnInteraction: false,
},*/
navigation: {
nextEl: ".tabSwiper .swiper-button-next",
prevEl: ".tabSwiper .swiper-button-prev",
},
pagination: {
el: ".tabSwiperPage",
clickable: true,
},
});
给客户做的效果在外网使用正常,迁移到内网用的ie10不兼容,要换成swiper4.5版本才能正常使用。
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。