From 679bc382ddf0cb6d0e3a19edcc370d4e42848bc7 Mon Sep 17 00:00:00 2001
From: gyq <875626088@qq.com>
Date: Thu, 16 Jan 2025 09:38:33 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=87=91=E5=B8=81=E6=98=8E?=
=?UTF-8?q?=E7=BB=86=E7=B1=BB=E5=9E=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/me/gold_record.vue | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/pages/me/gold_record.vue b/pages/me/gold_record.vue
index dba0694..5d25343 100644
--- a/pages/me/gold_record.vue
+++ b/pages/me/gold_record.vue
@@ -5,7 +5,10 @@
类型:{{ item.title }}
内容:{{ item.content }}
时间:{{ item.createTime }}
- +{{ item.money }}
+
+ +{{ item.money }}
+ -{{ item.money }}
+
@@ -25,6 +28,11 @@ const listData = reactive({
status: 'loading'
});
+onReachBottom(() => {
+ listData.page++;
+ getList();
+});
+
async function getList() {
try {
const res = await queryUserMoneyDetails({
@@ -83,8 +91,13 @@ page {
.btm {
display: flex;
justify-content: flex-end;
- color: rgb(253, 100, 22);
font-weight: bold;
+ .add {
+ color: rgb(253, 100, 22);
+ }
+ .sub {
+ color: #5aaf2e;
+ }
}
}
}