ant-design-vue/components/card/demo/grid-card.vue

31 lines
889 B
Vue

<docs>
---
order: 3
title:
zh-CN: 网格型内嵌卡片
en-US: Grid card
---
## zh-CN
一种常见的卡片内容区隔模式
## en-US
Grid style card content.
</docs>
<template>
<a-card title="Card Title">
<a-card-grid style="width: 25%; text-align: center">Content</a-card-grid>
<a-card-grid style="width: 25%; text-align: center" :hoverable="false">Content</a-card-grid>
<a-card-grid style="width: 25%; text-align: center">Content</a-card-grid>
<a-card-grid style="width: 25%; text-align: center">Content</a-card-grid>
<a-card-grid style="width: 25%; text-align: center">Content</a-card-grid>
<a-card-grid style="width: 25%; text-align: center">Content</a-card-grid>
<a-card-grid style="width: 25%; text-align: center">Content</a-card-grid>
<a-card-grid style="width: 25%; text-align: center">Content</a-card-grid>
</a-card>
</template>