el-statistic 统计数值
时间: 2023-12-23 17:02:30 浏览: 346
el-statistic 统计数值可以通过设置属性来显示。在引用中的示例代码中,可以看到这样的设置:
<a-statistic title="Idle" :value="9.3" :precision="2" suffix="%" class="demo-class" :value-style="{ color: 'red' }" >
其中,属性:value设置了统计数值的值为9.3,属性:precision设置了数值的精度为2,属性:suffix设置了数值后缀为%,属性:class设置了自定义的类名为demo-class,属性:value-style设置了数值的样式,这里设置了数值的颜色为红色。所以根据这个示例,el-statistic 组件显示的统计数值为9.3%。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [sidekiq-statistic:查看有关您的员工的统计信息](https://download.csdn.net/download/weixin_42168830/14985993)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Statistic统计数值给value值标记颜色](https://blog.csdn.net/qq_32963841/article/details/110129381)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [elementUI表格筛选统计数量](https://blog.csdn.net/weixin_43078608/article/details/102829458)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文