mirror of
https://github.com/youzan/vant.git
synced 2026-05-07 01:01:01 +08:00
docs: update version tag
This commit is contained in:
+19
-19
@@ -87,11 +87,11 @@ export default {
|
||||
|
||||
### Collapse Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| v-model | Names of current active panels | accordion mode: *string \| number*<br>non-accordion mode:*(string \| number)[]* | - | - |
|
||||
| accordion | Whether to be accordion mode | *boolean* | `false` | - |
|
||||
| border | Whether to show outer border | *boolean* | `true` | - |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| v-model | Names of current active panels | accordion mode: *string \| number*<br>non-accordion mode:*(string \| number)[]* | - |
|
||||
| accordion | Whether to be accordion mode | *boolean* | `false` |
|
||||
| border | Whether to show outer border | *boolean* | `true` |
|
||||
|
||||
### Collapse Events
|
||||
|
||||
@@ -101,20 +101,20 @@ export default {
|
||||
|
||||
### CollapseItem Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| name | Name | *string \| number* | `index` | - |
|
||||
| icon | Left Icon | *string* | - | - |
|
||||
| size | Title size,can be set to `large` | *string* | - | - |
|
||||
| title | Title | *string \| number* | - | - |
|
||||
| value | Right text | *string \| number* | - | - |
|
||||
| label | Description below the title | *string* | - | - |
|
||||
| border | Whether to show inner border | *boolean* | `true` | - |
|
||||
| disabled | Whether to disabled collapse | *boolean* | `false` | - |
|
||||
| is-link | Whether to show link icon | *boolean* | `true` | - |
|
||||
| title-class | Title className | *string* | - | - |
|
||||
| value-class | Value className | *string* | - | - |
|
||||
| label-class | Label className | *string* | - | - |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| name | Name | *string \| number* | `index` |
|
||||
| icon | Left Icon | *string* | - |
|
||||
| size | Title size,can be set to `large` | *string* | - |
|
||||
| title | Title | *string \| number* | - |
|
||||
| value | Right text | *string \| number* | - |
|
||||
| label | Description below the title | *string* | - |
|
||||
| border | Whether to show inner border | *boolean* | `true` |
|
||||
| disabled | Whether to disabled collapse | *boolean* | `false` |
|
||||
| is-link | Whether to show link icon | *boolean* | `true` |
|
||||
| title-class | Title className | *string* | - |
|
||||
| value-class | Value className | *string* | - |
|
||||
| label-class | Label className | *string* | - |
|
||||
|
||||
### CollapseItem Slots
|
||||
|
||||
|
||||
@@ -88,11 +88,11 @@ export default {
|
||||
|
||||
### Collapse Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| v-model | 当前展开面板的 name | 手风琴模式:*string \| number*<br>非手风琴模式:*(string \| number)[]* | - | - |
|
||||
| accordion | 是否开启手风琴模式 | *boolean* | `false` | - |
|
||||
| border | 是否显示外边框 | *boolean* | `true` | - |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| v-model | 当前展开面板的 name | 手风琴模式:*string \| number*<br>非手风琴模式:*(string \| number)[]* | - |
|
||||
| accordion | 是否开启手风琴模式 | *boolean* | `false` |
|
||||
| border | 是否显示外边框 | *boolean* | `true` |
|
||||
|
||||
### Collapse Events
|
||||
|
||||
@@ -102,20 +102,20 @@ export default {
|
||||
|
||||
### CollapseItem Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| name | 唯一标识符,默认为索引值 | *string \| number* | `index` | - |
|
||||
| icon | 标题栏左侧图标名称或图片链接,可选值见 [Icon 组件](#/zh-CN/icon) | *string* | - | - |
|
||||
| size | 标题栏大小,可选值为 `large` | *string* | - | - |
|
||||
| title | 标题栏左侧内容 | *string \| number* | - | - |
|
||||
| value | 标题栏右侧内容 | *string \| number* | - | - |
|
||||
| label | 标题栏描述信息 | *string \| number* | - | - |
|
||||
| border | 是否显示内边框 | *boolean* | `true` | - |
|
||||
| is-link | 是否展示标题栏右侧箭头并开启点击反馈 | *boolean* | `true` | - |
|
||||
| disabled | 是否禁用面板 | *boolean* | `false` | - |
|
||||
| title-class | 左侧标题额外类名 | *string* | - | - |
|
||||
| value-class | 右侧内容额外类名 | *string* | - | - |
|
||||
| label-class | 描述信息额外类名 | *string* | - | - |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| name | 唯一标识符,默认为索引值 | *string \| number* | `index` |
|
||||
| icon | 标题栏左侧图标名称或图片链接,可选值见 [Icon 组件](#/zh-CN/icon) | *string* | - |
|
||||
| size | 标题栏大小,可选值为 `large` | *string* | - |
|
||||
| title | 标题栏左侧内容 | *string \| number* | - |
|
||||
| value | 标题栏右侧内容 | *string \| number* | - |
|
||||
| label | 标题栏描述信息 | *string \| number* | - |
|
||||
| border | 是否显示内边框 | *boolean* | `true` |
|
||||
| is-link | 是否展示标题栏右侧箭头并开启点击反馈 | *boolean* | `true` |
|
||||
| disabled | 是否禁用面板 | *boolean* | `false` |
|
||||
| title-class | 左侧标题额外类名 | *string* | - |
|
||||
| value-class | 右侧内容额外类名 | *string* | - |
|
||||
| label-class | 描述信息额外类名 | *string* | - |
|
||||
|
||||
### CollapseItem Slots
|
||||
|
||||
|
||||
Reference in New Issue
Block a user