howtouse.wxml 378 B

12345678
  1. <!--pages/howtouse/howtouse.wxml-->
  2. <swiper style="height: 100vh; width: 100vw;" indicator-dots="true">
  3. <block wx:for="{{imgUrls}}" wx:key="unique" >
  4. <swiper-item style="height: 100vh; width: 100vw;">
  5. <image src="{{item}}" style="height: 100vh; width: 100vw;" mode="aspectFit" data-index="{{index}}" bindtap="previewImage"/>
  6. </swiper-item>
  7. </block>
  8. </swiper>