页面容器组件
- Source:
Members
(inner) props
- Source:
Properties:
Name | Type | Attributes | Default | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
title |
string |
<optional> |
标题文本,复杂内容可用插槽定义 |
|||||||||||||||||
subTitle |
string |
<optional> |
子标题文本, 复杂内容可用插槽定义 |
|||||||||||||||||
extra |
string |
<optional> |
额外内容文本,复杂内容可用插槽定义 |
|||||||||||||||||
breadcrumb |
Array |
<optional> |
面包屑数据配置,项包含字段:label, icon, to Properties
|
|||||||||||||||||
links |
Array |
<optional> |
链接按钮数据配置,项包含字段:label, value, to Properties
|
|||||||||||||||||
defaultActiveLink |
string | number |
<optional> |
默认选中的链接值 |
|||||||||||||||||
header |
boolean |
<optional> |
true
|
是否显示头部 |
||||||||||||||||
split |
boolean |
<optional> |
true
|
是否显示分隔 |
||||||||||||||||
back |
boolean |
<optional> |
false
|
显示返回按钮 |
||||||||||||||||
fit |
boolean |
<optional> |
false
|
是否自适应高度 |
属性参数
(inner) slots
- Source:
Properties:
Name | Type | Description |
---|---|---|
default |
string | 默认插槽,可以放置my-container |
title |
string | 定义标题内容 |
subTitle |
string | 子标题内容 |
actions |
string | 定义操作区 |
extra |
string | 定义额外扩展内容 |
link |
string | 作用域插槽,定义链接子项,参数:link 链接项数据,index:在links的索引 |
footer |
string | 底部内容 |
插槽
Events
back
- Source:
点击返回按钮时触发
link-click
- Source:
点击链接时触发
Parameters:
Name | Type | Description |
---|---|---|
item |
Object | 链接项数据对象 |