|
|
@@ -80,7 +80,7 @@
|
|
|
</div>
|
|
|
<div class="legend-item">
|
|
|
<span class="color-indicator yellow"></span>
|
|
|
- <span>当日油耗大于5吨 黄色预警</span>
|
|
|
+ <span>当日油耗大于5吨 蓝色预警</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>
|