邃芒智像相册
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 regels
891 B

  1. <!--pages/checkImg/checkImg.wxml-->
  2. <view class="name">{{title}}</view>
  3. <swiper class="imageList" current="{{ currentIndex }}" bindchange="swiperChanged">
  4. <swiper-item wx:for="{{ swiperList }}" wx:key="index">
  5. <image src="{{ item.image }}" mode="widthFix" bindtap="previewImage" data-image="{{ item.image }}" />
  6. </swiper-item>
  7. </swiper>
  8. <view class="indicator">
  9. <view class="{{ currentIndex == 0 ? 'active item' : 'item' }}" bindtap="switchImg" data-index="0"></view>
  10. <view class="{{ currentIndex == 1 ? 'active item' : 'item' }}" bindtap="switchImg" data-index="1"></view>
  11. <view class="{{ currentIndex == 2 ? 'active item' : 'item' }}" bindtap="switchImg" data-index="2"></view>
  12. <view class="{{ currentIndex == 3 ? 'active item' : 'item' }}" bindtap="switchImg" data-index="3"></view>
  13. </view>
  14. <button class="downloadImage" bindtap="downloadImage">保存到手机</button>