From 83bff199d22d380fc7e1b83bb2db0f0814385530 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期四, 07 十二月 2023 16:11:34 +0800 Subject: [PATCH] 饼图背景优化、统计数量字体和位置调整、订单完成比率背景和颜色调整、工单进度列表修改 --- src/views/cockpitPage/components/StatisticalBox.vue | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/views/cockpitPage/components/StatisticalBox.vue b/src/views/cockpitPage/components/StatisticalBox.vue index c354d63..851656a 100644 --- a/src/views/cockpitPage/components/StatisticalBox.vue +++ b/src/views/cockpitPage/components/StatisticalBox.vue @@ -4,12 +4,15 @@ <div class="box"> <div class="commom-title">{{ item.label }}</div> <div + v-if="item.label == '鐗╂枡涓嶈冻/寰呮帓绋�'" + class="commom-value redColor" + > + {{ item.value }}/{{ item.value1 }} + </div> + <div + v-else class="commom-value" - :class=" - item.label == '寤舵湡浜や粯' || item.label == '鐗╂枡涓嶈冻' - ? 'redColor' - : '' - " + :class="item.label == '寤舵湡浜や粯' ? 'redColor' : ''" > {{ item.value }} </div> @@ -43,7 +46,8 @@ }, { value: 10, - label: "鐗╂枡涓嶈冻", + value1: 0, + label: "鐗╂枡涓嶈冻/寰呮帓绋� ", }, { value: 2, -- Gitblit v1.8.0