mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
34 lines
675 B
Plaintext
34 lines
675 B
Plaintext
<demo-block title="基础用法">
|
|
<van-area
|
|
loading="{{ loading }}"
|
|
area-list="{{ areaList }}"
|
|
bind:change="onChange"
|
|
bind:confirm="onConfirm"
|
|
bind:cancel="onCancel"
|
|
/>
|
|
</demo-block>
|
|
|
|
<demo-block title="选中省市县">
|
|
<van-area
|
|
value="{{ value }}"
|
|
loading="{{ loading }}"
|
|
area-list="{{ areaList }}"
|
|
bind:change="onChange"
|
|
bind:confirm="onConfirm"
|
|
/>
|
|
</demo-block>
|
|
|
|
<demo-block title="配置显示列">
|
|
<van-area
|
|
title="标题"
|
|
columns-num="{{ 2 }}"
|
|
loading="{{ loading }}"
|
|
area-list="{{ areaList }}"
|
|
bind:change="onChange"
|
|
bind:confirm="onConfirm"
|
|
/>
|
|
</demo-block>
|
|
|
|
|
|
<van-toast id="van-toast" />
|