From 9da203d7900baf2adca56ee17134095c0b82ec0b Mon Sep 17 00:00:00 2001
From: linkeyu <798648091@qq.com>
Date: Thu, 23 Jul 2026 21:50:18 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E6=98=8E=E7=A1=AE?=
=?UTF-8?q?=E9=A2=86=E5=88=B8=E5=8D=95=E5=88=B8=E6=88=90=E5=8A=9F=E7=8E=87?=
=?UTF-8?q?=E5=B1=95=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
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) => ,
},
{