855 B
855 B
#### 更灵活的内容展示
可以利用 `Card.Meta` 支持更灵活的内容
#### Customized content
You can use `Card.Meta` to support more flexible content.
<template>
<a-card
hoverable
style="width: 300px"
>
<img
alt="example"
src="https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png"
slot="cover"
/>
<ul class="ant-card-actions" slot="actions">
<li style="width: 33.3333%;"><a-icon type="setting" /></li>
<li style="width: 33.3333%;"><a-icon type="edit" /></li>
<li style="width: 33.3333%;"> <a-icon type="ellipsis" /></li>
</ul>
<a-card-meta
title="Card title"
description="This is the description">
<a-avatar slot="avatar" src="https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png" />
</a-card-meta>
</a-card>
</template>