mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
10 lines
330 B
Plaintext
10 lines
330 B
Plaintext
<view
|
|
class="van-switch custom-class {{ checked ? 'van-switch--on' : '' }} {{ disabled ? 'van-switch--disabled' : '' }}"
|
|
style="font-size: {{ size }};"
|
|
bind:tap="onClick"
|
|
>
|
|
<view class="van-switch__node node-class">
|
|
<van-loading wx:if="{{ loading }}" size="50%" custom-class="van-switch__loading" />
|
|
</view>
|
|
</view>
|