From f8c0e9b318d946439e9bd1584eae1fa932af6d96 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 17 十一月 2023 16:32:38 +0800
Subject: [PATCH] 未生产中的完成进度显示0 因为plc 有数据 修改为可以显示数据

---
 src/views/dashboard/components/TaskControl.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/views/dashboard/components/TaskControl.vue b/src/views/dashboard/components/TaskControl.vue
index e8e60e1..03c17b4 100644
--- a/src/views/dashboard/components/TaskControl.vue
+++ b/src/views/dashboard/components/TaskControl.vue
@@ -139,10 +139,12 @@
   align-items: start;
   width: 100%;
 }
-.task-info,
-.produce-btn {
-  width: 50%;
+.task-info {
   flex: 1;
+  height: 100%;
+}
+.produce-btn {
+  flex-shrink: 0;
   height: 100%;
 }
 .produce-btn {
@@ -157,7 +159,6 @@
 
 .task-info-item {
   padding: 10px 20px;
-  margin-bottom: 6px;
 }
 .task-info-title {
   font-size: 18px;
@@ -167,7 +168,7 @@
   font-size: 19px;
   color: $content-text-color;
   font-weight: 600;
-  margin-top: 12px;
+  margin-top: 4px;
 }
 .produce-btn {
   display: flex;

--
Gitblit v1.8.0