From abfc074c35e8bd66ec0641173bfd703051ca701a Mon Sep 17 00:00:00 2001 From: 13404089107 <puwei@sinata.cn> Date: 星期一, 07 四月 2025 17:00:51 +0800 Subject: [PATCH] fix --- src/components/datascreen/CenterPanel.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/datascreen/CenterPanel.vue b/src/components/datascreen/CenterPanel.vue index f39cbdf..5887936 100644 --- a/src/components/datascreen/CenterPanel.vue +++ b/src/components/datascreen/CenterPanel.vue @@ -59,7 +59,7 @@ <div class="progress-wrapper"> <div class="progress-bar"> <div class="progress-fill"> - <div class="progress-color" + <div class="progress-color" :style="{ width: item.process*5 + '%' }" :class="item.process <= 5 ? 'progress-yellow' : item.process <= 10 && item.process > 5 ? 'progress-green' : item.process <= 15 && item.process > 10 ? 'progress-blue' : 'progress-gray'"> </div> </div> @@ -295,22 +295,22 @@ .progress-yellow { height: 100%; - background: #FEDB65; + background: #FEDB65 !important; } .progress-blue { height: 100%; - background: #00C6FF; + background: #00C6FF !important; } .progress-green { height: 100%; - background: rgba(0, 220, 171, 1); + background: rgba(0, 220, 171, 1) !important; } .progress-gray { height: 100%; - background: rgba(0, 242, 240, 1); + background: rgba(0, 242, 240, 1) !important; } -- Gitblit v1.7.1