From dfb6c593e48eae64cc1f59aa3286d4651a53d7a9 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 2 Apr 2023 18:14:16 +0800 Subject: [PATCH] format code --- src/views/mobile/Home.vue | 60 +++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/src/views/mobile/Home.vue b/src/views/mobile/Home.vue index 3764f806..bdac44f3 100644 --- a/src/views/mobile/Home.vue +++ b/src/views/mobile/Home.vue @@ -44,21 +44,21 @@
Today - {{ $t('Today' )}} + {{ $t('Today') }}
-
-
- 0.00 USD +
+
+ 0.00 USD {{ transactionOverview.today.incomeAmount | amount(transactionOverview.today.incompleteIncomeAmount, showAmountInHomePage) | currency(defaultCurrency) }} -
-
- 0.00 USD +
+
+ 0.00 USD {{ transactionOverview.today.expenseAmount | amount(transactionOverview.today.incompleteExpenseAmount, showAmountInHomePage) | currency(defaultCurrency) }} -
+
@@ -68,7 +68,7 @@
This Week - {{ $t('This Week' )}} + {{ $t('This Week') }}
-
-
- 0.00 USD +
+
+ 0.00 USD {{ transactionOverview.thisWeek.incomeAmount | amount(transactionOverview.thisWeek.incompleteIncomeAmount, showAmountInHomePage) | currency(defaultCurrency) }} -
-
- 0.00 USD +
+
+ 0.00 USD {{ transactionOverview.thisWeek.expenseAmount | amount(transactionOverview.thisWeek.incompleteExpenseAmount, showAmountInHomePage) | currency(defaultCurrency) }} -
+
@@ -95,7 +95,7 @@
This Month - {{ $t('This Month' )}} + {{ $t('This Month') }}
-
-
- 0.00 USD +
+
+ 0.00 USD {{ transactionOverview.thisMonth.incomeAmount | amount(transactionOverview.thisMonth.incompleteIncomeAmount, showAmountInHomePage) | currency(defaultCurrency) }} -
-
- 0.00 USD +
+
+ 0.00 USD {{ transactionOverview.thisMonth.expenseAmount | amount(transactionOverview.thisMonth.incompleteExpenseAmount, showAmountInHomePage) | currency(defaultCurrency) }} -
+
@@ -122,13 +122,13 @@
This Year - {{ $t('This Year' )}} + {{ $t('This Year') }}
-
+
0.00 USD {{ transactionOverview.thisYear.incomeAmount | amount(transactionOverview.thisYear.incompleteIncomeAmount, showAmountInHomePage) | currency(defaultCurrency) }} @@ -216,10 +216,10 @@ export default { thisMonthAmount() { if (!this.$store.state.transactionOverview || !this.$store.state.transactionOverview.thisMonth) { return { - incomeAmount : 0, - expenseAmount : 0, + incomeAmount: 0, + expenseAmount: 0, incompleteIncomeAmount: false, - incompleteExpenseAmount : false + incompleteExpenseAmount: false }; } @@ -325,7 +325,7 @@ export default { .home-summary-misc > span { margin-right: 4px; - } +} .home-summary-misc > span:last-child { margin-right: 0;