-
-
+
+
+
账户余额
@@ -43,6 +95,9 @@ const wallet = () => {
+
+
+
@@ -50,18 +105,47 @@ const wallet = () => {
-
-
-
+
+
+
+ {payments.map((payment, index) => (
+
+ {transactionType === "expenditure" && payment.sign === "-¥" && (
+
+
+
{payment.name}
+
{payment.date} {payment.time}
+
+
{payment.sign}{payment.amount}
+
+
+
+ )}
+ {transactionType === "income" && payment.sign === "+¥" && (
+
+
+
{payment.name}
+
{payment.date} {payment.time}
+
+
{payment.sign}{payment.amount}
+
+
+
+ )}
+
+ ))}
+
+
);
}
-export default wallet;
\ No newline at end of file
+export default Wallet;
\ No newline at end of file
From 6515ac02c2594a70aedb716c48358b53862dafb4 Mon Sep 17 00:00:00 2001
From: opacity <2513473008@qq.com>
Date: Thu, 4 Apr 2024 21:39:52 +0800
Subject: [PATCH 2/3] =?UTF-8?q?fix(user)=E4=BF=AE=E6=94=B9=E9=83=A8?=
=?UTF-8?q?=E5=88=86=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/app/user/page.tsx | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/app/user/page.tsx b/src/app/user/page.tsx
index 24d27ab..a414157 100644
--- a/src/app/user/page.tsx
+++ b/src/app/user/page.tsx
@@ -47,8 +47,12 @@ function User() {
{/* 内容区域 */}
From 07220d6f57c42322fbba4b14076cf4eb2067bcce Mon Sep 17 00:00:00 2001
From: opacity <2513473008@qq.com>
Date: Thu, 4 Apr 2024 21:40:20 +0800
Subject: [PATCH 3/3] =?UTF-8?q?fix(user-detail)=E4=BF=AE=E6=94=B9=E9=83=A8?=
=?UTF-8?q?=E5=88=86=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/app/user-detailed/page.tsx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/app/user-detailed/page.tsx b/src/app/user-detailed/page.tsx
index 3fc441c..f1bc776 100644
--- a/src/app/user-detailed/page.tsx
+++ b/src/app/user-detailed/page.tsx
@@ -68,8 +68,11 @@ function User() {
{/* 内容区域 */}
@@ -92,15 +95,12 @@ function User() {