# Card 卡片
用于展示商品的图片、价格等信息。
## 基本使用
通过 `title` 属性设置标题,默认插槽传入内容。
支持设置 `title` 插槽和 `footer` 插槽。
```html
一般的,检举内容由承办的党的委员会或纪律检查委员会将处理意见或复议、复查结论同申诉人见面,听取其意见。复议、复查的结论和决定,应交给申诉人一份。
查看详情
```
## 矩形卡片
将`type` 设置为 `rectangle` 。
```html
2020-02-03服务到期
您可以去电脑上使用该服务
智催评营销
高级版-快速吸粉 | 周期一年
评价
立即使用
```
```scss
.content,
.title {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
}
.content {
justify-content: flex-start;
}
.title {
justify-content: space-between;
}
.title-tip {
color: rgba(0, 0, 0, 0.25);
font-size: 12px;
}
```
## Attributes
| 参数 | 说明 | 类型 | 可选值 | 默认值 | 最低版本 |
| ----- | -------- | ------ | --------- | ------ | -------- |
| title | 卡片标题 | string | - | - | - |
| type | 卡片类型 | string | rectangle | - | - |
## Slot
| name | 说明 | 最低版本 |
| ------- | ------------ | -------- |
| default | 卡片内容 | - |
| title | 卡片标题 | - |
| footer | 底部操作内容 | - |
## 外部样式类
| 类名 | 说明 | 最低版本 |
| -------------------- | ---------------- | -------- |
| custom-class | 根节点自定义样式 | - |
| custom-title-class | 标题自定义样式 | - |
| custom-content-class | 内容自定义样式 | - |
| custom-footer-class | 底部自定义样式 | - |