handy 1 月之前
父節點
當前提交
371f7e9eab
共有 2 個文件被更改,包括 18 次插入17 次删除
  1. 6 5
      src/App.vue
  2. 12 12
      src/components/WarehouseMap.vue

+ 6 - 5
src/App.vue

@@ -723,17 +723,18 @@ onBeforeUnmount(() => {
 }
 
 .legend-chip-a {
-  background: #008000;
+  background: #1f7a3f;
+  color: #f3fff7;
 }
 
 .legend-chip-b {
-  background: #0000ff;
-  color: #f4f8ff;
+  background: #2f5fd7;
+  color: #f5f8ff;
 }
 
 .legend-chip-c {
-  background: #ffff00;
-  color: #5a5200;
+  background: #b8921f;
+  color: #161200;
 }
 
 .controls {

+ 12 - 12
src/components/WarehouseMap.vue

@@ -179,19 +179,19 @@ const DEPTH_CATEGORY_MAP: Record<number, string> = {
 
 const CATEGORY_THEME_MAP: Record<string, { solid: string; soft: string; text: string }> = {
   A: {
-    solid: '#008000',
-    soft: 'rgba(0, 128, 0, 0.16)',
-    text: '#f5fff7'
+    solid: '#1f7a3f',
+    soft: 'rgba(31, 122, 63, 0.18)',
+    text: '#f3fff7'
   },
   B: {
-    solid: '#0000FF',
-    soft: 'rgba(0, 0, 255, 0.16)',
-    text: '#f4f8ff'
+    solid: '#2f5fd7',
+    soft: 'rgba(47, 95, 215, 0.18)',
+    text: '#f5f8ff'
   },
   C: {
-    solid: '#FFFF00',
-    soft: 'rgba(255, 255, 0, 0.16)',
-    text: '#5a5200'
+    solid: '#b8921f',
+    soft: 'rgba(184, 146, 31, 0.2)',
+    text: '#161200'
   }
 }
 
@@ -842,15 +842,15 @@ onBeforeUnmount(() => {
 }
 
 .grid-cell.category-a {
-  background: rgba(0, 128, 0, 0.16);
+  background: rgba(31, 122, 63, 0.18);
 }
 
 .grid-cell.category-b {
-  background: rgba(0, 0, 255, 0.16);
+  background: rgba(47, 95, 215, 0.18);
 }
 
 .grid-cell.category-c {
-  background: rgba(255, 255, 0, 0.16);
+  background: rgba(184, 146, 31, 0.2);
 }
 
 .grid-cell.category-muted {