样式调整
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user