fix(h5): 补领券看广告金币到账 toast 的金币堆图标(welfare 漏拷致 404)

showCouponAdRewardToast(home/index.html:8841,领券奖励已到账 toast)引用 assets/welfare/index/checkin-coins-600.png,同属抽取时漏本地化的 welfare 子树。从原型 checkin-popup/reward-coins-600.png 补回该图。test: 断言 200。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
guke
2026-06-30 11:09:26 +08:00
parent 98cd915e2c
commit ddfe955e9c
2 changed files with 6 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

+6
View File
@@ -93,3 +93,9 @@ def test_h5_home_coupon_popup_coin_icon_served(client) -> None:
# 「去领取」弹窗右上角金币图标:welfare 资源子树曾漏本地化 → 404 不显示;补齐后须 200
resp = client.get("/h5/home/assets/welfare/index/coin-icon.png")
assert resp.status_code == 200
def test_h5_home_coupon_ad_reward_coins_served(client) -> None:
# 领券「看广告赚金币」到账 toast(showCouponAdRewardToast)的金币堆图标:同属漏拷的 welfare 子树,补齐后须 200
resp = client.get("/h5/home/assets/welfare/index/checkin-coins-600.png")
assert resp.status_code == 200