样式调整
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 13s
Docker Build & Deploy / Deploy to Production (push) Successful in 5s

This commit is contained in:
2025-12-27 22:44:28 +08:00
parent 840e6dbac9
commit 58d93b2e3c

View File

@@ -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;
}