From dff9fb32c1bac52d378a6d196f670b92610c01d3 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期四, 16 十二月 2021 17:21:49 +0800 Subject: [PATCH] 自适应2 --- src/pages/internetEquipment/views/helemetEquipment.vue | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/pages/internetEquipment/views/helemetEquipment.vue b/src/pages/internetEquipment/views/helemetEquipment.vue index ee3abec..d9e407a 100644 --- a/src/pages/internetEquipment/views/helemetEquipment.vue +++ b/src/pages/internetEquipment/views/helemetEquipment.vue @@ -53,6 +53,7 @@ } .helmet-equipment { + position: relative; padding: 20px; width: 100%; height: 100%; @@ -63,13 +64,27 @@ } .footer { - height: 292px; + position: absolute; + top: 540px; + left: 20px; + right: 20px; + bottom: 20px; display: flex; justify-content: start; color: #4f4f4f; - + .real-time-module { + flex: 2.35; + height: 100%; + } .elec-module { + flex: 1; margin: 0 20px; + height: 100%; + } + + .history-module { + flex: 1; + height: 100%; } } } -- Gitblit v1.8.0