From 84201c1e88b65f16b6da2c85ab8eee23f37a3da1 Mon Sep 17 00:00:00 2001
From: Gary Gu <garygu@Garydebijibendiannao.local>
Date: Mon, 30 Jun 2025 16:02:54 +0800
Subject: [PATCH] fix: 引入第三方字体

---
 src/views/EquipmentView.vue |   32 ++++++++++++++++++++++++--------
 1 files changed, 24 insertions(+), 8 deletions(-)

diff --git a/src/views/EquipmentView.vue b/src/views/EquipmentView.vue
index b307bf8..7413ba0 100644
--- a/src/views/EquipmentView.vue
+++ b/src/views/EquipmentView.vue
@@ -45,8 +45,13 @@
             backgroundRepeat: 'no-repeat',
             backgroundPosition: 'center center',
             backgroundSize: '100% 100%',
+            display: 'flex',
+            alignItems: 'center',
           }"
         >
+          <span style="font-family: PangMenZhengDaoBiaoTiTi !important; font-size: 24px; letter-spacing: 2px; white-space: nowrap; margin-left: 30px"
+            >重要设备状态</span
+          >
         </div>
         <div class="equipment-status" :style="sectionStyle">
           <el-select v-model="deviceSelected" placeholder="请选择" @change="handleSelectChange">
@@ -105,8 +110,13 @@
             backgroundRepeat: 'no-repeat',
             backgroundPosition: 'center center',
             backgroundSize: '100% 100%',
+            display: 'flex',
+            alignItems: 'center',
           }"
         >
+          <span style="font-family: PangMenZhengDaoBiaoTiTi !important; font-size: 24px; letter-spacing: 2px; white-space: nowrap; margin-left: 30px"
+            >环境监测</span
+          >
         </div>
         <div class="environment-grid" :style="sectionStyle">
           <div class="env-item">
@@ -202,8 +212,8 @@
         options: [],
         backgroundImage: new URL("@/assets/images/backgrounds/cover_bg.png", import.meta.url).href,
         titleImage: new URL("@/assets/images/titles/renyuan.png", import.meta.url).href,
-        middleImage: new URL("@/assets/images/titles/shebei.png", import.meta.url).href,
-        bottomImage: new URL("@/assets/images/titles/huanjing.png", import.meta.url).href,
+        middleImage: new URL("@/assets/images/titles/xiangmu.png", import.meta.url).href,
+        bottomImage: new URL("@/assets/images/titles/xiangmu.png", import.meta.url).href,
         bgImage: new URL("@/assets/images/titles/title_second.png", import.meta.url).href,
         enviorImage: new URL("@/assets/images/titles/wendu_bg.png", import.meta.url).href,
         deviceOnline: 0,
@@ -280,14 +290,14 @@
                   },
                   data: [
                     {
-                      value: 81.5,
+                      value: 0,
                       name: "",
                       itemStyle: {
                         color: "#00FFFF",
                       },
                     },
                     {
-                      value: 18.5,
+                      value: 100,
                       name: "",
                       itemStyle: {
                         color: "transparent",
@@ -368,14 +378,14 @@
                   },
                   data: [
                     {
-                      value: 33,
+                      value: 0,
                       name: "",
                       itemStyle: {
                         color: "#00FFFF",
                       },
                     },
                     {
-                      value: 77,
+                      value: 100,
                       name: "",
                       itemStyle: {
                         color: "transparent",
@@ -456,14 +466,14 @@
                   },
                   data: [
                     {
-                      value: 20,
+                      value: 0,
                       name: "",
                       itemStyle: {
                         color: "#00FFFF",
                       },
                     },
                     {
-                      value: 80,
+                      value: 100,
                       name: "",
                       itemStyle: {
                         color: "transparent",
@@ -1129,3 +1139,9 @@
     display: none;
   }
 </style>
+<style lang="scss">
+  .el-scrollbar__wrap {
+    overflow-x: hidden;
+    overflow-y: scroll;
+  }
+</style>

--
Gitblit v1.9.3