小程序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);
  },

小程序swiper

 

小程序swiper

上一篇:你的心事我全知晓——心情日记小程序丨实战


下一篇:个人微信公众号搭建Python实现 -开发配置和微信服务器转入-认识微信公众号(14.1.1)