描述子项组件,需要与my-detail组件配合实用
- Source:
Members
(inner) props
- Source:
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
label |
string |
<optional> |
内容的描述 |
|
span |
number |
<optional> |
1
|
包含列的数量 |
labelAlign |
string |
<optional> |
left
|
标签对齐方式 |
contentAlign |
string |
<optional> |
left
|
内容对齐方式 |
labelStyle |
object |
<optional> |
{}
|
label节点的样式 |
contentStyle |
object |
<optional> |
{}
|
content节点的样式 |
属性参数
(inner) slots
- Source:
Properties:
Name | Type | Description |
---|---|---|
default |
string | 默认插槽,定义内容 |
label |
string | 定义标签内容 |
插槽