From 824354753e9fa992a14db732f0a4af628e31ab81 Mon Sep 17 00:00:00 2001 From: Ethereal <3432649580@qq.com> Date: Tue, 22 Jul 2025 10:19:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E7=90=83=E4=BD=93=E4=B8=8B?= =?UTF-8?q?=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/choujiang/hxl-cj/cj.vue | 1 + src/views/choujiang/index.vue | 4 ++-- src/views/choujiang/lottery/Lottery3D.vue | 1 + src/views/choujiang/lottery/dataManager.js | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/choujiang/hxl-cj/cj.vue b/src/views/choujiang/hxl-cj/cj.vue index d85794a..fa0c0a4 100644 --- a/src/views/choujiang/hxl-cj/cj.vue +++ b/src/views/choujiang/hxl-cj/cj.vue @@ -368,6 +368,7 @@ const initAll = async () => { getPrizeListApi(), getUserListApi(), ]); + console.log("hxl-cj调用一次接口", prizeList); // 奖品列表 prizes.value = prizeList.data; // 用户列表 diff --git a/src/views/choujiang/index.vue b/src/views/choujiang/index.vue index 55f3222..0cddadf 100644 --- a/src/views/choujiang/index.vue +++ b/src/views/choujiang/index.vue @@ -104,7 +104,7 @@ onMounted(async () => { isDisabled.value = true; setTimeout(() => { isDisabled.value = false; - }, 3800); + }, 4000); await dataManager.getBasicData(); await dataManager.getUsers(); @@ -245,7 +245,7 @@ async function handleLotteryClick() { case "result": setTimeout(() => { isDisabled.value = false; - }, 2000); + }, 2800); // result 状态下点击不做任何事,或者你可以加提示 await lottery3DRef.value?.switchScreen?.("lottery"); diff --git a/src/views/choujiang/lottery/Lottery3D.vue b/src/views/choujiang/lottery/Lottery3D.vue index d054935..c24d2eb 100644 --- a/src/views/choujiang/lottery/Lottery3D.vue +++ b/src/views/choujiang/lottery/Lottery3D.vue @@ -705,6 +705,7 @@ onMounted(async () => { }; const userList = await getUserListApi(); + console.log("3D调用一次接口", userList); // lotteryStore.setWinners(userList); // console.log("userList", userList); // 将用户数据转换为兼容格式,用于3D卡片显示 diff --git a/src/views/choujiang/lottery/dataManager.js b/src/views/choujiang/lottery/dataManager.js index dde00bc..1f13cba 100644 --- a/src/views/choujiang/lottery/dataManager.js +++ b/src/views/choujiang/lottery/dataManager.js @@ -50,6 +50,7 @@ export function useDataManager() { // 获取真实用户数据 const userListResponse = await getUserListApi(); + console.log("dataManager调用一次接口", userListResponse); console.log("userList", userListResponse); // 将后端返回的用户数据转换为兼容格式