久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      微信小程序中怎么做無縫輪播

      微信小程序中怎么做無縫輪播

      微信小程序中怎么做無縫輪播

      在index.js文件中定義topScroll數(shù)組以及swiper的各個屬性值,其屬性代表什么含義參考開發(fā)文檔https://mp.weixin.qq.com/debug/wxadoc/dev/component/swiper.html?t=1476197489605

      微信小程序中可以使用swiper組件實現(xiàn)輪播效果,添加autoplay屬性可以實現(xiàn)自動播放,添加circular屬性可以實現(xiàn)無縫輪播。

      <swiper circular="{{circular}}" indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}">     <block wx:for="{{topScroll}}" wx:key="item.id">         <swiper-item>             <image src="{{item.url}}" class="slide-image"/>         </swiper-item>     </block> </swiper>

      推薦學(xué)習(xí):小程序開發(fā)

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號