白色主题
This commit is contained in:
@@ -21,7 +21,7 @@ isComponent: true
|
||||
```json
|
||||
"usingComponents": {
|
||||
"t-collapse": "tdesign-miniprogram/collapse/collapse",
|
||||
"t-collapse-panel": "tdesign-miniprogram/collapse/collapse-panel"
|
||||
"t-collapse-panel": "tdesign-miniprogram/collapse-panel/collapse-panel"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -53,12 +53,12 @@ isComponent: true
|
||||
|
||||
名称 | 类型 | 默认值 | 说明 | 必传
|
||||
-- | -- | -- | -- | --
|
||||
custom-style | String | - | `0.25.0`。自定义组件样式 | N
|
||||
default-expand-all | Boolean | false | 默认是否展开全部 | N
|
||||
disabled | Boolean | - | 是否禁用面板展开/收起操作 | N
|
||||
expand-icon | Boolean / Slot | true | 展开图标。值为 undefined 或 false 则不显示展开图标;值为 true 显示默认图标;值类型为函数,则表示完全自定义展开图标 | N
|
||||
expand-mutex | Boolean | false | 每个面板互斥展开,每次只展开一个面板 | N
|
||||
style | String | - | 自定义组件样式 | N
|
||||
theme | String | default | 折叠面板风格。可选项:card | N
|
||||
theme | String | default | 折叠面板风格。可选项:default/card | N
|
||||
value | Array | [] | 展开的面板集合。TS 类型:`CollapseValue` `type CollapseValue = Array<string \| number>`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/collapse/type.ts) | N
|
||||
default-value | Array | undefined | 展开的面板集合。非受控属性。TS 类型:`CollapseValue` `type CollapseValue = Array<string \| number>`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/collapse/type.ts) | N
|
||||
|
||||
@@ -73,10 +73,11 @@ change | `(value: CollapseValue)` | 切换面板时触发,返回变化的值
|
||||
名称 | 类型 | 默认值 | 说明 | 必传
|
||||
-- | -- | -- | -- | --
|
||||
content | String / Slot | - | 折叠面板内容 | N
|
||||
custom-style | String | - | `0.25.0`。自定义组件样式 | N
|
||||
disabled | Boolean | undefined | 禁止当前面板展开,优先级大于 Collapse 的同名属性 | N
|
||||
expand-icon | Boolean / Slot | undefined | 当前折叠面板展开图标,优先级大于 Collapse 的同名属性 | N
|
||||
external-classes | Array | - | 组件类名,用于组件外层元素、标题、内容。`['t-class', 't-class-header', 't-class-content']` | N
|
||||
header | String / Slot | - | 面板头内容 | N
|
||||
header-right-content | String / Slot | - | 面板头的右侧区域,一般用于呈现面板操作 | N
|
||||
style | String | - | 自定义组件样式 | N
|
||||
placement | String | bottom | `0.34.0`。选项卡内容的位置。可选项:bottom/top | N
|
||||
value | String / Number | - | 当前面板唯一标识,如果值为空则取当前面下标兜底作为唯一标识 | N
|
||||
|
||||
Reference in New Issue
Block a user