From 86b69caad89ddd5662f64f36b4a592c11ed26619 Mon Sep 17 00:00:00 2001 From: lb Date: Tue, 15 Nov 2022 16:19:05 +0800 Subject: [PATCH] update 3d techybox layout --- .../components/LeftContentOrder.vue | 52 ----------------- src/views/3DOverview/index.vue | 57 +++++++++++-------- 2 files changed, 33 insertions(+), 76 deletions(-) diff --git a/src/views/3DOverview/components/LeftContentOrder.vue b/src/views/3DOverview/components/LeftContentOrder.vue index 73938d0..5b1c226 100644 --- a/src/views/3DOverview/components/LeftContentOrder.vue +++ b/src/views/3DOverview/components/LeftContentOrder.vue @@ -1,58 +1,6 @@ diff --git a/src/views/3DOverview/index.vue b/src/views/3DOverview/index.vue index a09597b..4546613 100644 --- a/src/views/3DOverview/index.vue +++ b/src/views/3DOverview/index.vue @@ -18,30 +18,31 @@ + +
+ +
+

+ 产线名称 : + A产线 +

+

+ 设备名称 : + 清洗机 +

+

+ 累计加工 : + 20 +

+

+ 通信状态 : + 运行中 +

+
+
+
-
- -
-

- 产线名称 : - A产线 -

-

- 设备名称 : - 清洗机 -

-

- 累计加工 : - 20 -

-

- 通信状态 : - 运行中 -

-
-
-
@@ -218,6 +219,7 @@ export default { padding: calc(24px * var(--beilv)); padding-bottom: 0; display: flex; + justify-content: space-between; gap: calc(16px * var(--beilv)); } @@ -279,11 +281,12 @@ export default { /* height: calc(512px * var(--beilv)); flex: 1; */ width: calc(472px * var(--beilv)); - overflow: hidden; + overflow: unset; display: flex; flex-direction: column; gap: calc(16px * var(--beilv)); + position: relative; } .techy-body-part__right-col-2 { @@ -292,9 +295,15 @@ export default { gap: calc(100vmin / 1920 * 36); } -.techy-body-part__middle { +/* .techy-body-part__middle { flex: 1; position: relative; +} */ + +.techy-body-part__middle { + position: absolute; + top: 0; + right: calc(-16px * var(--beilv)); } .techy-body-part__middle .techy-box {