upgrade: adopt V8.31.1 (theme 1.3/1.4 redesigns, editor deep-canvas, guided launch, component library)

Overlay 190 upstream items (V8.22→8.31) preserving trade-pro theme,
registry tests, and design docs. Re-applied full patch set on identical
anchors (discovery/env_for/blocks.css/type-mapping/locale-override/
theme_color/frontend entries/test_theme_pro_v3 mods) plus compose pins.

Verified: theme suites 35/35; dual-baseline full run 415 passed vs
pristine 386+29 ours, FAILED-set diff EMPTY (same 10 Windows env fails).
Live: container 8.31.1-dev.1 healthy, hesupipe 192 entries intact,
trade-pro build 203 pages 0 errors.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-10-26 09:43:17 +08:00
parent a63548c645
commit 8884e100f9
647 changed files with 20853 additions and 271 deletions
@@ -0,0 +1,9 @@
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>SiteForge V8.31.1 汽车主题验收</title><style>
body{margin:0;background:#f3f6fa;color:#162b40;font:15px/1.75 system-ui,"Microsoft Yahei",sans-serif}
main{max-width:1080px;margin:auto;padding:52px 24px}h1{font-size:35px;margin:8px 0}h2{margin-top:38px}p{color:#566b7c}.eyebrow{color:#da733b;font-weight:700;letter-spacing:2px;font-size:12px}.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:15px;margin:28px 0}.card{background:white;padding:20px;border:1px solid #dfe7ef;border-radius:12px}.card strong{display:block;font-size:32px;color:#0d344d}table{width:100%;border-collapse:collapse;background:white}th,td{text-align:left;padding:15px;border-bottom:1px solid #edf0f3}a{color:#cb6435}img{width:100%;display:block;border-radius:11px}.warning{padding:16px 20px;border-left:3px solid #cb8a39;background:#fff}
</style></head><body><main><div class="eyebrow">V8.31.1 / AUTOMOTIVE PERFORMANCE & ICONS</div><h1>汽车主题性能及语义化图标验收</h1><p>已在 V8.31 源码基础上实际修改、构建、测试。对比采用同一套虚构站点内容的静态输出,不代表公网 Lighthouse 评分或真实车辆图片加载速度。</p>
<div class="facts"><div class="card">CSS/JS 引用数<strong>11 → 2</strong>按 HTML 解析计数</div><div class="card">CSS/JS gzip 估算<strong>27.6 → 23.3 KB</strong>不含图片、HTML</div><div class="card">浏览器页面组合<strong>10</strong>1440px 和 390px</div><div class="card">静态质量错误<strong>0</strong>四套主题示例站</div></div>
<h2>请求数与加载策略</h2><table><tr><th>检查项</th><th>汽车主题 1.4.0</th><th>汽车主题 1.4.1</th></tr><tr><td>CSS 文件请求</td><td>8</td><td>1</td></tr><tr><td>JS 文件请求</td><td>3</td><td>1</td></tr><tr><td>SVG 图标资源</td><td>未统一</td><td>本地 Sprite(1 个文件,gzip 1.1 KB)</td></tr><tr><td>首页主图</td><td>高优先级</td><td>高优先级 + 异步解码</td></tr><tr><td>车型详情主图</td><td>延迟加载</td><td>优先加载</td></tr><tr><td>产品卡片图片</td><td>延迟加载</td><td>延迟加载 + 异步解码</td></tr></table>
<h2>语义化图标</h2><p>车型、品牌、搜索、询盘、邮件、文档、新闻、企业、分类均用语义图标;方向箭头仅保留在分页和返回等有方向意义的操作。SVG 资源由本站托管,页面不需要外部图标 CDN 或图标字体。</p>
<h2>验收边界</h2><div class="warning">Python 重点回归 40 项通过;JavaScript 测试 39 项通过;HTTP + Worker 构建链路通过。隔离 Chromium 10 组页面无脚本错误、资源 404 或横向溢出。完整历史回归在第 7 批出现执行器停滞,尚不能宣称全量通过。真实 CDN、手机网络、LCP/CLS/INP 指标仍需正式部署后测量。</div>
<h2>电脑版截图</h2><img src="automotive-v8311-desktop.png" alt="汽车主题桌面浏览器演示"><h2>手机版截图</h2><img src="automotive-v8311-mobile.png" alt="汽车主题手机浏览器演示"></main></body></html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 774 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 465 KiB

+59
View File
@@ -0,0 +1,59 @@
{
"platform": "8.31.1-dev.1",
"automotive_theme": "1.4.1",
"performance": [
{
"theme": "V8.31 原汽车主题 1.4.0",
"css_requests": 8,
"js_requests": 3,
"css_js_requests": 11,
"css_js_gzip_bytes": 28227,
"assets": [
"assets/theme.css",
"assets/blocks.css",
"assets/factory.css",
"assets/pro-base.css",
"assets/pro.css",
"assets/commercial.css",
"assets/theme-overrides.css",
"assets/custom.css",
"assets/site-runtime.js",
"assets/pro.js",
"assets/auto31.js"
]
},
{
"theme": "V8.31.1 优化主题 1.4.1",
"css_requests": 1,
"js_requests": 1,
"css_js_requests": 2,
"css_js_gzip_bytes": 23890,
"assets": [
"assets/auto-compiled.css",
"assets/auto-compiled.js"
],
"icon_gzip_bytes": 1083,
"all_optimized_gzip_bytes": 24973
}
],
"browser": {
"page_width_cases": 10,
"errors": [],
"missing_resources": [],
"overflow_count": 0,
"menu_open": true,
"mobile_drawer": true
},
"test_verification": {
"python_relevant_tests": 40,
"javascript_tests": 39,
"http_worker": "passed",
"four_theme_static_build_quality_errors": 0,
"full_historical_regression": "incomplete; historical runner stalled during batch 7"
},
"limitations": [
"Real public-domain Core Web Vitals not measured",
"Demo content has no actual optimized product photography",
"Production CDN/cache response headers and infrastructure not validated"
]
}
+70
View File
@@ -0,0 +1,70 @@
[
{
"theme": "automotive-legacy",
"request_count": 11,
"css_requests": 8,
"js_requests": 3,
"compressed_transfer_bytes": 28227,
"uncompressed_bytes": 100879,
"files": {
"assets/theme.css": {
"bytes": 6361,
"gzip_bytes": 2242
},
"assets/blocks.css": {
"bytes": 7068,
"gzip_bytes": 2215
},
"assets/factory.css": {
"bytes": 5061,
"gzip_bytes": 1640
},
"assets/pro-base.css": {
"bytes": 17784,
"gzip_bytes": 4449
},
"assets/pro.css": {
"bytes": 34927,
"gzip_bytes": 8348
},
"assets/commercial.css": {
"bytes": 17269,
"gzip_bytes": 4527
},
"assets/custom.css": {
"bytes": 756,
"gzip_bytes": 382
},
"assets/site-runtime.js": {
"bytes": 3266,
"gzip_bytes": 1518
},
"assets/pro.js": {
"bytes": 8160,
"gzip_bytes": 2722
},
"assets/auto31.js": {
"bytes": 227,
"gzip_bytes": 184
}
}
},
{
"theme": "automotive",
"request_count": 2,
"css_requests": 1,
"js_requests": 1,
"compressed_transfer_bytes": 23993,
"uncompressed_bytes": 102414,
"files": {
"assets/auto-compiled.css": {
"bytes": 90755,
"gzip_bytes": 20121
},
"assets/auto-compiled.js": {
"bytes": 11659,
"gzip_bytes": 3872
}
}
}
]