onTouchMove: function(swiper){ //手动滑动中触发//判断上滑下拉var i = mySwiper.translate;setTimeout(function() {var z = mySwiper.translate;if (z>i) {console.log('上滑');}else{console.log('下拉');}},30);};