my-group.wxml 1.2 KB

12345678910111213141516171819202122232425
  1. <!--pages/groupPage/my-group/my-group.wxml-->
  2. <view class="my-group">
  3. <scroll-view scroll-y="{{true}}">
  4. <view class="my-group-content">
  5. <block wx:for="{{myGroupList}}" wx:key="{{index}}">
  6. <view class="group-item" bindtap="collageDetails" data-ind="{{index}}" data-num="{{item.status==='SUCCESSED'}}" data-orderId="{{item.id}}" data-groupId="{{item.groupId}}" data-productId="{{item.productId}}" data-uid="{{item.organizer}}">
  7. <image class="item-img" src="{{item.iconImg}}" ></image>
  8. <view id="grade">{{item.groupTitle}}</view>
  9. <image class="jiang" src="../../../static/groupImg/jiang.png" wx:if="{{(item.groupType== 'PROMOTION') && (item.status==='SUCCESSED') }}"></image>
  10. <image class="type-img" src="../../../static/groupImg/{{item.status==='SUCCESSED' ? 'yisuccess' : 'weisuccess' }}.png"></image>
  11. </view>
  12. </block>
  13. </view>
  14. </scroll-view>
  15. </view>
  16. <popup
  17. id="popup"
  18. typeOf="{{typeOf}}"
  19. title="{{title}}"
  20. headTextOne="{{headTextOne}}"
  21. headTextTwo="{{headTextTwo}}"
  22. content="{{content}}"
  23. bindGroup="group"
  24. bindClose="close"
  25. ></popup>