Album.wxml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!-- <text bindtap='pic'>personaldata/Album/Album.wxml</text>
  2. <image src='{{tempFilePaths}}'></image> -->
  3. <!-- 上传图片 -->
  4. <view class='Album_box c'>
  5. <!-- <block wx:for='{{picsItems}}' wx:key="id">
  6. <view class='Album'>
  7. <image class='Album_img' src='{{item.imgurl}}' bindtap='selImagePre'></image>
  8. <image class='Album_sc' src='/image/Album1.png' mode="widthFix" bindtap="deleteImage" wx:for-index="id" data-id="{{index}}" data-src='{{item.imgurl}}'></image>
  9. </view>
  10. </block> -->
  11. <block wx:for='{{initial}}' wx:key="id">
  12. <view class='Album' wx:if='{{initialcode == 201}}'>
  13. <image mode="aspectFill" class='Album_img' src='{{item.img}}' bindtap='m_showActionSheet' wx:for-index="id" data-id="{{item.id}}" data-src='{{item.img}}'></image>
  14. <view class='img_text' wx:if="{{item.status != 3}}">{{item.status_str}}</view>
  15. </view>
  16. </block>
  17. <block wx:for='{{picsItems}}' wx:key="id">
  18. <view class='Album'>
  19. <image mode="aspectFill" class='Album_img' src='{{item.imgurl}}' bindtap='m_showActionSheet' wx:for-index="id" data-id="{{index}}" data-src='{{item.imgurl}}'></image>
  20. </view>
  21. </block>
  22. <!-- <block wx:for='{{picsItems}}' wx:key="id" wx:if='{{initialcode.code != 201}}'>
  23. <view class='Album'>
  24. <image class='Album_img' src='{{item.imgurl}}' bindtap='m_showActionSheet' wx:for-index="id" data-id="{{index}}" data-src='{{item.imgurl}}'></image>
  25. </view>
  26. </block> -->
  27. <view class='Album_click' bindtap='chooseImageTap' hidden='{{isMaxImagesNum}}'>
  28. <image src='/image/smyz3.png'></image>
  29. </view>
  30. </view>
  31. <view class='Album_text'>点击更换图片,共8张</view>
  32. <!-- <view class='operation'>
  33. <view class='Preservation' bindtap='submitAction'>保存</view>
  34. <view class='cancel' bindtap='m_cancel'>取消</view>
  35. </view>
  36. -->
  37. <!-- <view class='operation'>
  38. <view class='Preservation' bindtap='m_cancel'>返回 </view>
  39. </view> -->