2018-04-10 20:43:18 +08:00

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>