diff --git a/src/api/base/srApi.ts b/src/api/base/srApi.ts
new file mode 100644
index 0000000..d7871c6
--- /dev/null
+++ b/src/api/base/srApi.ts
@@ -0,0 +1,26 @@
+// 生日贺卡相关API接口
+import { get, post } from "@/utils/request";
+
+/**
+ * 获取贺卡详情
+ * @param params { id: 推送记录ID }
+ */
+export const srGetCardDetailApi = async (params: { id: string }) => {
+ return await get("/api/srTsRecord/getCardDetail", params);
+};
+
+/**
+ * 标记贺卡为已查阅
+ * @param params { xxtsId: 消息推送ID }
+ */
+export const srMarkAsViewedApi = async (params: { xxtsId: string }) => {
+ return await post("/api/srTsRecord/markAsViewed", params);
+};
+
+/**
+ * 获取推送记录列表
+ */
+export const srFindPageApi = async (params: any) => {
+ return await get("/api/srTsRecord/findPage", params);
+};
+
diff --git a/src/pages.json b/src/pages.json
index a93bed9..162f32f 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -381,6 +381,24 @@
"navigationBarTitleText": "收款码",
"enablePullDownRefresh": false
}
+ },
+ {
+ "path": "pages/base/birthday/envelope",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": "生日祝福",
+ "enablePullDownRefresh": false,
+ "backgroundColor": "#ff9a9e"
+ }
+ },
+ {
+ "path": "pages/base/birthday/card",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": "生日祝福",
+ "enablePullDownRefresh": false,
+ "backgroundColor": "#ff9a9e"
+ }
}
],
"globalStyle": {
diff --git a/src/pages/base/birthday/card.vue b/src/pages/base/birthday/card.vue
new file mode 100644
index 0000000..3a5bbd9
--- /dev/null
+++ b/src/pages/base/birthday/card.vue
@@ -0,0 +1,695 @@
+
+
+
+
+
+
+
+
+ 加载中...
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ greetingFromContent }}
+
+
+
+
+
+
+ {{ line || '\u00A0' }}
+
+
+
+
+
+
+
+
+
+
+ {{ cardData.signLabel }}
+ {{ cardData.signerName }}
+
+
+
+
+ {{ currentDate }}
+
+
+
+
+
+
+
+
+
+
+ 🎵
+
+
+
+
+
+ 🎂
+ 贺卡不存在或已过期
+
+
+
+
+
+
+
diff --git a/src/pages/base/birthday/envelope.vue b/src/pages/base/birthday/envelope.vue
new file mode 100644
index 0000000..68bb8e2
--- /dev/null
+++ b/src/pages/base/birthday/envelope.vue
@@ -0,0 +1,653 @@
+
+
+
+
+
+
+ ✨
+ ⭐
+ ✨
+ 🎉
+ ⭐
+ ✨
+
+
+
+
+ 您收到一封生日祝福
+ 点击信封查看
+
+
+
+
+
+
+
+
+
+
+
+
+ 🎂
+ 生日快乐
+ 点击查看完整贺卡
+
+
+
+
+
+
+
+
+
+
+ 🎂
+
+
+
+
+
+
+ 👆
+
+
+
+
+
+ 🎈
+ 🎁
+ 🎈
+
+
+
+
+ 🎵
+
+
+
+
+
+
+
diff --git a/src/static/base/music/srkl.mp3 b/src/static/base/music/srkl.mp3
new file mode 100644
index 0000000..10d8336
Binary files /dev/null and b/src/static/base/music/srkl.mp3 differ