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 @@