<docs>
---
order: 2
title:
zh-CN: 在卡片中使用
en-US: In Card
## zh-CN
在卡片中展示统计数值。
## en-US
Display statistic data in Card.
</docs>
<template>
<div style="background: #ececec; padding: 30px">
<a-row :gutter="16">
<a-col :span="12">
<a-card>
<a-statistic
title="Feedback"
:value="11.28"
:precision="2"
suffix="%"
:value-style="{ color: '#3f8600' }"
style="margin-right: 50px"
>
<template #prefix>
<arrow-up-outlined />
</template>
</a-statistic>
</a-card>
</a-col>
title="Idle"
:value="9.3"
class="demo-class"
:value-style="{ color: '#cf1322' }"
<arrow-down-outlined />
</a-row>
</div>
<script lang="ts" setup>
import { ArrowUpOutlined, ArrowDownOutlined } from '@ant-design/icons-vue';
</script>