v0.10.28: about-us 校对(counter 组件重写/数据回填/e-global 变量/page_css 全 page 导入/catchall 图片变体解析)

This commit is contained in:
bigcode
2026-11-03 05:57:00 +08:00
parent 35d154870a
commit 48bdc3b5ea
7 changed files with 30 additions and 7 deletions
+8
View File
@@ -133,6 +133,14 @@
相关产品 4 列、CF7 表单、posts 卡片(postsData/shortcodes 上下文);产品 page_css 导入
130/138(8 篇原站 404);ACF 规格书/popup 动态按钮落地(spec_url 非 URL 回退 /contact-us/)。
剩余差异:内嵌 CF7/推荐卡片区高 +350~364、产品文档内少数版块为原站 lazy 占位差。
- about-us v0.10.28 ✅ 公司页校对:49/56 版块 ≤15px。修复:
- counter 组件重写为 Elementor DOM(number-wrapper/title,低特异性默认样式让 page_css 覆盖),
ending_number 数值渲染修复(s() 丢数字 → String());
- 数据回填(dump 后原站改动):计数器 ending_number 100/20、69px/600 数字排版、
844aa8d min-height 400;
- 全局:--e-global-color-primary/4d5c430 变量定义(page_css 引用);
- page_css 导入扩展到全部 page(14 篇)+ catchall 渲染传 pageCss + pickContent
调用 resolveImageVariants(meta.elementor 传参修正)。
### 3. 商城/产品/博客(WordPress 模板页)
- SH1 商城:`/shop/` 分类+商品网格