Browse Source

pms 瑞鹰日报 设置油耗阈值 修井 颜色样式

zhangcl 1 week ago
parent
commit
6f8b79f7dd
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/pms/iotrydailyreport/xjindex.vue

+ 4 - 4
src/views/pms/iotrydailyreport/xjindex.vue

@@ -80,7 +80,7 @@
           </div>
           <div class="legend-item">
             <span class="color-indicator yellow"></span>
-            <span>当日油耗大于5吨&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;色预警</span>
+            <span>当日油耗大于5吨&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;色预警</span>
           </div>
         </div>
       </ContentWrap>
@@ -384,8 +384,8 @@ const cellStyle = ({ row, column, rowIndex, columnIndex }: { row: any; column: a
     const dailyFuel = parseFloat(row.dailyFuel) || 0;
     if (dailyFuel > 5) {
       return {
-        backgroundColor: '#fffbe6', // 浅黄色背景
-        color: '#d46b08', // 橙色文字
+        backgroundColor: '#e6f8ff', // 浅黄色背景
+        color: '#0a35c4', // 橙色文字
         fontWeight: 'bold',
         border: '1px solid #ffd591' // 可选:添加边框突出显示
       };
@@ -846,7 +846,7 @@ watch(list, () => {
 
 /* 在原有样式基础上添加黄色指示器 */
 .color-indicator.yellow {
-  background-color: #ffc53d; /* 黄色,与警告颜色一致 */
+  background-color: #0a35c4; /* 黄色,与警告颜色一致 */
 }
 
 </style>