From ecf8150cfc9d0968b311a99bc1e749d13338f5fd Mon Sep 17 00:00:00 2001 From: linkeyu Date: Wed, 22 Jul 2026 18:21:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=E6=92=AD=E6=94=BE=E7=8A=B6=E6=80=81=E6=96=87?= =?UTF-8?q?=E6=A1=88=20(#65)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 修改内容 - 广告播放状态“未满10秒”调整为“观看时长不足” - 聚合播放状态“混合状态”调整为“部分完成” - 保持后端状态码、接口结构和判定逻辑不变 ## 影响范围 - 仅修改后台广告收益页的前端展示文案 ## 验证 - npm run build --------- Co-authored-by: linkeyu <798648091@qq.com> Reviewed-on: https://gitea.shaguabijia.com/WonderableAI/shaguabijia-admin-web/pulls/65 Co-authored-by: linkeyu Co-committed-by: linkeyu --- src/app/(main)/ad-revenue-report/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/(main)/ad-revenue-report/page.tsx b/src/app/(main)/ad-revenue-report/page.tsx index b159d6d..189f373 100644 --- a/src/app/(main)/ad-revenue-report/page.tsx +++ b/src/app/(main)/ad-revenue-report/page.tsx @@ -76,7 +76,7 @@ const REWARD_STATUS_HINT: Record = { const PLAYBACK_STATUS_TAG: Record = { completed: { color: 'green', label: '已完成' }, - too_short: { color: 'gold', label: '未满10秒' }, + too_short: { color: 'gold', label: '观看时长不足' }, closed_early: { color: 'default', label: '提前关闭' }, unknown: { color: 'default', label: '未知' }, }; @@ -159,7 +159,7 @@ function playbackStatusTag(row: AdRevenueRow) { const hint = entries .map(([status, count]) => `${PLAYBACK_STATUS_TAG[status].label} ${count} 条`) .join(';'); - return { color: 'purple', label: '混合状态', hint: `${hint}。` }; + return { color: 'purple', label: '部分完成', hint: `${hint}。` }; } const fmtFactorRange = (a: number | null, b: number | null) => {