From 9ecf652fd73d3b789571ee32637ab1c89081fef4 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Thu, 9 Nov 2023 16:54:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=B5=81=E5=B7=A5=E8=89=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 8 ++++++++ src/assets/css/reset.css | 7 +------ .../LogisticsProcess/{canvas.vue => canvas_1.vue} | 0 src/pages/shunhe/LogisticsProcess/index.vue | 6 +++--- src/pages/shunhe/LogisticsProcess/workshop.vue | 12 ++++++------ 5 files changed, 18 insertions(+), 15 deletions(-) rename src/pages/shunhe/LogisticsProcess/{canvas.vue => canvas_1.vue} (100%) diff --git a/src/App.vue b/src/App.vue index e9fb7c5..00f60e9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -21,6 +21,14 @@ export default { }, computed: { ...mapGetters(['showToast', 'showAlert']) + }, + mounted () { + const htmlStyle = document.getElementsByTagName('html')[0].style + if (window.screen.height <= 1080) { + htmlStyle.height = 1080 + } else { + htmlStyle.height = 1200 + } } } diff --git a/src/assets/css/reset.css b/src/assets/css/reset.css index cdd533c..eae30bf 100644 --- a/src/assets/css/reset.css +++ b/src/assets/css/reset.css @@ -81,13 +81,8 @@ li { /* 顺安大屏尺寸1920*1200 */ html, body { - /* width: 100%; - height: 100%; */ width: 1920px; - height: 1200px; - /* 顺和大屏尺寸 */ - /* height: 1080px; */ - /* 顺和看板尺寸 */ + height: 100%; } body { diff --git a/src/pages/shunhe/LogisticsProcess/canvas.vue b/src/pages/shunhe/LogisticsProcess/canvas_1.vue similarity index 100% rename from src/pages/shunhe/LogisticsProcess/canvas.vue rename to src/pages/shunhe/LogisticsProcess/canvas_1.vue diff --git a/src/pages/shunhe/LogisticsProcess/index.vue b/src/pages/shunhe/LogisticsProcess/index.vue index 16c06b0..98d248a 100644 --- a/src/pages/shunhe/LogisticsProcess/index.vue +++ b/src/pages/shunhe/LogisticsProcess/index.vue @@ -32,7 +32,7 @@
-
当日工序生产统计
+
工序生产统计
@@ -232,7 +232,7 @@