邃芒智像相册
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.
 
 

14 regels
620 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 wx:for="{{ swiperList }}" wx:key="index" class="{{ currentIndex == index ? 'active item' : 'item' }}" bindtap="switchImg" data-index="{{index}}"></view>
  10. </view>
  11. <button class="downloadImage" bindtap="downloadImage">保存到手机</button>