From f5bf135827fff8b03826d20428c03bab7e9221f3 Mon Sep 17 00:00:00 2001
From: WindowBird <13870814+windows-bird@user.noreply.gitee.com>
Date: Tue, 23 Sep 2025 13:32:04 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=A5=89=E5=A4=A7=E5=8E=85-=E4=BE=9B?=
=?UTF-8?q?=E5=A5=89=E5=88=97=E8=A1=A8-=E6=8E=A5=E5=8F=A3=E4=BC=98?=
=?UTF-8?q?=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/memorial/memorial.js | 8 +++++++-
pages/memorial/compositons/enshrinedList.vue | 20 ++++++++++----------
2 files changed, 17 insertions(+), 11 deletions(-)
diff --git a/api/memorial/memorial.js b/api/memorial/memorial.js
index 77c5c3f..00695b3 100644
--- a/api/memorial/memorial.js
+++ b/api/memorial/memorial.js
@@ -13,7 +13,13 @@ export function getEnshrinedList(params) {
return request({
url: "/app/enshrined/list",
method: "get",
- params,
+ params: {
+ pageNum: "1",
+ pageSize: "12",
+ orderByColumn: "create_time",
+ isAsc: "descending",
+ ...params,
+ },
});
}
diff --git a/pages/memorial/compositons/enshrinedList.vue b/pages/memorial/compositons/enshrinedList.vue
index 635ed83..385d1dc 100644
--- a/pages/memorial/compositons/enshrinedList.vue
+++ b/pages/memorial/compositons/enshrinedList.vue
@@ -16,16 +16,16 @@
class="table-row"
@click="handleItemClick(item)"
>
- {{
- item.worshiperName || "未知"
- }}
- {{
- formatDate(item.startDate)
- }}
+ {{ item.worshiperName || "未知" }}
+
+ {{ formatDate(item.startDate) }}
+
{{ formatDate(item.endDate) }}
- {{
- item.thaliName || "未知类型"
- }}
+ {{ item.thaliName || "未知类型" }}
+
@@ -67,7 +67,7 @@ export default {
enshrinedList: [],
loading: false,
pageNum: 1,
- pageSize: 10,
+ pageSize: 12,
total: 0,
hasMore: true,
};