You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
568 B
18 lines
568 B
<wxs src="../common/utils.wxs" module="_" />
|
|
|
|
<view class="{{ classPrefix }} class {{prefix}}-class" style="{{_._style([style, customStyle])}}">
|
|
<slot />
|
|
<block wx:for="{{checkboxOptions}}" wx:key="value">
|
|
<t-checkbox
|
|
class="{{prefix}}-checkbox-option"
|
|
label="{{item.label || item.text || ''}}"
|
|
value="{{item.value || ''}}"
|
|
content="{{item.content || ''}}"
|
|
check-all="{{item.checkAll}}"
|
|
disabled="{{item.disabled}}"
|
|
data-item="{{item}}"
|
|
bind:change="handleInnerChildChange"
|
|
></t-checkbox>
|
|
</block>
|
|
</view>
|