From bf35a45793ced1e4efbb2365fcd7296e14ec3160 Mon Sep 17 00:00:00 2001 From: guke Date: Tue, 30 Jun 2026 10:43:09 +0800 Subject: [PATCH] =?UTF-8?q?chore(h5):=20=E6=B8=85=E7=A9=BA=E3=80=8C?= =?UTF-8?q?=E4=B8=8A=E6=AC=A1=E6=AF=94=E4=BB=B7=E3=80=8D=E6=A8=AA=E5=B9=85?= =?UTF-8?q?=E9=9D=99=E6=80=81=20mock=20=E5=8D=A0=E4=BD=8D=E6=96=87?= =?UTF-8?q?=E6=A1=88(=E7=AA=91=E9=B8=A1=E7=8E=8B/=C2=A557.9/=E6=B7=98?= =?UTF-8?q?=E5=AE=9D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 横幅默认 display:none + 真实数据覆盖,占位本不显示;清空源码里的 mock 串,留结构与标签(最低价/去查看)。 Co-Authored-By: Claude Opus 4.8 (1M context) --- h5/home/index.html | 8 ++++---- tests/test_h5_hosting.py | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/h5/home/index.html b/h5/home/index.html index ee9b018..941ff5e 100644 --- a/h5/home/index.html +++ b/h5/home/index.html @@ -4939,18 +4939,18 @@ TODO: 补充 @owner / @from / @to / @notes(参照 FLOW.md)
- 窑鸡王(康营店) +
- 招牌窑鸡整只-原味 +
最低价
-
¥57.9
+
- 淘宝 +
diff --git a/tests/test_h5_hosting.py b/tests/test_h5_hosting.py index b5e30c4..79399bd 100644 --- a/tests/test_h5_hosting.py +++ b/tests/test_h5_hosting.py @@ -80,6 +80,7 @@ def test_h5_home_last_compare_wired(client) -> None: assert "/api/v1/compare/records" in body # 接真实比价记录端点 assert "pickFreshLastCompare" in body # 4 分钟新鲜窗口逻辑 assert "DEFAULT_LAST_COMPARE_RECORD" not in body # 写死 mock 默认已移除 + assert 'id="lastCompareShop">窑鸡王' not in body # 横幅店名静态 mock 占位已清空 def test_compare_records_requires_auth(client) -> None: