From 139514b2b9e8bd380c03fc6da1573fd4ea3be580 Mon Sep 17 00:00:00 2001 From: bobobobo <1055026847@qq.com> Date: Tue, 20 Jan 2026 21:39:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=B2=E7=9F=A5=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/discover/punch.vue | 22 +++++++++++++++---- pages/my-index/wallet/real-id.vue | 35 ++++++++++++++++++++++++++++++- pages/my-index/wallet/record.vue | 20 ++++++++++++++---- 3 files changed, 68 insertions(+), 9 deletions(-) diff --git a/pages/discover/punch.vue b/pages/discover/punch.vue index 10f7b19..bc9efcf 100644 --- a/pages/discover/punch.vue +++ b/pages/discover/punch.vue @@ -51,7 +51,21 @@ } continuousDays.value = res.data.continuousDays - indexData.value = res.data.list.map(v => v.signDate) + // indexData.value = res.data.list.map(v => v.signDate) + indexData.value = res.data.list + + console.log(indexData.value, '===') + } + + /** 判断那一天签到了 */ + const isSign = item => { + return indexData.value.some(v => v.signDate === item.signDate) + } + + /** 判断签到那一天加多少积分 */ + const isAddIntegral = item => { + return indexData.value.find(v => v.signDate === item.signDate) + .pointsAwarded } /** @@ -232,11 +246,11 @@ {{ item.name }} - + @@ -246,7 +260,7 @@ mode="heightFix" class="icon" > - + +{{ isAddIntegral(item) }} - + + + *您已完成实名认证 + + + + + + + + + + + {{ - props.type === '0' ? item.description : item.withdrawalNo + props.type === '0' + ? topNav[ + props.type === '0' + ? item.changeType + : item.status + 1 + ].name + : item.withdrawalNo }} @@ -187,11 +199,11 @@ ].color }" > - {{ + {{