1
0

2 Commitit 40d347f91a ... 50db120bce

Tekijä SHA1 Viesti Päivämäärä
  hongrunxia 50db120bce Merge branch 'master' of http://39.97.59.228:8013/hrx/mky-vent-base 3 viikkoa sitten
  hongrunxia 08b8f6ffe4 [Mod 0000] 优化皮带巷预警弹框样式 3 viikkoa sitten

+ 1 - 1
src/views/vent/home/configurable/belt/belt-new.vue

@@ -2,7 +2,7 @@
 <template>
   <div class="company-home">
     <!-- 顶部标题栏 + 下拉选择 -->
-    <customHeader> 皮带巷智能管控 </customHeader>
+    <customHeader> 皮带巷预警管控详情 </customHeader>
     <div class="modal-box" id="modalBox">
       <Three3D ref="three3D" :modalName="'pidai'" class="modal-3d" @success="initModalAnimate" />
       <div class="modal-css3d" id="css3dContainer"> </div>

+ 24 - 25
src/views/vent/home/configurable/belt/threejs/MonitorPanel.vue

@@ -231,11 +231,12 @@
   /* 主面板(科技风 + 状态颜色) */
   /* ====================================== */
   .monitor-panel {
-    width: 760px;
-    background: linear-gradient(145deg, rgba(10, 30, 60, 0.95), rgba(15, 40, 80, 0.9));
+    width: 800px;
+    background: linear-gradient(0deg, rgba(1, 38, 65, 0.8), rgba(0, 55, 92, 0.55));
+    /* background: rgba(0, 47, 85, 0.7); */
     border: 5px solid #40a9ff;
     border-radius: 16px;
-    padding: 28px 24px 40px;
+    padding: 40px 30px;
     box-sizing: border-box;
     position: absolute;
     font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
@@ -251,36 +252,34 @@
 
   /* 报警状态整体变红 */
   .monitor-panel.alarm {
-    border-color: #ff4d4f;
-    box-shadow:
-      0 12px 40px rgba(255, 77, 79, 0.35),
-      inset 0 0 0 1px rgba(255, 77, 79, 0.2);
-    animation: panelPulse 1.5s infinite alternate;
+    /* border-color: #ff4d4f; */
+    box-shadow: inset 0 0 60px rgb(206, 0, 0.7); /* 内发光效果 */
+    animation: panelPulse 0.8s infinite alternate;
   }
 
   @keyframes panelPulse {
     0% {
-      box-shadow:
-        0 12px 40px rgba(255, 77, 79, 0.35),
-        inset 0 0 0 1px rgba(255, 77, 79, 0.2);
+      border-color: #ff4d4f55;
+      box-shadow: inset 0 0 60px rgb(206, 0, 0, 0.5); /* 内发光效果 */
     }
     100% {
-      box-shadow:
-        0 12px 50px rgba(255, 77, 79, 0.5),
-        inset 0 0 0 1px rgba(255, 77, 79, 0.3);
+      border-color: #bb000388;
+      box-shadow: inset 0 0 60px rgb(206, 0, 0.9); /* 内发光效果 */
     }
   }
 
   /* 标题 */
   .panel-title {
     text-align: center;
-    font-size: 40px;
+    font-size: 35px;
     font-weight: 700;
-    margin-bottom: 24px;
+    margin-bottom: 18px;
     letter-spacing: 4px;
-    background: linear-gradient(90deg, #40a9ff, #69c0ff);
-    -webkit-background-clip: text;
-    -webkit-text-fill-color: transparent;
+    width: 100%;
+    padding: 5px 0;
+    background: linear-gradient(90deg, #4195d211, #0068bd55, #4195d211);
+    /* -webkit-background-clip: text; */
+    /* -webkit-text-fill-color: transparent; */
     text-shadow: 0 0 16px rgba(64, 169, 255, 0.4);
   }
 
@@ -300,9 +299,9 @@
     display: flex;
     justify-content: space-between;
     align-items: center;
-    background: rgba(30, 70, 120, 0.4);
-    border: 3px solid rgba(64, 169, 255, 0.3);
-    padding: 16px 20px;
+    background: rgba(30, 70, 120, 0.2);
+    border: 3px solid rgba(64, 169, 255, 0.2);
+    padding: 12px 20px;
     border-radius: 12px;
     font-size: 25px;
     transition: all 0.3s ease;
@@ -325,7 +324,7 @@
   }
 
   .ai-label {
-    color: #36cffb;
+    color: #00d9ff;
     text-shadow: 0 0 8px rgba(54, 207, 251, 0.3);
   }
 
@@ -333,7 +332,7 @@
   .item-value {
     font-weight: 700;
     font-size: 27px;
-    color: #40a9ff;
+    color: #6abcff;
     letter-spacing: 2px;
     transition: all 0.3s ease;
   }
@@ -372,7 +371,7 @@
   }
 
   .monitor-panel.alarm .panel-arrow {
-    border-top-color: #ff4d4f;
+    border-top-color: #cf0003;
     filter: drop-shadow(0 4px 8px rgba(255, 77, 79, 0.4));
   }
 </style>