wangfei
2025-06-26 77ff95afbe2d1e632de34e5df938ecf52d472127
UI-Project/src/views/Identify/identifwutwo.vue
@@ -98,9 +98,9 @@
            // 如果不存在,则添加新矩形,默认 isActive 为 false
            return {
              ...rect,
              xAxisa: rect.xAxis * scaleFactory,
              xAxisa: rect.xAxis * scaleFactor,
              yAxisa: (widthreturn - (rect.yAxis + rect.edgHeight)) * scaleFactory,
              width: rect.edgWidth * scaleFactory,
              width: rect.edgWidth * scaleFactor,
              height: rect.edgHeight * scaleFactory,
              widtha: rect.edgWidth,
              heighta: rect.edgHeight,
@@ -176,7 +176,7 @@
function getRectColor(state: number): string {
  switch (state) {
    case 0:  
      return '#7AC5CD';
      return '#7AC5CD';//未进笼
    case 1:
      return '#95d475';
    case -1:
@@ -188,9 +188,9 @@
    case 4:  
      return '#CD6090';
    case 8:
      return '#911005';
      return '#911005';//破损
    case 9:
      return '#4682B4';
      return '#4682B4';//拿走
    default:
      return '#CDAF95'; 
  }