2019-05-25 09:18:04 +00:00
|
|
|
<cn>
|
|
|
|
#### 单位
|
|
|
|
通过前缀和后缀添加单位。
|
|
|
|
</cn>
|
|
|
|
|
|
|
|
<us>
|
|
|
|
#### Unit
|
|
|
|
Add unit through `prefix` and `suffix`.
|
|
|
|
</us>
|
|
|
|
|
2019-10-09 10:32:23 +00:00
|
|
|
```tpl
|
2019-05-25 09:18:04 +00:00
|
|
|
<template>
|
2019-05-28 03:10:38 +00:00
|
|
|
<a-row :gutter="16">
|
|
|
|
<a-col :span="12">
|
2019-09-28 12:45:07 +00:00
|
|
|
<a-statistic title="Feedback" :value="1128" style="margin-right: 50px">
|
2019-05-28 03:10:38 +00:00
|
|
|
<template v-slot:suffix>
|
|
|
|
<a-icon type="like" />
|
|
|
|
</template>
|
|
|
|
</a-statistic>
|
|
|
|
</a-col>
|
|
|
|
<a-col :span="12">
|
2019-09-28 12:45:07 +00:00
|
|
|
<a-statistic title="Unmerged" :value="93" valueClass="demo-class">
|
2019-05-28 03:10:38 +00:00
|
|
|
<template v-slot:suffix>
|
|
|
|
<span> / 100</span>
|
|
|
|
</template>
|
|
|
|
</a-statistic>
|
|
|
|
</a-col>
|
|
|
|
</a-row>
|
2019-05-25 09:18:04 +00:00
|
|
|
</template>
|
|
|
|
```
|