Compare commits

..

2 Commits

Author SHA1 Message Date
linkeyu 4acc23ff69 fix(admin): clarify partial playback status label 2026-07-22 18:02:59 +08:00
linkeyu f286c4f940 fix(admin): clarify insufficient watch duration label 2026-07-22 17:53:50 +08:00
+3 -6
View File
@@ -149,9 +149,6 @@ function PointScorePopover({ row }: { row: CouponDataRow }) {
return <Typography.Text type="secondary">-</Typography.Text>;
}
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
@@ -223,7 +220,7 @@ function PointScorePopover({ row }: { row: CouponDataRow }) {
)}
>
<Button type="link" size="small" style={{ height: 'auto', padding: 0, color: scoreColor }}>
{scoreWithRate}
{score}
</Button>
</Popover>
);
@@ -605,9 +602,9 @@ export default function CouponDataPage() {
render: (v: number | null) => fmtSec(v),
},
{
title: '单券成功率',
title: '百分比',
key: 'point_success_rate',
width: 150,
width: 110,
render: (_: unknown, r: CouponDataRow) => <PointScorePopover row={r} />,
},
{