12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <!--pages/groupPage/my-group/my-group.wxml-->
- <view class="my-group">
- <scroll-view scroll-y="{{true}}">
- <view class="my-group-content">
- <block wx:for="{{myGroupList}}" wx:key="{{index}}">
- <view class="group-bars">
- <view class="group-head">
- <image src="{{item.organizer.avatar}}"></image>
- <text>{{item.organizer.wechatName}}</text>
- </view>
- <view class="group-jion">
- <view class="top-title">
- <text>{{item.groupPurchaseOrder.groupTitle}}</text>
- <text>{{item.groupPurchaseOrder.headcount}}人团</text>
- </view>
- <view class="group-detail {{item.groupPurchaseOrder.status =='SUCCESSED' ? 'success-border' : ''}}">
- <view class="number">
- <text wx:if="{{item.groupPurchaseOrder.headcount - item.groupPurchaseOrder.joinCount}}">还剩{{item.groupPurchaseOrder.headcount - item.groupPurchaseOrder.joinCount}}人成团</text>
- <text wx:if="{{!(item.groupPurchaseOrder.headcount - item.groupPurchaseOrder.joinCount)}}">拼团成功</text>
- <text wx:if="{{item.groupPurchaseOrder.headcount - item.groupPurchaseOrder.joinCount}}">剩余{{timeList[index]}}结束</text>
- <text wx:if="{{!(item.groupPurchaseOrder.headcount - item.groupPurchaseOrder.joinCount)}}">{{timeList[index]}}</text>
- </view>
- <view class="jion-btn {{item.groupPurchaseOrder.status =='SUCCESSED' ? 'success-bg' : ''}}" bindtap="collageDetails" data-ind="{{index}}" data-num="{{item.groupPurchaseOrder.status==='SUCCESSED'}}" data-orderId="{{item.groupPurchaseOrder.id}}" data-groupId="{{item.groupPurchaseOrder.groupId}}" data-productId="{{item.groupPurchaseOrder.productId}}" data-uid="{{item.groupPurchaseOrder.organizer}}">
- {{item.status =='SUCCESSED' ? '已成功' : '去参团'}}
- </view>
- </view>
- </view>
- </view>
- </block>
- <!--
- <block wx:for="{{myGroupList}}" wx:key="{{index}}">
- <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}}">
- <image class="item-img" src="{{item.iconImg}}" ></image>
- <view id="grade">{{item.groupTitle}}</view>
- <image class="jiang" src="../../../static/groupImg/jiang.png" wx:if="{{(item.groupType== 'PROMOTION') && (item.status==='SUCCESSED') }}"></image>
- <image class="type-img" src="../../../static/groupImg/{{item.status==='SUCCESSED' ? 'yisuccess' : 'weisuccess' }}.png"></image>
- </view>
- </block>
- -->
- </view>
- </scroll-view>
- </view>
- <popup
- id="popup"
- typeOf="{{typeOf}}"
- title="{{title}}"
- headTextOne="{{headTextOne}}"
- headTextTwo="{{headTextTwo}}"
- content="{{content}}"
- bindGroup="group"
- bindClose="close"
- ></popup>
|