mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
28 lines
562 B
Plaintext
28 lines
562 B
Plaintext
<demo-block title="基础用法">
|
|
<van-slider custom-class="slider" value="50" bind:change="onChange" />
|
|
</demo-block>
|
|
|
|
<demo-block title="指定选择范围">
|
|
<van-slider
|
|
custom-class="slider"
|
|
value="50"
|
|
min="10"
|
|
max="90"
|
|
bind:change="onChange"
|
|
/>
|
|
</demo-block>
|
|
|
|
<demo-block title="禁用">
|
|
<van-slider custom-class="slider" value="50" disabled />
|
|
</demo-block>
|
|
|
|
<demo-block title="指定步长">
|
|
<van-slider
|
|
custom-class="slider"
|
|
value="50"
|
|
step="10"
|
|
bar-height="4px"
|
|
bind:change="onChange"
|
|
/>
|
|
</demo-block>
|