<!--pages/groupPage/make-money/make-money.wxml-->
<view class="details-head">
    <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">
            剩余时间:
            <view class="time">
                <image src="../../../static/groupImg/Rectangle_31.png"></image>
                <text>{{timeList[0]}}</text>
            </view>
            天
            <block wx:for="{{timeList[1]}}" wx:key="{{index}}">
                <view class="time">
                    <image src="../../../static/groupImg/Rectangle_31.png"></image>
                    <text>{{item}}</text>
                </view>
            </block>
            时             
            <block wx:for="{{timeList[2]}}" wx:key="{{index}}">
                <view class="time">
                    <image src="../../../static/groupImg/Rectangle_31.png"></image>
                    <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:370px; height: 507px; position: absolute; left: -99rpx; top: -999rpx;"></canvas>
<shareDialog id="share-dialog" bindcustomevent="eventListener"/>
