mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
10 lines
394 B
Plaintext
10 lines
394 B
Plaintext
<view class="van-checkbox custom-class">
|
|
<view class="van-checkbox__icon-wrap" bindtap="toggle">
|
|
<slot wx:if="{{ useIconSlot }}" name="icon" />
|
|
<van-icon class="{{ iconClass }}" custom-class="icon-class" wx:else name="success" />
|
|
</view>
|
|
<view class="van-checkbox__label van-checkbox__label--{{ labelPosition }} label-class" bindtap="onClickLabel">
|
|
<slot />
|
|
</view>
|
|
</view>
|