From bc59e4a8936e672d1bed95d81e617118314ab0d1 Mon Sep 17 00:00:00 2001 From: tcy <1193318383@qq.com> Date: Fri, 12 Sep 2025 21:00:10 +0800 Subject: [PATCH] =?UTF-8?q?style(progressCategory):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=BF=9B=E5=BA=A6=E5=88=86=E7=B1=BB=E9=A1=B5=E9=9D=A2=E7=9A=84?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=92=8C=E4=BA=A4=E4=BA=92=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整摘要卡片的布局和间距 - 添加悬停动画效果和渐变边框 - 改进数值显示样式和默认值处理 - 增强图标视觉效果和交互反馈 --- src/views/progress/progressCategory/index.vue | 115 +++++++++++++----- 1 file changed, 83 insertions(+), 32 deletions(-) diff --git a/src/views/progress/progressCategory/index.vue b/src/views/progress/progressCategory/index.vue index bcce1a8..ee6ae73 100644 --- a/src/views/progress/progressCategory/index.vue +++ b/src/views/progress/progressCategory/index.vue @@ -24,7 +24,7 @@ - + 新增 @@ -40,7 +40,7 @@ 展开/折叠 - + @@ -50,7 +50,8 @@ 产值金额(业主) - {{ ownerOutputSum }} + {{ ownerOutputSum }} + 0 @@ -61,7 +62,8 @@ 产值金额(分包) - {{ constructionOutputSum }} + {{ constructionOutputSum }} + 0 @@ -313,7 +315,7 @@ const ownerOutputSum = computed(() => { tempData.value.forEach(item => { sum += Number(item.ownerOutputValue); }) - return proxy.formatPrice(sum); + return proxy.formatPrice(sum) ?? 0; }); const constructionOutputSum = computed(() => { let sum = 0; @@ -542,58 +544,100 @@ onUnmounted(() => {