diff --git a/h5/records/index.html b/h5/records/index.html new file mode 100644 index 0000000..5475596 --- /dev/null +++ b/h5/records/index.html @@ -0,0 +1,1777 @@ + + + + + +比价记录 · 傻瓜比价 + + + + +
+ + +
+ 9:41 + +
+ + +
+
全部记录
+
已下单
+
+ + +
+
取消
+ + +
比价记录
+ + + +
+ + + + +
+ + +
+
+ 最近搜索 + 清除 +
+
+ +
+ + +
+ + +
没有找到匹配的比价记录
试试其他关键词
+ +
+ + +
+
首页
+
福利
+
记录
+
我的
+
+ + + + + +
+ +
+ + + + + +
+
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
.
+
0
+
+ +
+
+ + + + + + + +
+
+ +
+ + +
+ +
+ + + + + diff --git a/h5/records/logos/jd.png b/h5/records/logos/jd.png new file mode 100644 index 0000000..ed939da Binary files /dev/null and b/h5/records/logos/jd.png differ diff --git a/h5/records/logos/meituan.png b/h5/records/logos/meituan.png new file mode 100644 index 0000000..71cede9 Binary files /dev/null and b/h5/records/logos/meituan.png differ diff --git a/h5/records/logos/taobao.png b/h5/records/logos/taobao.png new file mode 100644 index 0000000..7e0f742 Binary files /dev/null and b/h5/records/logos/taobao.png differ diff --git a/tests/test_h5_hosting.py b/tests/test_h5_hosting.py index 2a5d09b..1acd149 100644 --- a/tests/test_h5_hosting.py +++ b/tests/test_h5_hosting.py @@ -19,3 +19,14 @@ def test_h5_html_no_cache_via_dir_url(client) -> None: resp = client.get("/h5/mine/") assert resp.status_code == 200 assert resp.headers.get("cache-control") == "no-cache" + + +def test_h5_records_served_and_migrated(client) -> None: + resp = client.get("/h5/records/index.html") + assert resp.status_code == 200 + assert resp.headers.get("cache-control") == "no-cache" + body = resp.text + assert "SGBridge" in body # 已切到新桥 + assert "NativeBridge" not in body # 旧桥名清零 + assert "getApiBase" not in body # 同源:绝对地址拼接已移除 + assert "../shared/bridge.js" in body