|
本帖最后由 jiudan 于 2016-4-7 13:47 编辑
微信测试的
Swiper 3.1.7
jquery2.1
var mySwiper1 = new Swiper('.swiper-container1',{
direction: 'vertical',
onSlideChangeEnd:province_curr,
slidesPerView:5,
centeredSlides: true
})
var mySwiper2 = new Swiper('.swiper-container2',{
direction : 'vertical',
onSlideChangeEnd:city_curr,
slidesPerView:5,
centeredSlides: true
})
var mySwiper3 = new Swiper('.swiper-container3',{
direction: 'vertical',
onSlideChangeEnd:district_curr,
slidesPerView:5,
centeredSlides: true
})
var mySwiper4 = new Swiper('.swiper-container4',{
direction: 'vertical',
onSlideChangeEnd:town_curr,
slidesPerView:5,
centeredSlides: true
})
只调用3个是正常的。
安卓机很慢,苹果机 快一些
效果是全国的省份,城市,县区,乡镇 联动效果,作品不发了,只是让你们知道有这回事,不联动 就没事,一联动就用到 滑动回调
|
|