# Card 卡片
# 代码演示
# API
# Attributes
参数 | 说明 | 类型 | 可选值 | 默认值 | Version |
---|---|---|---|---|---|
shadow | 阴影出现的形式 | String | 'always' | 'hover' | 'never' | 'always' | |
header | 设置 header,也可以通过 slot#header 传入 DOM | string | — | — | V2.3.8 |
body-style | 设置 body 的样式 | object | — | { padding: '16px' } | V2.3.8 |
# Slot
名称 | 说明 |
---|---|
default | 自定义卡片 body 内容 |
header | 自定义卡片 header 内容 |