feat(라이브): 스케줄표 머리글 굵게·가운데·쇼핑몰 열, 달력 카드에 쇼핑몰 아이콘
- 스케줄표 머리글: 가운데 정렬, 굵게, 검정, 글자 12% 크게 - 스케줄표 첫 열 = 호스트 쇼핑몰(틱톡·쇼피) 아이콘 - 달력 카드 머리 왼쪽 위 사방 화살표 대신 쇼핑몰 작은 아이콘 - 아이콘 = 말레이시아 배송 로고에서 심볼만 잘라 만든 live-icon-tiktok.png, live-icon-shopee.png Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -160,6 +160,7 @@ def broadcast_view(b: dict[str, Any], lang: str = "ko") -> dict[str, Any]:
|
||||
return {
|
||||
"date": fmt_date(b["broadcast_date"], lang), "times": fmt_times(b["start_time"], b["end_time"]),
|
||||
"host_name": b["host_name"], "tiktok_handle": b["tiktok_handle"], "venue": b["venue"],
|
||||
"platform": b["host_platform"], # 호스트 쇼핑몰(tiktok·shopee, '' = 아직 안 고름) — 아이콘 /static/live-icon-<값>.png
|
||||
"sales": fmt_money(b["sales_amount"]), "base": fmt_money(pay["base"]), "commission": fmt_money(pay["commission"]),
|
||||
"ad_spend": fmt_money(b["ad_spend"]), "host_fee": fmt_money(b["host_fee"]),
|
||||
"images": b["images"], "id": b["id"],
|
||||
|
||||
Reference in New Issue
Block a user