Loading

小程序swiper

<swiper class="swiper-wrap" indicator-dots="true" indicator-color="rgba(0,0,0,.3)" autoplay="{{false}}" 
    current="0" current-item-id="" interval="5000" duration="1000" circular="{{false}}" vertical="{{true}}" 
previous-margin="false" next-margin="0px" display-multiple-items="1" skip-hidden-item-layout="false" bindchange="changeImge">
    <swiper-item wx:for="{{[1,2,3]}}" class="swiper-item" item-id="">
        <image class="swiper-in" src="../images/test-1.png" lazy-load="false" binderror="" bindload="">
            
        </image>
    </swiper-item>
</swiper>
changeImge(e){
    console.log(e.detail.current);
  },

 

posted @ 2019-08-14 10:16  mingBolg  阅读(204)  评论(0编辑  收藏  举报