From 343001179f85a76a8386d7fca1d58e05b608727b Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Wed, 11 Feb 2026 17:50:01 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=98=A5=E8=8A=82=E6=B4=BB=E5=8A=A8?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2):=20=E4=BF=AE=E5=A4=8D=E6=8F=90=E7=8E=B0?= =?UTF-8?q?=E8=BD=AC=E8=B4=A6=E4=B8=8D=E4=BA=86=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/lottery.js | 4 ++-- src/views/Activities/SpringFestival/Task.vue | 2 +- src/views/Wallet/CashOut/CashOut.vue | 2 +- src/views/Wallet/CashOut/Details.vue | 16 +++++++++++----- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/src/api/lottery.js b/src/api/lottery.js index 24e5085..9a2d3c4 100644 --- a/src/api/lottery.js +++ b/src/api/lottery.js @@ -12,9 +12,9 @@ export const withdrawableAmount = async (activityId) => { } // 查询提现记录 -export const withdrawRecords = async () => { +export const withdrawRecords = async (activityId) => { try { - const response = await get(`/activity/lottery/withdraw/records`) + const response = await get(`/activity/lottery/withdraw/records?activityId=${activityId}`) return response } catch (error) { console.error('Failed to fetch get my withdraw records:', error) diff --git a/src/views/Activities/SpringFestival/Task.vue b/src/views/Activities/SpringFestival/Task.vue index ea87a69..ab6ed40 100644 --- a/src/views/Activities/SpringFestival/Task.vue +++ b/src/views/Activities/SpringFestival/Task.vue @@ -1013,7 +1013,7 @@ const searchPayee = () => { // 前往提现页 const goToWithdraw = () => { - router.push({ path: '/cash-out', query: { activityId: '2005571533988298753' } }) + router.push({ path: '/cash-out', query: { activityId: '2007771533988204877' } }) } // 转账金币选项 diff --git a/src/views/Wallet/CashOut/CashOut.vue b/src/views/Wallet/CashOut/CashOut.vue index 569d1e9..c75e2a2 100644 --- a/src/views/Wallet/CashOut/CashOut.vue +++ b/src/views/Wallet/CashOut/CashOut.vue @@ -460,7 +460,7 @@ const hasKYC = computed(() => { // 查看历史提现信息 const lookDetails = () => { - router.push('/cash-out-details') + router.push({ path: '/cash-out-details', query: { activityId: activityId } }) } // 查看历史提现信息 diff --git a/src/views/Wallet/CashOut/Details.vue b/src/views/Wallet/CashOut/Details.vue index c6339fa..e05a23d 100644 --- a/src/views/Wallet/CashOut/Details.vue +++ b/src/views/Wallet/CashOut/Details.vue @@ -41,8 +41,8 @@ record.status == 0 ? 'linear-gradient(248deg, #759cff 5.66%, #3d73ff 42.49%)' : record.status == 1 - ? 'linear-gradient(248deg, #75FF98 5.66%, #3DFF54 42.49%)' - : 'linear-gradient(248deg, #FF7578 5.66%, #FF3D40 42.49%)', + ? 'linear-gradient(248deg, #75FF98 5.66%, #3DFF54 42.49%)' + : 'linear-gradient(248deg, #FF7578 5.66%, #FF3D40 42.49%)', }" > {{ showStatus(record) }} @@ -54,20 +54,26 @@