fix: 对齐平台渠道与最新情报快照

2026-08-14 平台渠道专项更新:前端和静态SEO只展示平台官网、官方入驻及非中文入驻页辅助翻译;移除类目入口翻译、消费者官网翻译和内部成熟度/新兴参考分文案。

同步59/59权威源、65场跨境活动、28个平台和208条趋势内容;修正IBTE、CCBEC、法国教育部、Shopee和Shopify语种判断,更新README与CHANGELOG并通过Python、Node及静态构建验证。
This commit is contained in:
Jack
2026-08-14 22:18:51 +08:00
parent f1ce583fd1
commit 7e74bd989e
14 changed files with 64302 additions and 63460 deletions
+9 -1
View File
@@ -10,7 +10,7 @@ test("独立首页只展示家纺情报并加载独立入口", async () => {
const dongguanCss = await text("public/assets/fonts/dongguan-bold/result.css");
assert.match(html, /三笙AI情报局/);
assert.match(html, /assets\/js\/app\.js/);
assert.match(html, /assets\/js\/app\.js\?v=20260814p/);
assert.match(html, /assets\/js\/app\.js\?v=20260814q/);
assert.match(html, /assets\/css\/base\.css\?v=20260814h/);
assert.match(html, /assets\/css\/intelligence\.css\?v=20260814s/);
assert.match(html, /<details[^>]+class="intelligence-metrics"/);
@@ -42,6 +42,14 @@ test("七个业务入口与趋势四子类均保留", async () => {
}
assert.doesNotMatch(modules, /设计师检索|设计师图片检索台/);
assert.match(modules, /appendPrefixedTranslationLink/);
assert.match(modules, /appendPrefixedTranslationLink\(actions, item, "seller"\)/);
assert.doesNotMatch(modules, /appendPrefixedTranslationLink\(actions, item, "official"\)/);
assert.doesNotMatch(modules, /appendPrefixedTranslationLink\(actions, item, "homepage"\)/);
assert.doesNotMatch(modules, /查看家纺类目/);
assert.doesNotMatch(modules, /家纺类目成熟度|新兴渠道参考分/);
assert.match(modules, /打开平台官网/);
assert.match(modules, /去官方入驻/);
assert.match(modules, /辅助翻译入驻说明/);
assert.match(modules, /官方/);
assert.match(modules, /requires-cross-border-network/);
});