Appearance
c7-card卡片
将信息聚合在卡片容器中进行展示, 在el-card的基础上,将header部分简化为了label 名称配置,增加了 展开/收起功能
基础用法
Attributes
属性名 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
label | 标题 | String | ||
backgroundColor | 背景色(为空则不显示) | String | 颜色 | #f0f2f5 |
isShowColorBlock | 是否展示色块 | Boolean | true/false | false |
colorBlockColor | 色块颜色 | String | 颜色 | #409eff |
textSize | 字体大小 | String | h1/h2/h3/h4/h5 | h2 |
isBold | 是否字体加粗 | Boolean | true/false | true |