mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
20 lines
539 B
Plaintext
20 lines
539 B
Plaintext
<import src="/dist/switch/index.wxml" />
|
|
|
|
<view class="container">
|
|
|
|
<view class="doc-title zan-hairline--bottom">SWITCH</view>
|
|
|
|
<zan-panel title='同步开关'>
|
|
<zan-switch checked="{{sync.checked}}" bind:change="syncChange" />
|
|
</zan-panel>
|
|
|
|
<zan-panel title='同步开关'>
|
|
<zan-switch checked="{{async.checked}}" disabled="{{ async.disabled }}" loading="{{ async.loading }}" bind:change="asyncChange" />
|
|
</zan-panel>
|
|
|
|
<zan-panel title='同步开关'>
|
|
<zan-switch disabled="{{ false }}" />
|
|
</zan-panel>
|
|
|
|
</view>
|