- <view bind:tap="onCheckboxChangeTap"
- class="label label-{{placement}} label-placement-{{parentPlacement}} {{disabled ? 'label-disabled l-disabled-class' : 'l-class'}}">
- <view class="checkbox" style="color:{{checked ? selectColor : (disabled ? disabledColor : color)}};font-size: {{size}}">
- <slot wx:if="{{custom}}" name="icon"/>
- <view wx:else class="iconfont {{checked? 'icon-select': 'icon-unselect'}}"></view>
- </view>
- <slot />
- </view>
|