diff --git a/docs/en-us/components/collapse.md b/docs/en-us/components/collapse.md index 86f95cc1..c915b3b3 100644 --- a/docs/en-us/components/collapse.md +++ b/docs/en-us/components/collapse.md @@ -2,9 +2,13 @@ Display large amounts of text in collapsible sections. Commonly referred to as an accordion. - + - + + + + + @@ -14,5 +18,7 @@ Display large amounts of text in collapsible sections. Commonly referred to as a | **accordion** | accordion mode | `string | boolean` | `true` / `false` | `false` | | **title** | collapse-item's title | `string` | - | - | | **name** | collapse-item's name | `string | number` | - | - | +| **shadow** | shadow effect | `boolean` | - | - | +| **subtitle** | title's description | `string` | - | - | diff --git a/docs/examples/collapse/shadow.vue b/docs/examples/collapse/shadow.vue new file mode 100644 index 00000000..af1e7ff5 --- /dev/null +++ b/docs/examples/collapse/shadow.vue @@ -0,0 +1,17 @@ + + + diff --git a/docs/examples/collapse/subtitle.vue b/docs/examples/collapse/subtitle.vue new file mode 100644 index 00000000..bd71885a --- /dev/null +++ b/docs/examples/collapse/subtitle.vue @@ -0,0 +1,22 @@ + + + diff --git a/docs/zh-cn/components/collapse.md b/docs/zh-cn/components/collapse.md index ccd131bc..262bb023 100644 --- a/docs/zh-cn/components/collapse.md +++ b/docs/zh-cn/components/collapse.md @@ -2,9 +2,13 @@ 可折叠的显示大量文本,通常也被称作手风琴。 - + - + + + + + @@ -14,5 +18,7 @@ | **accordion** | 手风琴模式 | `string | boolean` | - | `false` | | **title** | 用于显示的标题 | `string` | - | - | | **name** | 触发事件用于标识的字符 | `string | number` | - | - | +| **shadow** | 阴影效果 | `boolean` | - | - | +| **subtitle** | 标题详情 | `string` | - | - | diff --git a/packages/collapse/collapse-item.vue b/packages/collapse/collapse-item.vue index 55782088..450553a2 100644 --- a/packages/collapse/collapse-item.vue +++ b/packages/collapse/collapse-item.vue @@ -1,11 +1,14 @@