From 3b125e172eb88727fca00018d7e8c6b7eb2327ee Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Wed, 23 Jul 2025 13:52:06 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E4=B8=AD=E5=A5=96=E5=90=8D=E5=8D=95api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/API.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/API.js b/src/api/API.js index 00da9e9..9227bd0 100644 --- a/src/api/API.js +++ b/src/api/API.js @@ -23,7 +23,7 @@ export const getUserListApi = function (params) { // 查询中奖名单 export const getGetPrizeUserListApi = function (params) { return request({ - url: `${APIurl}/admin/win/list`, + url: `${APIurl}/api/winUser/list`, method: "POST", data: params, }); From e2170b97e20cbe79f159ef66f9bc4142e2c2a21f Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Wed, 23 Jul 2025 13:58:14 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=B8=AD=E5=A5=96=E8=BF=9B=E5=BA=A6?= =?UTF-8?q?=E6=9D=A1=E5=88=9D=E5=A7=8B=E5=8C=96=E4=B8=8D=E5=AF=B9=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/choujiang/hxl-cj/cj.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/choujiang/hxl-cj/cj.vue b/src/views/choujiang/hxl-cj/cj.vue index 7b51918..cb2748b 100644 --- a/src/views/choujiang/hxl-cj/cj.vue +++ b/src/views/choujiang/hxl-cj/cj.vue @@ -267,7 +267,7 @@ const closeGetPrize = () => { }; //揭示奖品 -const lookPrize = (item) => { +const lookPrize = async (item) => { // 未进入抽奖禁止揭晓 if (!joinLottery) { addQipao("请先进入抽奖。"); @@ -315,6 +315,8 @@ const lookPrize = (item) => { //点击揭晓 item.isLook = true; } + await nextTick(); + setPrizeData(currentPrizeIndex); }; function setPrizeData(currentPrizeIndex, isInit) { @@ -345,7 +347,8 @@ function setPrizeData(currentPrizeIndex, isInit) { } } - // console.log("currentPrize", currentPrize); + console.log("count", count); + console.log("totalCount", totalCount); let percent = (count / totalCount).toFixed(2); if (elements.bar) {