From cc7394172fdb88ab698492a3347625eac451c5df Mon Sep 17 00:00:00 2001 From: dzq Date: Sat, 20 Dec 2025 17:17:45 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=99=BA=E8=83=BD=E6=9F=9C=E5=8D=A1?= =?UTF-8?q?=E7=89=87):=20=E4=BC=98=E5=8C=96=E5=8D=A0=E7=94=A8=E5=92=8C?= =?UTF-8?q?=E7=A9=BA=E9=97=B2=E7=8A=B6=E6=80=81=E7=9A=84SVG=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为占用和空闲状态添加渐变色背景和阴影效果 - 增加锁图标和更精致的文字样式 - 改进格口类型标签的显示方式 - 移除不必要的底部边距 --- .../cabinet/smart-cabinet-card/detail.vue | 102 +++++++++++++++--- 1 file changed, 87 insertions(+), 15 deletions(-) diff --git a/src/views/cabinet/smart-cabinet-card/detail.vue b/src/views/cabinet/smart-cabinet-card/detail.vue index cd3c35c..4a8e568 100644 --- a/src/views/cabinet/smart-cabinet-card/detail.vue +++ b/src/views/cabinet/smart-cabinet-card/detail.vue @@ -423,24 +423,98 @@ onMounted(() => { - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + 占用 - {{ switchCellType(item.cellType) }} + + + + + + + + {{ switchCellType(item.cellType) }} + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + 空闲 - {{ switchCellType(item.cellType) }} + + + + + + + + {{ switchCellType(item.cellType) }} +
@@ -568,7 +642,6 @@ onMounted(() => { height: 130px; object-fit: contain; border-radius: 4px; - margin-bottom: 12px; } .cell-image-full { @@ -576,7 +649,6 @@ onMounted(() => { height: 130px; object-fit: contain; border-radius: 4px; - margin-bottom: 12px; } .cell-info { @@ -620,7 +692,7 @@ onMounted(() => { display: flex; justify-content: center; margin-top: auto; - padding: 8px 0 0 0; + padding: 0; /* border-top: 1px solid var(--el-border-color-light); */ .cell-btn {