swiper3获取位移宽度!

slidesOffsetBefore: sign_width - sign_num_width





var sign = new Swiper('.sign-box', {

wrapperClass: 'sign-ul',

slideClass: 'sign-li',

slidesPerView: 'auto',

mousewheelControl: true,

//observer: true,

observeParents: true,

//slidesOffsetBefore: sign_width - sign_num_width

});



写的好!

微信扫一扫赏大洋