Card

卡片部件

基本用法

1
2
3
<db-container>
<db-card width="300" height="200" backgroundColor="info"></db-card>
</db-container>

通用属性

  1. Spacing
  2. Text
  3. Colors
  4. Border

属性

名称 说明 默认值 可选值 值类型
widgetId 标识 string
width 宽度 auto, 数字, 百分数 number/string
height 高度 auto, 数字, 百分数 number/string
  1. widthheight属性值为数字时计量单位是px