From f78a0f179aad735c3294bc6edf80348ed0a24f4e Mon Sep 17 00:00:00 2001 From: hzz Date: Fri, 14 Jul 2023 18:01:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E5=B7=A5=E5=8E=82=E7=BC=9D=E7=BA=AB?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=9C=8B=E6=9D=BF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/RingChart.vue | 42 +++++++++++---- src/views/MicrofactoryDevOnline/index.vue | 52 +++++++++++++------ src/views/pmData/index.vue | 5 +- 3 files changed, 71 insertions(+), 28 deletions(-) diff --git a/src/views/MicrofactoryDevOnline/components/RingChart.vue b/src/views/MicrofactoryDevOnline/components/RingChart.vue index fb624e8..f58aaa4 100644 --- a/src/views/MicrofactoryDevOnline/components/RingChart.vue +++ b/src/views/MicrofactoryDevOnline/components/RingChart.vue @@ -2,13 +2,13 @@
-
在线
+
{{ prop.data.status }}
-
0
+
{{ prop.data.count }}
当日总针数
-
五线包缝机(RP2011158)
+
{{ prop.data.name }}({{ prop.data.label }})
@@ -16,19 +16,41 @@ diff --git a/src/views/pmData/index.vue b/src/views/pmData/index.vue index b87aaac..47a31ca 100644 --- a/src/views/pmData/index.vue +++ b/src/views/pmData/index.vue @@ -130,15 +130,14 @@ onUnmounted(() => { box-sizing: border-box; display: flex; flex-wrap: wrap; - justify-content: flex-start; + justify-content: space-between; align-items: center; padding: 20px; } .test { - width: 20%; + width: 340px; height: 30%; - margin: 20px 47px; }