From 58d93b2e3c94b6925d23dd6c806a073c8dfb5123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E8=AF=9A?= Date: Sat, 27 Dec 2025 22:44:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/src/views/StatisticsView.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Web/src/views/StatisticsView.vue b/Web/src/views/StatisticsView.vue index 539e66c..2687e37 100644 --- a/Web/src/views/StatisticsView.vue +++ b/Web/src/views/StatisticsView.vue @@ -418,8 +418,8 @@ const isCurrentMonth = computed(() => { // 格式化金额 const formatMoney = (value) => { - if (!value && value !== 0) return '0.00' - return Number(value).toFixed(2).replace(/\B(?=(\d{3})+(?!\d))/g, ',') + if (!value && value !== 0) return '0' + return Number(value).toFixed(0).replace(/\B(?=(\d{3})+(?!\d))/g, ',') } // 格式化短金额(k为单位) @@ -768,7 +768,7 @@ onActivated(() => { .overview-item.clickable { cursor: pointer; transition: background-color 0.2s; - padding: 8px; + padding: 0; border-radius: 8px; }