mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs: add 2.5.0 version tag
This commit is contained in:
parent
c86d809b81
commit
7d010664cb
@ -75,7 +75,7 @@ export default {
|
|||||||
| show-search-result | Whether to show address search result | *boolean* | `false` |
|
| show-search-result | Whether to show address search result | *boolean* | `false` |
|
||||||
| show-area | Whether to show area cell | *boolean* | `true` |
|
| show-area | Whether to show area cell | *boolean* | `true` |
|
||||||
| show-detail | Whether to show detail field | *boolean* | `true` |
|
| show-detail | Whether to show detail field | *boolean* | `true` |
|
||||||
| disable-area | Whether to disable area select | *boolean* | `false` |
|
| disable-area `v2.5.0` | Whether to disable area select | *boolean* | `false` |
|
||||||
| save-button-text | Save button text | *string* | `Save` |
|
| save-button-text | Save button text | *string* | `Save` |
|
||||||
| delete-button-text | Delete button text | *string* | `Delete` |
|
| delete-button-text | Delete button text | *string* | `Delete` |
|
||||||
| detail-rows | Detail input rows | *number \| string* | `1` |
|
| detail-rows | Detail input rows | *number \| string* | `1` |
|
||||||
|
@ -75,7 +75,7 @@ export default {
|
|||||||
| show-search-result | 是否显示搜索结果 | *boolean* | `false` |
|
| show-search-result | 是否显示搜索结果 | *boolean* | `false` |
|
||||||
| show-area | 是否显示地区 | *boolean* | `true` |
|
| show-area | 是否显示地区 | *boolean* | `true` |
|
||||||
| show-detail | 是否显示详细地址 | *boolean* | `true` |
|
| show-detail | 是否显示详细地址 | *boolean* | `true` |
|
||||||
| disable-area | 是否禁用地区选择 | *boolean* | `false` |
|
| disable-area `v2.5.0` | 是否禁用地区选择 | *boolean* | `false` |
|
||||||
| save-button-text | 保存按钮文字 | *string* | `保存` |
|
| save-button-text | 保存按钮文字 | *string* | `保存` |
|
||||||
| delete-button-text | 删除按钮文字 | *string* | `删除` |
|
| delete-button-text | 删除按钮文字 | *string* | `删除` |
|
||||||
| detail-rows | 详细地址输入框行数 | *number \| string* | `1` |
|
| detail-rows | 详细地址输入框行数 | *number \| string* | `1` |
|
||||||
|
@ -108,4 +108,4 @@ export default {
|
|||||||
|------|------|------|
|
|------|------|------|
|
||||||
| default | Custom content after list | - |
|
| default | Custom content after list | - |
|
||||||
| top | Custom content before list | - |
|
| top | Custom content before list | - |
|
||||||
| item-bottom | Custom content after list item | item |
|
| item-bottom `v2.5.0` | Custom content after list item | item |
|
||||||
|
@ -108,4 +108,4 @@ export default {
|
|||||||
|------|------|------|
|
|------|------|------|
|
||||||
| default | 在列表下方插入内容 | - |
|
| default | 在列表下方插入内容 | - |
|
||||||
| top | 在顶部插入内容 | - |
|
| top | 在顶部插入内容 | - |
|
||||||
| item-bottom | 在列表项底部插入内容 | 列表项的值 |
|
| item-bottom `v2.5.0` | 在列表项底部插入内容 | 列表项的值 |
|
||||||
|
@ -216,7 +216,7 @@ Use `input-align` prop to align the input value
|
|||||||
|------|------|------|------|
|
|------|------|------|------|
|
||||||
| v-model (value) | Field value | *number \| string* | - |
|
| v-model (value) | Field value | *number \| string* | - |
|
||||||
| label | Field label | *string* | - |
|
| label | Field label | *string* | - |
|
||||||
| name | Name | *string* | - |
|
| name `v2.5.0` | Name | *string* | - |
|
||||||
| type | Input type, can be set to `tel` `digit`<br>`number` `textarea` `password` | *string* | `text` |
|
| type | Input type, can be set to `tel` `digit`<br>`number` `textarea` `password` | *string* | `text` |
|
||||||
| size | Size,can be set to `large` | *string* | - |
|
| size | Size,can be set to `large` | *string* | - |
|
||||||
| maxlength | Max length of value | *number \| string* | - |
|
| maxlength | Max length of value | *number \| string* | - |
|
||||||
|
@ -235,7 +235,7 @@ export default {
|
|||||||
|------|------|------|------|
|
|------|------|------|------|
|
||||||
| v-model (value) | 当前输入的值 | *number \| string* | - |
|
| v-model (value) | 当前输入的值 | *number \| string* | - |
|
||||||
| label | 输入框左侧文本 | *string* | - |
|
| label | 输入框左侧文本 | *string* | - |
|
||||||
| name | 名称,提交表单的标识符 | *string* | - |
|
| name `v2.5.0` | 名称,提交表单的标识符 | *string* | - |
|
||||||
| type | 输入框类型, 可选值为 `tel` `digit`<br>`number` `textarea` `password` 等 | *string* | `text` |
|
| type | 输入框类型, 可选值为 `tel` `digit`<br>`number` `textarea` `password` 等 | *string* | `text` |
|
||||||
| size | 大小,可选值为 `large` | *string* | - |
|
| size | 大小,可选值为 `large` | *string* | - |
|
||||||
| maxlength | 输入的最大字符数 | *number \| string* | - |
|
| maxlength | 输入的最大字符数 | *number \| string* | - |
|
||||||
|
@ -135,9 +135,9 @@ export default {
|
|||||||
| lazy-load | Whether to enable thumb lazy load,should register [Lazyload](#/en-US/lazyload) component | *boolean* | `false` |
|
| lazy-load | Whether to enable thumb lazy load,should register [Lazyload](#/en-US/lazyload) component | *boolean* | `false` |
|
||||||
| max-zoom | Max zoom | *number \| string* | `3` |
|
| max-zoom | Max zoom | *number \| string* | `3` |
|
||||||
| min-zoom | Min zoom | *number \| string* | `1/3` |
|
| min-zoom | Min zoom | *number \| string* | `1/3` |
|
||||||
| closeable | Whether to show close icon | *boolean* | `false` |
|
| closeable `v2.5.0` | Whether to show close icon | *boolean* | `false` |
|
||||||
| close-icon | Close icon name | *string* | `clear` |
|
| close-icon `v2.5.0` | Close icon name | *string* | `clear` |
|
||||||
| close-icon-position | Close icon position,can be set to `top-left` `bottom-left` `bottom-right` | *string* | `top-right` |
|
| close-icon-position `v2.5.0` | Close icon position,can be set to `top-left` `bottom-left` `bottom-right` | *string* | `top-right` |
|
||||||
|
|
||||||
### Events
|
### Events
|
||||||
|
|
||||||
@ -145,7 +145,7 @@ export default {
|
|||||||
|------|------|------|
|
|------|------|------|
|
||||||
| close | Triggered when close | { index, url } |
|
| close | Triggered when close | { index, url } |
|
||||||
| change | Triggered when current image change | index: index of current image |
|
| change | Triggered when current image change | index: index of current image |
|
||||||
| scale | Triggered when current image scale | { index: index of current image, scale: scale of current image} |
|
| scale `v2.5.0` | Triggered when current image scale | { index: index of current image, scale: scale of current image} |
|
||||||
|
|
||||||
### Slots
|
### Slots
|
||||||
|
|
||||||
|
@ -149,9 +149,9 @@ export default {
|
|||||||
| lazy-load | 是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用 | *boolean* | `false` |
|
| lazy-load | 是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用 | *boolean* | `false` |
|
||||||
| max-zoom | 手势缩放时,最大缩放比例 | *number \| string* | `3` |
|
| max-zoom | 手势缩放时,最大缩放比例 | *number \| string* | `3` |
|
||||||
| min-zoom | 手势缩放时,最小缩放比例 | *number \| string* | `1/3` |
|
| min-zoom | 手势缩放时,最小缩放比例 | *number \| string* | `1/3` |
|
||||||
| closeable | 是否显示关闭图标 | *boolean* | `false` |
|
| closeable `v2.5.0` | 是否显示关闭图标 | *boolean* | `false` |
|
||||||
| close-icon | 关闭图标名称或图片链接 | *string* | `clear` |
|
| close-icon `v2.5.0` | 关闭图标名称或图片链接 | *string* | `clear` |
|
||||||
| close-icon-position | 关闭图标位置,可选值为`top-left`<br>`bottom-left` `bottom-right` | *string* | `top-right` |
|
| close-icon-position `v2.5.0` | 关闭图标位置,可选值为`top-left`<br>`bottom-left` `bottom-right` | *string* | `top-right` |
|
||||||
|
|
||||||
|
|
||||||
### Events
|
### Events
|
||||||
@ -162,7 +162,7 @@ export default {
|
|||||||
|------|------|------|
|
|------|------|------|
|
||||||
| close | 关闭时触发 | { index: 索引, url: 图片链接 } |
|
| close | 关闭时触发 | { index: 索引, url: 图片链接 } |
|
||||||
| change | 切换当前图片时触发 | index: 当前图片的索引 |
|
| change | 切换当前图片时触发 | index: 当前图片的索引 |
|
||||||
| scale | 缩放当前图片时触发 | { index: 当前图片的索引, scale: 当前缩放的值 } |
|
| scale `v2.5.0` | 缩放当前图片时触发 | { index: 当前图片的索引, scale: 当前缩放的值 } |
|
||||||
|
|
||||||
### Slots
|
### Slots
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user