diff --git a/api/system.js b/api/system.js
index 9875b97..4ca2c86 100644
--- a/api/system.js
+++ b/api/system.js
@@ -6,3 +6,26 @@ export const abilityCheck = async (scene) => {
method: "GET",
});
};
+
+export const createShareToken = async (data) => {
+ return request({
+ url: "/api/blessing/share/token",
+ method: "POST",
+ data,
+ });
+};
+
+export const getPageDetail = async (shareToken) => {
+ return request({
+ url: "/api/blessing/page-detail?shareToken=" + shareToken,
+ method: "GET",
+ });
+};
+
+export const getShareReward = async (data) => {
+ return request({
+ url: "/api/blessing/share/reward",
+ method: "POST",
+ data,
+ });
+};
diff --git a/pages.json b/pages.json
index 5f52036..5795cb3 100644
--- a/pages.json
+++ b/pages.json
@@ -6,8 +6,7 @@
"navigationBarTitleText": "新春祝福",
"enablePullDownRefresh": true,
"navigationStyle": "custom",
- "backgroundColor": "#FFFFFF",
- "enableShareAppMessage": true
+ "backgroundColor": "#FFFFFF"
}
},
{
@@ -49,6 +48,14 @@
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
+ },
+ {
+ "path": "pages/fortune/detail",
+ "style": {
+ "navigationBarTitleText": "新年运势",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ }
}
],
"globalStyle": {
diff --git a/pages/fortune/detail.vue b/pages/fortune/detail.vue
new file mode 100644
index 0000000..f3573c4
--- /dev/null
+++ b/pages/fortune/detail.vue
@@ -0,0 +1,397 @@
+
+
+
+
+
+ 🏠
+
+
+
+
+
+
+ 你的好友 {{ inviterName }} 正在测试2026新年运势
+
+
+ ✨
+ 2026 灵马贺岁 · 开启你的新年好运
+
+
+
+
+
+
+
+
+
+
+ 马到成功
+
+
+
+
+
+ {{
+ fortuneData.title || "锦鲤附身 · 万事顺遂"
+ }}
+
+ {{
+ fortuneData.desc ||
+ "灵马奔腾,瑞气盈门。此签预示您在2026年如同千里骏马,不仅拥有敏锐的洞察力,更有贵人暗中相助。事业将如破竹之势,学业更有意外惊喜,心之所向,皆能圆满。"
+ }}
+
+
+ 幸运指数:
+
+ ★
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/fortune/index.vue b/pages/fortune/index.vue
index 65ce98c..9e9793d 100644
--- a/pages/fortune/index.vue
+++ b/pages/fortune/index.vue
@@ -40,7 +40,10 @@
@@ -85,7 +88,6 @@
- ● 每日仅限一次抽取
@@ -98,7 +100,8 @@
@@ -109,18 +112,29 @@
class="share-canvas"
style="width: 300px; height: 500px; position: fixed; left: 9999px"
>
+
+