zhoushihao
2025-09-04 e782b38bd2fbe97b140b6bdd450d2c3d299f4b0b
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'; 
  }