From bd3185aac32188a37709a2469406bf0bb89d22b9 Mon Sep 17 00:00:00 2001
From: zzc <1761997216@qq.com>
Date: Sat, 28 Feb 2026 09:34:11 +0800
Subject: [PATCH] fix: index page
---
api/system.js | 7 ++
pages/creation/index.vue | 10 +--
pages/index/index.vue | 151 +++++++++++++++++++++++++++++++++++++--
3 files changed, 159 insertions(+), 9 deletions(-)
diff --git a/api/system.js b/api/system.js
index 68fbdc7..d841023 100644
--- a/api/system.js
+++ b/api/system.js
@@ -60,6 +60,13 @@ export const getRankList = async (scene) => {
});
};
+export const getCardSpecialTopic = async () => {
+ return request({
+ url: `/api/blessing/card/special-topic`,
+ method: "get",
+ });
+};
+
export const getRandomRecommendList = async (scene) => {
return request({
url: `/api/blessing/random/recommend/list?scene=${scene}`,
diff --git a/pages/creation/index.vue b/pages/creation/index.vue
index 5e44149..6be809b 100644
--- a/pages/creation/index.vue
+++ b/pages/creation/index.vue
@@ -23,7 +23,7 @@
灵感瞬间
今日推荐创作
- 开启你的第一份
新春祝福
+ 开启你今日的第一份
祝福
去制作
- 新春贺卡
+ 祝福贺卡
@@ -67,7 +67,7 @@
-
+
- {{ signInfo.isSignedToday ? "已开启" : "抽取好运" }}
+ {{
+ signInfo.isSignedToday ? "已开启今日好运" : "签到抽取好运"
+ }}
@@ -111,6 +113,29 @@
+
+
+
+ {{ specialTopic.sceneName }}
+ {{ specialTopic.sceneDesc }}
+ {{ specialTopic.sceneBlessing }}
+
+
+
+
+
+
+
+
+
+