ant-design-vue/components/card/demo/in-column.md

34 lines
750 B
Markdown
Raw Normal View History

2018-03-09 05:26:34 +00:00
<cn>
#### 栅格卡片
在系统概览页面常常和栅格进行配合。
</cn>
<us>
#### Card in column
Cards usually cooperate with grid column layout in overview page.
</us>
2019-10-09 10:32:23 +00:00
```tpl
2018-03-09 05:26:34 +00:00
<template>
<div style="background-color: #ececec; padding: 20px;">
<a-row :gutter="16">
<a-col :span="8">
2019-09-28 12:45:07 +00:00
<a-card title="Card title" :bordered="false">
2018-03-09 05:26:34 +00:00
<p>card content</p>
</a-card>
</a-col>
<a-col :span="8">
2019-09-28 12:45:07 +00:00
<a-card title="Card title" :bordered="false">
2018-03-09 05:26:34 +00:00
<p>card content</p>
2019-09-28 12:45:07 +00:00
</a-card>
2018-03-09 05:26:34 +00:00
</a-col>
<a-col :span="8">
2019-09-28 12:45:07 +00:00
<a-card title="Card title" :bordered="false">
2018-03-09 05:26:34 +00:00
<p>card content</p>
2019-09-28 12:45:07 +00:00
</a-card>
2018-03-09 05:26:34 +00:00
</a-col>
</a-row>
</div>
</template>
```