<!--pages/groupPage/make-money/make-money.wxml-->
<view class="details-head">
    <view class="headImg-item-faqiren" wx:if="{{orderList.groupPurchaseOrder.groupType === 'PROMOTION'}}">
            <image class="faqiren" src="../../../static/groupImg/faqiren.png"></image>
            <image src="{{orderList.organizer.avatar}}"></image>
    </view>
    <view class="headImg">
        <block wx:for="{{joinUserList}}" wx:key="{{index}}">
            <view class="headImg-item">
                <image src="{{item.avatar}}"></image>
            </view>
        </block>
        <block wx:for="{{surplusList}}" wx:key="{{index}}">
            <view class="headImg-item">
                <image src="../../../static/groupImg/no_head.png"></image>
            </view>  
        </block>                   
    </view>
    <view class="shengyu">
        <view class="shengyu-num">仅剩<text>{{surplusNum}}</text>个名额就拼团成功了</view>
        <view class="shengyu-time">
            剩余时间:
             <block wx:for="{{timeList[0]}}" wx:key="{{index}}">
                    <view class="time">
                        <text>{{item}}</text>
                    </view>
                </block>
                小时
                <block wx:for="{{timeList[1]}}" wx:key="{{index}}">
                    <view class="time">
                        <text>{{item}}</text>
                    </view>
                </block>
                分钟   
        </view>
    </view>
    <view class="invitation-btn" bindtap="share">
        <image src="../../../static/groupImg/Invitation.png"></image>
        <text>邀请朋友参加</text>
    </view>
</view>  

<canvas canvas-id="myCanvas" style="width:375px; height: 668px; position: absolute; left: -999rpx; top: -9999rpx;"></canvas>
<shareDialog id="share-dialog" shareType='group' shareId="{{orderId}}"/>
