From 0228bf17ee7e10db5b3eb27827a652bca099673b Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Fri, 6 Feb 2026 17:15:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=96=B0=E7=8A=B6=E6=80=81=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=B7=A5=E5=85=B7):=20=E6=98=A5=E8=8A=82=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8=E4=B8=93=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/springFestival.js | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/stores/springFestival.js diff --git a/src/stores/springFestival.js b/src/stores/springFestival.js new file mode 100644 index 0000000..6bbc29f --- /dev/null +++ b/src/stores/springFestival.js @@ -0,0 +1,42 @@ +import { defineStore } from 'pinia' + +export const useSpringFestival = defineStore('springFestival', { + state: () => ({ + // 抽奖模块 + lotteryRewards: {}, // 抽奖奖池 + tickets: 0, // 抽奖券数量 + userInfo: {}, // 用户信息 + userIdentity: {}, // 用户身份 + currentEarnings: 0, // 当前收益 + selectedPayee: {}, // 选中的收款人 + taskList: [], // 任务列表 + + // 抽奖排名模块 + lotteryRanking: [], // 抽奖排名 + addLotteryRanking: [], // 补充的抽奖排名 + myLotteryRanking: {}, // 我的抽奖排名 + + // 排行榜奖励模块 + rankingRewards: {}, // 排名奖池 + + // 充值排名模块 + rechargeRanking: [], // 充值排名 + addRechargeRanking: [], // 补充的充值排名 + myRechargeRanking: {}, // 我的充值排名 + + // 充值奖池模块 + RechargeRewards: {}, // 充值奖池 + + resultShow: false, + result: [], // 抽奖结果 + + drawRecordShow: false, + myRecords: [], // 我的抽奖记录 + + receiveRecordShow: false, + receiveRecord: [], // 领取抽奖券记录 + + helpShow: false, // 帮助展示 + }), + actions: {}, +})