From 39f8ffd810b6b1c8e3964b21fef4c8c24aaa17e1 Mon Sep 17 00:00:00 2001
From: shishuaikang <280848880@qq.com>
Date: 星期三, 06 十二月 2023 17:02:53 +0800
Subject: [PATCH] 苏州拌合站大屏分辨率修改,定时器改10分钟

---
 web/src/views/MixingInfo/mixing.vue |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/web/src/views/MixingInfo/mixing.vue b/web/src/views/MixingInfo/mixing.vue
index ce3481b..b6801dd 100644
--- a/web/src/views/MixingInfo/mixing.vue
+++ b/web/src/views/MixingInfo/mixing.vue
@@ -1,7 +1,7 @@
 <template>
     <div class="wrap">
         <div class="header">
-            <div class="header_name">中铁十四局通甬站前I标管片场拌合站</div>
+            <div class="header_name">中铁十四局通甬站前I标管片场拌和站</div>
         </div>
         <div class="container">
             <div class="con_name">
@@ -46,7 +46,7 @@
             fn()
             return fn
         })(),
-        1000 * 60 * 5
+        1000 * 60 * 10
     )
     if (Vue) {
         Vue.$once('hook:beforeDestroy', function () {
@@ -100,6 +100,10 @@
             $html.style.fontSize = `${fontsize}px`
         }
     },
+    beforeDestroy() {
+        let $html = document.getElementsByTagName('html')[0]
+        $html.style.fontSize = ''
+    },
     methods: {
         getLists() {
             const percentArr = Object.keys(this.percents)
@@ -133,7 +137,7 @@
     }
 }
 </script>
-<style scoped>
+<style lang="scss" scoped>
 li {
     list-style: none;
 }
@@ -158,7 +162,7 @@
     background-size: 100% auto;
 
     .header_name {
-        font-size: 1.6rem;
+        font-size: 1.4rem;
         font-weight: bold;
         line-height: 3.2rem;
         letter-spacing: 2px;
@@ -170,6 +174,7 @@
 }
 
 .container {
+    overflow: hidden;
     flex: 1;
     display: flex;
     flex-direction: column;
@@ -203,6 +208,7 @@
         }
 
         .line {
+            overflow: hidden;
             flex: 1;
             height: 14px;
 
@@ -217,6 +223,7 @@
     }
 
     .con_main {
+        overflow: hidden;
         margin-top: 10px;
         flex: 1;
         display: flex;
@@ -251,13 +258,13 @@
                 float: left;
                 width: 50%;
                 height: 100%;
-                min-height: 480px;
                 text-align: center;
 
-                >p {
+                > p {
                     position: absolute;
                     left: 50%;
-                    top: 21%;
+                    top: 18%;
+                    font-size: 0.7rem;
                     white-space: nowrap;
                     transform: translate(-50%, -50%);
                 }

--
Gitblit v1.9.3