From 17ddf7ff1e0ec2d592378a640cd7582d96f015f4 Mon Sep 17 00:00:00 2001 From: linkeyu Date: Fri, 24 Jul 2026 11:15:13 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E6=98=8E?= =?UTF-8?q?=E7=A1=AE=E9=A2=86=E5=88=B8=E5=8D=95=E5=88=B8=E6=88=90=E5=8A=9F?= =?UTF-8?q?=E7=8E=87=E5=B1=95=E7=A4=BA=20(#68)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 修改内容 - 将含义模糊的“百分比”列改名为“单券成功率”。 - 同时显示成功数量、有效尝试数量和百分比,例如 `7/8(87.5%)`。 - 保留点击数字查看逐张券结果明细的能力。 ## 验证结果 - Next.js 生产构建通过。 --------- Co-authored-by: linkeyu <798648091@qq.com> Reviewed-on: https://gitea.shaguabijia.com/WonderableAI/shaguabijia-admin-web/pulls/68 Co-authored-by: linkeyu Co-committed-by: linkeyu --- src/app/(main)/coupon-data/page.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/app/(main)/coupon-data/page.tsx b/src/app/(main)/coupon-data/page.tsx index f20fbb6..8f4ed8f 100644 --- a/src/app/(main)/coupon-data/page.tsx +++ b/src/app/(main)/coupon-data/page.tsx @@ -149,6 +149,9 @@ function PointScorePopover({ row }: { row: CouponDataRow }) { return -; } const score = `${row.point_success_count}/${row.point_total_count}`; + const scoreWithRate = `${score}(${( + row.point_success_count / row.point_total_count * 100 + ).toFixed(1)}%)`; const scoreColor = row.point_success_count === row.point_total_count ? STATUS_TAG.completed.color @@ -220,7 +223,7 @@ function PointScorePopover({ row }: { row: CouponDataRow }) { )} > ); @@ -602,9 +605,9 @@ export default function CouponDataPage() { render: (v: number | null) => fmtSec(v), }, { - title: '百分比', + title: '单券成功率', key: 'point_success_rate', - width: 110, + width: 150, render: (_: unknown, r: CouponDataRow) => , }, { From bce720df9e026c2e3cd338df0c060600a156027e Mon Sep 17 00:00:00 2001 From: linkeyu Date: Fri, 24 Jul 2026 11:16:44 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E9=87=91=E5=B8=81=E7=BB=8F=E6=B5=8E=E5=88=86=E7=B1=BB?= =?UTF-8?q?=E8=AF=B4=E6=98=8E=20(#70)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 修改内容 - “看视频金币”提示增加历史签到膨胀奖励。 - “常规任务金币”提示移除历史签到膨胀奖励。 - 页面数值继续使用后端统一分类结果。 ## 本地验证 - Next.js 生产构建通过。 - `git diff --check` 通过。 --------- Co-authored-by: linkeyu <798648091@qq.com> Reviewed-on: https://gitea.shaguabijia.com/WonderableAI/shaguabijia-admin-web/pulls/70 Co-authored-by: linkeyu Co-committed-by: linkeyu --- src/app/(main)/dashboard/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/(main)/dashboard/page.tsx b/src/app/(main)/dashboard/page.tsx index 4830037..fc3ec05 100644 --- a/src/app/(main)/dashboard/page.tsx +++ b/src/app/(main)/dashboard/page.tsx @@ -1065,14 +1065,14 @@ export default function DashboardPage() { value={fmtInt(periodData?.coins.reward_video_coin_total)} delta={rewardVideoCoinRatio.value} deltaTone={rewardVideoCoinRatio.tone} - hint="独立统计看视频发放,不再重复计入领券奖励。" + hint="普通看视频与历史签到膨胀的实发金币之和,不再重复计入领券奖励或常规任务。" />