From 7f24fe6918fd6497c314ec98e5fbf7541dafdbaa Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Mon, 22 Sep 2025 17:42:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E6=94=B6=E8=97=8F=EF=BC=9A?= =?UTF-8?q?=E7=AD=89=E5=BE=85=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/memorial/memorial.js | 6 + pages.json | 6 + pages/personalCenter/myCollection.vue | 295 ++++++++++++++++++++++++++ 3 files changed, 307 insertions(+) create mode 100644 pages/personalCenter/myCollection.vue diff --git a/api/memorial/memorial.js b/api/memorial/memorial.js index ab6adb9..77c5c3f 100644 --- a/api/memorial/memorial.js +++ b/api/memorial/memorial.js @@ -51,6 +51,12 @@ export function checkIsCollected(memorialId) { }); } +export function getUserCollection() { + return request({ + url: "/app/collect", + }); +} + // 获取套餐列表 export function getPackageList() { return request({ diff --git a/pages.json b/pages.json index 74a5fb8..758b907 100644 --- a/pages.json +++ b/pages.json @@ -214,6 +214,12 @@ "navigationStyle": "custom" } }, + { + "path": "pages/personalCenter/myCollection", + "style": { + "navigationStyle": "custom" + } + }, { "path": "pages/pieChart/pieChart", "style": { diff --git a/pages/personalCenter/myCollection.vue b/pages/personalCenter/myCollection.vue new file mode 100644 index 0000000..dee1a7b --- /dev/null +++ b/pages/personalCenter/myCollection.vue @@ -0,0 +1,295 @@ + + + + +