<view class="check-box-group gov-checkbox-group" style="{{groupStyle}}">
    <view
        s-if="inline"
        class="check-box-group-wrap inline {{inFilter ? 'in-filter' : ''}}"
    >
        <view
            s-for="items, index in currRowOptions"
            class="row {{index ? 'not-first' : ''}} {{index === 0 ? 'first-line' : ''}}"
            style="{{rowStyle}}"
        >
            <gov-checkbox
                s-for="item, idx in items"
                style="{{'display: flex;' + rowItemStyle}}"
                gov-checkbox="check-box {{idx === item.length - 1 ? 'last' : ''}}"
                two-column="{{column === 2}}"
                inline
                in-filter="{{inFilter}}"
                value="{{item.checked}}"
                bindchange="itemChange"
                item-style="{{itemStyle}}"
                icon-style="{{iconStyle}}"
                data-info="{{{index, idx, disabled: !!item.disabled, desc: item.desc}}}"
                disabled="{{item.disabled || false}}"
                bindclick="clkHdl"
                active-color="{{activeColor}}"
                active-bg-color="{{activeInlineBgColor}}"
            >
                {{item[currOptionKey || 'name']}}
                <view class="desc" slot="desc" s-if="item.desc">{{item.desc}}</view>
            </gov-checkbox>
        </view>
    </view>
    <view s-else class="check-box-group-wrap">
        <gov-checkbox
            s-for="item, idx in currOptions"
            gov-checkbox="check-box {{(!inline && (idx !== currOptions.length - 1 || !noLastBorder)) ? 'border' : ''}} {{!isIos ? 'android-patch' : ''}}"
            value="{{item.checked}}"
            bindchange="itemChange"
            item-style="{{itemStyle}}"
            disabled="{{item.disabled}}"
            data-info="{{{index, idx, disabled: !!item.disabled, desc: item.desc}}}"
            bindclick="clkHdl"
            active-color="{{activeColor}}"
        >
            {{item[currOptionKey || 'name']}}
            <view class="desc" slot="desc" s-if="item.desc">{{item.desc}}</view>
        </gov-checkbox>
    </view>
</view>