mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
21 lines
631 B
Plaintext
21 lines
631 B
Plaintext
<import src="/dist/stepper/index.wxml" />
|
|
|
|
<view class="container">
|
|
|
|
<view class="doc-title zan-hairline--bottom">Stepper</view>
|
|
|
|
<view style="padding: 40px 15px">
|
|
<template is="zan-stepper" data="{{ ...stepper1, componentId: 'stepper1' }}" />
|
|
</view>
|
|
|
|
<!-- 当最大值等于最小值时,组件不可用 -->
|
|
<view style="padding: 40px 15px ">
|
|
<template is="zan-stepper" data="{{ ...stepper2, componentId: 'stepper2' }}" />
|
|
</view>
|
|
|
|
<!-- small size -->
|
|
<view style="padding: 40px 15px ">
|
|
<template is="zan-stepper" data="{{ ...stepper3, componentId: 'stepper3', size: 'small' }}" />
|
|
</view>
|
|
</view>
|