<block wx:if="{{defaultGroup.length}}">
    <view class="label">
        {{language['系统群组']||'系统群组'}}
    </view>
    <navigator class="group" url="#" wx:for="{{defaultGroup}}" wx:key="rowindex" data-item="{{item}}" bindtap="onSelected">
        <view class="icon-box" style="background-color: #FA8C16;">
            <text class="iconfont icon-xiaochengxu_qunzu" />
        </view>
        <view class="text-box">
            <view class="title">{{language[item.groupname]||item.groupname}}</view>
            <view class="count">{{language['已有']||'已有'}}{{item.count}}{{language['人']||'人'}}</view>
        </view>
    </navigator>
</block>

<block wx:if="{{myGroup.length}}">
    <view class="label">
        {{language['自定义群组']||'自定义群组'}}
    </view>

    <navigator class="group" url="#" wx:for="{{myGroup}}" wx:key="rowindex" data-item="{{item}}" bindtap="onSelected">
        <view class="icon-box" style="background-color: #52C41A;">
            <text class="iconfont icon-xiaochengxu_qunzu" />
        </view>
        <view class="text-box">
            <view class="title line-1">{{language[item.groupname]||item.groupname}}</view>
            <view class="count">{{language['已有']||'已有'}}{{item.count}}{{language['人']||'人'}}</view>
        </view>
    </navigator>
</block>