From cc08ad46e3d91ade08647db1260d9595eb1714ad Mon Sep 17 00:00:00 2001 From: MaysWind Date: Mon, 31 Jul 2023 00:20:35 +0800 Subject: [PATCH] modify overview page loading style --- src/views/desktop/HomePage.vue | 36 ++++++++++------- .../overview/IncomeExpenseOverviewCard.vue | 15 +++++-- .../overview/MonthlyIncomeAndExpenseCard.vue | 40 ++++++++++++++++--- 3 files changed, 66 insertions(+), 25 deletions(-) diff --git a/src/views/desktop/HomePage.vue b/src/views/desktop/HomePage.vue index 25a2871c..dcef0e68 100644 --- a/src/views/desktop/HomePage.vue +++ b/src/views/desktop/HomePage.vue @@ -21,15 +21,17 @@
- {{ transactionOverview && transactionOverview.thisMonth ? getDisplayExpenseAmount(transactionOverview.thisMonth) : '-' }} - {{ transactionOverview && transactionOverview.thisMonth ? getDisplayExpenseAmount(transactionOverview.thisMonth) : '-' }} + +
{{ $t('Monthly income') }} - {{ transactionOverview && transactionOverview.thisMonth ? getDisplayIncomeAmount(transactionOverview.thisMonth) : '-' }} + {{ transactionOverview && transactionOverview.thisMonth ? getDisplayIncomeAmount(transactionOverview.thisMonth) : '-' }} +
{{ $t('View Details') }} @@ -40,10 +42,10 @@