feat(admin-web): 领券数据/比价记录看板新增「广告收益」列 #45
Reference in New Issue
Block a user
Delete Branch "feat/ad-revenue-column"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
后端两个看板接口新增逐行
ad_revenue_yuan(元),前端补上展示列。改动
src/lib/types.ts:ComparisonRecordListItem增ad_revenue_yuan: number(
ComparisonRecordDetail自动继承)。comparison-records/page.tsx:「省」列后新增「广告收益」列(>0 显示绿色 ¥x.xxxx,否则
-);表格scroll.x1820 → 1920。coupon-data/page.tsx:CouponDataRow增字段;新增fmtYuan格式化(¥ 保留 4 位、空/≤0 显示
-);主表「耗时」列后新增「广告收益」列(不动用户抽屉 RECORD_COLUMNS);scroll.x1450 → 1560。说明
-,无害。prod筛;真机测试数据在dev,需切换环境才可见。