setData.wxml 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. <view style='background-color:#fff;margin-top:20rpx;padding-bottom:60rpx;'>
  2. <view style='width:690rpx;margin:0 auto;'>
  3. <view class='content'>
  4. <view class='upload-title'>
  5. <text class='content-title-text'>我的材料</text>
  6. <text class='content-title-number'>(共{{image.length}}项)</text>
  7. </view>
  8. <view catchtap="{{ishave?'nav':''}}" data-httpUrl='{{url}}' class="edit {{ishave?'checkText':''}}">
  9. {{checkText}}
  10. </view>
  11. </view>
  12. <block wx:for='{{image}}' wx:key='{{item.id}}'>
  13. <!-- <block wx:for='{{image}}' wx:for-item='i' wx:key='{{i.id}}' > -->
  14. <view class='img'>
  15. <view class='img_title'>
  16. <text>{{item.materialName}}</text>
  17. <!-- <image src='../../../images/wode_guanzhu.png'></image> -->
  18. </view>
  19. <view class='img-content'>
  20. <block wx:for='{{item.materialUrl}}' wx:for-item='i' wx:for-index='ind' wx:key='{{ind}}'>
  21. <view class='image' data-id='{{i.id}}' catchtap='checkImg'>
  22. <image class='image-tu' data-index='0' mode='aspectFill' src='{{url}}{{i.url}}'></image>
  23. <!-- // catchtap='image' -->
  24. <image class='set' wx:if='{{i.isno}}' src='../../../../images/set.png'></image>
  25. </view>
  26. </block>
  27. </view>
  28. </view>
  29. <!-- </block> -->
  30. </block>
  31. </view>
  32. </view>