From 25de38a1f50f85130d67d3bae7120bd51a85044d Mon Sep 17 00:00:00 2001
From: zzc <1761997216@qq.com>
Date: Wed, 21 Jan 2026 22:33:37 +0800
Subject: [PATCH] feat: deaw share
---
api/fortune.js | 7 +
pages.json | 8 +
pages/fortune/index.vue | 8 +-
pages/fortune/record.vue | 413 +++++++++++++++++++++++++++++++++++++++
pages/mine/mine.vue | 122 +++++++-----
5 files changed, 512 insertions(+), 46 deletions(-)
create mode 100644 pages/fortune/record.vue
diff --git a/api/fortune.js b/api/fortune.js
index 4a9be18..4b13458 100644
--- a/api/fortune.js
+++ b/api/fortune.js
@@ -6,3 +6,10 @@ export const drawFortune = async () => {
method: "GET",
});
};
+
+export const getList = async (page = 1) => {
+ return request({
+ url: `/api/blessing/fortune/list?page=${page}`,
+ method: "GET",
+ });
+};
diff --git a/pages.json b/pages.json
index 5795cb3..e0af25f 100644
--- a/pages.json
+++ b/pages.json
@@ -56,6 +56,14 @@
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
+ },
+ {
+ "path": "pages/fortune/record",
+ "style": {
+ "navigationBarTitleText": "我的运势记录",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ }
}
],
"globalStyle": {
diff --git a/pages/fortune/index.vue b/pages/fortune/index.vue
index 9e9793d..28b61b0 100644
--- a/pages/fortune/index.vue
+++ b/pages/fortune/index.vue
@@ -95,7 +95,7 @@
-