Swiper中文论坛

标题: touchmove 滑动出错 [打印本页]

作者: 诗意的    时间: 2018-1-31 11:20
标题: touchmove 滑动出错


现在的情况是第1张向左滑到第2张没问题,第2张向左滑不到第3张,会一直在第2张。第2张可以向右滑到第1张。



用的框架是vue1.0 配置如下
var that =this;
that.album = new Swiper('.view .cp-album .swiper-container', {
        preloadImages:false,
        updateOnImagesReady : true,
        zoom: true,
         initialSlide : 0,
         onSlideChangeEnd : function( swiper ){
         that.nowSelectImgIndex = swiper.activeIndex;
                that.album.slideTo( that.nowSelectImgIndex , 1 , false );
          },
          onSlideChangeStart : function( swiper ){
                 that.nowSelectImgIndex = swiper.activeIndex;
           }
   })


作者: 诗意的    时间: 2018-1-31 11:24
swiper-wrapper 的 transform 属性 在第2张滑动第3张时出错
作者: cherry    时间: 2018-2-23 16:00
楼主解决了吗,我也遇到了同样的问题




欢迎光临 Swiper中文论坛 (http://bbs.swiper.com.cn/) Powered by Discuz! X3.2