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 @@ + + + + +