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 @@