# Card
卡片组件
# 示例
Vue
# 代码
<m-card imgSrc="/a.png" summary="Vue" />
1
# Attributes
参数 | 说明 | 类型 | 是否必要 | 默认值 |
---|---|---|---|---|
width | 卡片宽度 | Number | false | - |
imgSrc | 图片资源地址 | String | true | - |
imgHeight | 图片高度 | Number | false | - |
summary | 卡片概述 | String/Slot | false | - |
footer | 卡片底部 | Slot | false | - |
# xx
http://localhost/componentDocs/card.html
Vue
npm run docs:dev
← 记录生活