https://swiper.com.cn/api/methods/450.html
//向左移动100像素
swiperObj = new Swiper(".mySwiper", {
slidesPerView: itemWidth,
spaceBetween: 10,
initialSlide:3, //默认显示第3个
grabCursor: true,
scrollbar: {
el: '.swiper-scrollbar',
},
on:{
click: function(swiper, eve) {
var currentObj = $(eve.target);
},
},
});
swiperObj.translateTo(mySwiper.translate-100);