Skip to content

card component #2

@shengxinjing

Description

@shengxinjing
  • body部分放置默认插槽
  • body-style传入样式,类型为object
  • header
  • header 类型为string
  • 可以通过 slot#header 传入 DOM
  • header为空/slot#header不传时,header不渲染
  • shadow控制阴影显示
  • shadow传入校验always / hover / never
  • 类型为string
  • 默认为always

参考地址
https://e3.shengxinjing.cn/#/component/card

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions