2018-08-22 11:28:02 +08:00

32 lines
616 B
Plaintext

<demo-block title="基础用法">
<van-cell-group>
<van-switch-cell
title="标题"
checked="{{ checked }}"
bind:change="onChange"
/>
</van-cell-group>
</demo-block>
<demo-block title="禁用状态">
<van-cell-group>
<van-switch-cell
disabled
title="标题"
checked="{{ checked }}"
bind:change="onChange"
/>
</van-cell-group>
</demo-block>
<demo-block title="加载状态">
<van-cell-group>
<van-switch-cell
loading
title="标题"
checked="{{ checked }}"
bind:change="onChange"
/>
</van-cell-group>
</demo-block>