<!--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-item" bindtap="collageDetails" data-num="{{item.joinCount >= item.headcount}}" data-orderId="{{item.id}}">
                    <image class="item-img" src="{{item.iconImg}}" style="background: red;"></image>
                    <view id="grade">{{item.groupTitle}}</view>
                    <image class="type-img" src="../../../static/groupImg/{{item.joinCount >= item.headcount ? 'yisuccess' : 'weisuccess' }}.png"></image>
                </view> 
            </block>
        </view>
    </scroll-view>
</view>

<popup
    typeOf="{{typeOf}}"
    title="{{title}}"
    headTextOne="{{headTextOne}}"
    headTextTwo="{{headTextTwo}}"
    content="{{content}}"
    bindGroup="group"
></popup>