ant-design-vue/components/card/demo/flexible-content.md

27 lines
553 B
Markdown
Raw Normal View History

<cn>
#### 更灵活的内容展示
可以利用 `Card.Meta` 支持更灵活的内容
</cn>
<us>
#### Customized content
You can use `Card.Meta` to support more flexible content.
</us>
```html
<template>
2019-09-28 12:45:07 +00:00
<a-card hoverable style="width: 240px">
<img
alt="example"
src="https://os.alipayobjects.com/rmsportal/QBnOOoLaAfKPirc.png"
slot="cover"
/>
<a-card-meta title="Europe Street beat">
<template slot="description"
>www.instagram.com</template
>
</a-card-meta>
</a-card>
</template>
```