From 2fc2ed317ebf3349ceca1fb2a3dd0ae8c2157e58 Mon Sep 17 00:00:00 2001 From: xudan Date: Fri, 18 Jul 2025 16:18:29 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=96=B0=E5=BA=93?= =?UTF-8?q?=E4=BD=8D=E7=8A=B6=E6=80=81=E6=A0=87=E7=AD=BE=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E5=92=8C=E6=A0=B7=E5=BC=8F=EF=BC=8C=E5=A2=9E=E5=BC=BA=E5=8F=AF?= =?UTF-8?q?=E8=AF=BB=E6=80=A7=E5=92=8C=E4=B8=80=E8=87=B4=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/card/point-detail-card.vue | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/components/card/point-detail-card.vue b/src/components/card/point-detail-card.vue index eeecd07..cf557dc 100644 --- a/src/components/card/point-detail-card.vue +++ b/src/components/card/point-detail-card.vue @@ -62,19 +62,25 @@ const getStorageStatusTag = (location: StorageLocationInfo) => { if (location.is_occupied) { tags.push({ text: '已占用', color: 'error' }); } else { - tags.push({ text: '空闲', color: 'success' }); + tags.push({ text: '未占用', color: 'success' }); } if (location.is_locked) { tags.push({ text: '已锁定', color: 'warning' }); + } else { + tags.push({ text: '未锁定', color: 'success' }); } if (location.is_disabled) { tags.push({ text: '已禁用', color: 'error' }); + } else { + tags.push({ text: '未禁用', color: 'success' }); } if (location.is_empty_tray) { - tags.push({ text: '空托盘', color: 'processing' }); + tags.push({ text: '空托盘', color: 'success' }); + } else { + tags.push({ text: '非空托盘', color: 'warning' }); } return tags; @@ -185,9 +191,8 @@ const getStorageStatusTag = (location: StorageLocationInfo) => { align-items: center; justify-content: space-between; margin-bottom: 8px; - padding: 8px; + padding: 16px; border-radius: 4px; - border: 1px solid get-color(border1); &:last-child { margin-bottom: 0;