From bfe9e0d8feaeea76da6c09a7d70bc1fb80a16ebc Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Sun, 4 Jan 2026 14:31:39 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=96=B0=E5=B9=B4=E6=B4=BB=E5=8A=A8):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=98=BF=E8=AF=AD=E8=BD=AC=E7=9B=98=E4=B8=AD?= =?UTF-8?q?=E5=A5=96=E5=A5=96=E5=93=81=E5=AF=B9=E4=B8=8D=E4=B8=8A=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E8=A1=A5=E5=85=85=E6=8E=92=E8=A1=8C?= =?UTF-8?q?=E6=A6=9C=E7=9A=84=E4=B8=8A=E6=8B=89=E5=8A=A0=E8=BD=BD=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/lottery.js | 6 ++- src/views/Activities/NewYear/index.vue | 64 ++++++++++++++++++++++---- 2 files changed, 60 insertions(+), 10 deletions(-) diff --git a/src/api/lottery.js b/src/api/lottery.js index 6f1f4b5..b16666c 100644 --- a/src/api/lottery.js +++ b/src/api/lottery.js @@ -35,9 +35,11 @@ export const withdrawApply = async (data) => { } // 获取排行榜 -export const ranklist = async (activityId) => { +export const ranklist = async (data) => { try { - const response = await get(`/activity/lottery/recharge-rank?activityId=${activityId}`) + const response = await get( + `/activity/lottery/recharge-rank?activityId=${data.activityId}&pageNo=${data.pageNo}&pageSize=${data.pageSize}` + ) return response } catch (error) { console.error('Failed to fetch get rank list:', error) diff --git a/src/views/Activities/NewYear/index.vue b/src/views/Activities/NewYear/index.vue index f61f647..41ae9e9 100644 --- a/src/views/Activities/NewYear/index.vue +++ b/src/views/Activities/NewYear/index.vue @@ -1,13 +1,16 @@