AddressList 地址列表
使用范例
更多例子请参考Demo
API
AddressList
参数 | 说明 | 类型 | 默认值 |
id | 当前选中地址的 id |
| - |
list | 地址列表 |
| - |
disabledList | 不可配送地址列表 |
| - |
disabledText | 不可配送提示文案 |
|
|
switchable | 是否允许切换地址 |
|
|
addButtonText | 底部按钮文字 |
|
|
defaultTagText | 默认地址标签文字 |
|
|
onAdd | 点击新增按钮时触发 |
| - |
onEdit | 点击编辑按钮时触发 |
| - |
onSelect | 切换选中的地址时触发 |
| - |
top | 在顶部插入内容 |
| - |
children | 在列表下方插入内容 |
| - |
AddressInfo
参数 | 说明 | 类型 |
name | 姓名 |
|
tel | 手机号码 |
|
province | 省份 |
|
city | 城市名 |
|
county | 区名 |
|
provinceId | 省份ID |
|
cityId | 城市ID |
|
countyId | 城区ID |
|
addressDetail | 详细地址 |
|
postalCode | 邮政编号 |
|
isDefault | 是否为默认地址 |
|
Demo截图
Last updated