GitHub:
slide1
slide2
slide3
slide4
运动结束, realIndex = 0
var swiper = new Swipe('.main',{
    startSlide: 1,
    speed: 300,
    pagination:{
        el: '.pagination',
        clickAble: true
    },
    autoplay: 2000,
    navigation:{
        next:'.swipe-btn-next',
        prev:'.swipe-btn-prev'
    },
    transitionEnd:function(swipe){
        console.log('realIndex',swipe.realIndex)
    },
})