Skip to content

Card 卡片

基本用法

控制卡片阴影大小

何时显示卡片阴影

自定义内容区的样式,显示多种风格的卡片

API

Card Props

参数名说明类型可选值默认值必填
title卡片标题(可通过 slot="header" 自定义)string
bodyStyle自定义卡片内容区的样式object{}
shadowTrigger何时显示卡片阴影stringalway/hover/neveralway
shadowSize卡片阴影的大小stringsmall/medium/largesmall

Card Slots

插槽名说明子标签
default默认插槽
header自定义头部
footer自定义尾部