diff --git a/src/app/(main)/coupon-data/page.tsx b/src/app/(main)/coupon-data/page.tsx
index f7c339c..f20fbb6 100644
--- a/src/app/(main)/coupon-data/page.tsx
+++ b/src/app/(main)/coupon-data/page.tsx
@@ -149,6 +149,10 @@ function PointScorePopover({ row }: { row: CouponDataRow }) {
return -;
}
const score = `${row.point_success_count}/${row.point_total_count}`;
+ const scoreColor =
+ row.point_success_count === row.point_total_count
+ ? STATUS_TAG.completed.color
+ : STATUS_TAG.abandoned.color;
const loadDetails = async () => {
if (details !== null || loading) return;
setLoading(true);
@@ -215,7 +219,9 @@ function PointScorePopover({ row }: { row: CouponDataRow }) {
)}
>
-
+
);
}
@@ -596,7 +602,7 @@ export default function CouponDataPage() {
render: (v: number | null) => fmtSec(v),
},
{
- title: '点位成功率',
+ title: '百分比',
key: 'point_success_rate',
width: 110,
render: (_: unknown, r: CouponDataRow) => ,