1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <template name="group">
- <view class="group">
- <scroll-view scroll-y="{{true}}">
- <view class="group-container">
- {{groupData.recommendList}}{{index}}
- {{item.organizer.avatar}}
- {{item.organizer.wechatName}}
- {{item.groupPurchaseOrder.groupTitle}}
- {{item.groupPurchaseOrder.headcount}}
- {{groupData.isIOS ? 'specialBorder' : ''}}
- {{item.groupPurchaseOrder.headcount - item.groupPurchaseOrder.joinCount}}
- {{groupData.timeList[index]}}
- {{groupData.isIOS ? 'specialBtn' : ''}}{{index}}{{item.groupPurchaseOrder.id}}{{item.groupPurchaseOrder.productId}}{{item.groupPurchaseOrder.groupId}}
- <block wx:for="{{groupData.recommendList}}" wx:key="{{index}}">
- <view class="group-bars">
- <view class="group-head">
- <image src="{{item.avatar}}"></image>
- <text>{{item.wechatName}}</text>
- </view>
- <view class="group-jion">
- <view class="top-title">
- <text>{{item.productTitle}}</text>
- <text>{{item.headCount}}人团</text>
- </view>
- <view class="group-detail {{groupData.isIOS ? 'specialBorder' : ''}}">
- <view class="number">
- <text>还剩{{item.headCount - item.joinCount}}人成团</text>
- <text>剩余{{item.lastTime}}结束</text>
- </view>
- <view class="jion-btn" bindtap="groupDetail" data-ind="{{index}}" data-id="{{item.id}}" >
- {{groupData.isIOS ? '助力' : '去参团'}}
- </view>
- </view>
- </view>
- </view>
- </block>
- <view class="change" bindtap="change" wx:if="{{groupData.listLength > 1}}">换一换</view>
- </view>
- <view class="title">
- <image class="ren" src="../../static/groupImg/Shape3.png" style="width: 30rpx; height: 38rpx;"></image>
- <text class="left">全部课程</text>
- <view class="right" bindtap="more" data-type="course">
- 更多
- <image src="../../static/image/to.png" />
- </view>
- </view>
- <view class="whole-group">
- <view class="group-box">
- <block wx:for="{{groupData.bookList}}" wx:key="{{index}}">
- <view class="group-item" data-id="{{item.id}}" data-title="{{item.title}}" bindtap="goToBook">
- <image class="item-img" src="{{item.iconImg}}"></image>
- <view id="grade">{{item.subTitle}}</view>
- </view>
- </block>
- </view>
- </view>
- </scroll-view>
- </view>
- {{groupData.alertFlag}}
- </template>
|