123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <!--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.groupPurchaseOrder.status =='SUCCESSED' ? '已成功' : '进行中'}}
- </view>
- </view>
- </view>
- </view>
- </block>
-
- </view>
- </scroll-view>
- <myPlacerholder line1="{{line1}}" line2="{{line2}}" wx:if="{{myGroupList.length <= 0}}" />
- </view>
- <popup
- id="popup"
- typeOf="{{typeOf}}"
- title="{{title}}"
- headTextOne="{{headTextOne}}"
- headTextTwo="{{headTextTwo}}"
- content="{{content}}"
- btnContent="{{btnContent}}"
- bindGroup="group"
- bindClose="close"
- ></popup>
|