统计卡片
- Source:
Members
(inner) props
- Source:
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
title |
string |
<optional> |
标题文本,复杂文本可用插槽定义 |
|
actions |
Array |
<optional> |
操作按钮,数据项:{icon: String|Object,tooltip: String|Object} |
|
icon |
string | object |
<optional> |
显示图标 |
|
iconType |
string |
<optional> |
primary
|
图标风格颜色,可选'primary', 'success', 'warning', 'danger' |
padding |
string |
<optional> |
内边距,默认 '10px 14px 3px' |
属性参数, 继承 el-card 的全部参数,并增加以下参数
(inner) slots
- Source:
Properties:
Name | Type | Description |
---|---|---|
default |
string | 定义主要内容 |
title |
string | 定义标题 |
action |
string | 作用域插槽,定义操作按钮,参数 action |
total |
string | 定义数量 |
footer |
string | 定义底部内容 |
插槽
Events
action
- Source:
点击操作按钮时触发
Parameters:
Name | Type | Description |
---|---|---|
按钮数据项 |
object |