样式调整
This commit is contained in:
@@ -418,8 +418,8 @@ const isCurrentMonth = computed(() => {
|
|||||||
|
|
||||||
// 格式化金额
|
// 格式化金额
|
||||||
const formatMoney = (value) => {
|
const formatMoney = (value) => {
|
||||||
if (!value && value !== 0) return '0.00'
|
if (!value && value !== 0) return '0'
|
||||||
return Number(value).toFixed(2).replace(/\B(?=(\d{3})+(?!\d))/g, ',')
|
return Number(value).toFixed(0).replace(/\B(?=(\d{3})+(?!\d))/g, ',')
|
||||||
}
|
}
|
||||||
|
|
||||||
// 格式化短金额(k为单位)
|
// 格式化短金额(k为单位)
|
||||||
@@ -768,7 +768,7 @@ onActivated(() => {
|
|||||||
.overview-item.clickable {
|
.overview-item.clickable {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background-color 0.2s;
|
transition: background-color 0.2s;
|
||||||
padding: 8px;
|
padding: 0;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user