<div> class='qiHuan' data-index='0' data-xunClass='xuan'>第一</div>
data-index:当前table链接到第几个
data-xunClass:当前页的样式
<div class="swiper-wrapper" data-activeIndex='0'>
data-activeIndex:当前页数的index
监听事件:
xsw_swiper({
index:0,//默认为0
data:function(index){//监听事件
console.log(index)//监听到的index
}
})