<view class="group_detail">
    <view class="content">
        <view class="goods_list">
            <view class="top_title">
                <view>成团人数 <text style="color:#ff2c29">{{info.buy_number}}人</text></view>
                <view style="color:#ff2c29">{{info.statename}}</view>
            </view>
            <view class="goods_box">
                <view class="goods_img">
                    <image src="{{info.thumb}}" catchtap="gotoGoods" />
                </view>
                <view class="goods_info ul">
                    <view class="name li" style="-webkit-box-orient: vertical;">
                        {{info.title}}
                    </view>
                    <view class="number li">
                        <text class="span">{{info.pay_num}}人付款</text>
                    </view>
                    <view class="price li">
                        <text class="span">{{language['money']}}</text>
                        {{info.price}}
                        <text class="span"
                            style="text-decoration:line-through;">{{language['money']}}{{info.market_price}}</text>
                    </view>
                </view>
            </view>
        </view>
        <view class="group_user">
            <view class="user_box" wx:if="{{info.state == 1 || info.state == 2}}">
                <view class="user" wx:for="{{info.staff_member}}" wx:key="index">
                    <view class="img current">
                        <image src="{{item.avatar}}" />
                    </view>
                    <text class="span" wx:if="{{item.is_leader==1}}">团长</text>
                </view>
                <view class="user" wx:for="{{info.buy_number - info.pay_num}}" wx:key="index">
                    <view class="img">
                        <!-- <image src="{{item.avatar}}" /> -->
                    </view>
                    <icon class="iconfont icon-group_wenhao"></icon>
                </view>
            </view>
            <view class="into_group">
                <view class="p" style="color:#000;" wx:if="{{info.state == 1 || info.state == 4}}">
                    离成团还差{{info.buy_number - info.pay_num}}人，<view style="color:#ff2c29">
                        <count now-time="{{nowTime}}" over-time="{{info.end_time}}" style="text-align:center;" />
                    </view>后结束
                </view>
                <view class="p" wx:if="{{info.state == 2}}">该团已拼购成功</view>
                <view class="p" wx:if="{{info.status == 0}}">很抱歉，该活动已结束</view>
                <view class="p" wx:if="{{info.state == 0}}">待支付，请尽快支付！</view>
                <view class="p" wx:if="{{info.state == 3||info.state == 5||info.state == 6||info.state == 7}}">很抱歉，该活动已结束</view>
                <button type="button" class="btn" open-type="share" catchtap="tapGoteam"
                    wx:if="{{info.status == 1&&info.is_self == 1&&(info.state == 1 || info.state == 4)}}">邀请好友</button>
                <button type="button" class="btn" catchtap="openGroup"
                    wx:if="{{info.status == 1&&info.state == 5 || info.state == 6|| info.state == 3}}">我要开团</button>
                <button type="button" class="btn" catchtap="gotoList" wx:if="{{!isCheckActivity||info.status == 0}}">更多拼购进行中</button>
                <button type="button" class="btn" catchtap="joinTeam"
                    wx:if="{{info.status == 1&&info.is_self == 0 &&(info.state == 4||info.state == 1)}}">我要参团</button>
                <button type="button" class="btn" catchtap="gotoOrder"
                    wx:if="{{info.state == 0}}">去支付</button>
            </view>
        </view>
    </view>
</view>