v0.10.22: 落地页 scaffold 校对(smart-gateways 15 节中 10 节对齐)

- EAEL info-box:默认标题外距 8/16(设置覆盖)、title-section 外距改由页面 custom_css p
  控制(修复首页 H4 回归)、图片 display:block、icon-on-top/left 类名
- image widget:支持 space(%) 宽度(92/99/80% 三类图与原站全等)
- 列宽度:Landing 内嵌 section 外层列 populated auto(620→610)与四列行中间列
  calc(100%-8px)(310/302/302/310 实测)
- button widget:selected_icon 图标(star/fire-alt)→ content-wrapper flex + 1em 图标盒
- HTML 块:.ele-choose-prtocol/.ele-choose-platform ul 去 UA 外距
- 实测 smart-gateways 10/15 节与原站误差 ≤8px;首页 626ce49/9f202ea 回归修复
- 待办已记入 docs:8e90920 EAEL tabs、391a1ee Toggle DOM、a36c301 内嵌模板 27143
- bun test 11 pass;版本 0.10.22
This commit is contained in:
bigcode
2026-11-02 13:19:54 +08:00
parent ddeeca3293
commit 07774c715f
4 changed files with 70 additions and 4 deletions
+11
View File
@@ -67,6 +67,17 @@
ShopFilters/ShopProducts 注入。筛选 URL 用查询参数(原站 WPC 为 /shop/type-som/ 美化链接),
术语顺序/计数来自导入数据(term taxonomy 顺序 + product_attribute_map 计数)。
### 1b. 落地页 /landing-pages/$slug(智能网关页已校对,v0.10.22 进行中)
- 原站落地页为 post(如 smart-gateways legacy 6509)Elementor 直出,经 catch-all 路由渲染。
- smart-gateways 15 节中 10 节已与原站逐项对齐(541ea84/49dcb11/dcfbe08/de5742a/9b87079/
7c15af8/68babbb/028b4bc/5745b4f/2fee235,误差 ≤8px),期间修复:EAEL info-box
默认标题外距/图片 block/标题 margin 设置、image `space` 宽度、列 populated auto 语义、
按钮图标(star/fire)、HTML 块 ul 默认外距。
- 待办:8e90920 EAEL 高级标签页(原站 headless JS 未初始化,需按真实交互态校对)、
391a1ee toggle 手风琴(需换 Elementor toggle DOM + 默认全收起 + 28/58px 标题样式)、
a36c301 `[elementor-template id="27143"]` 内嵌模板(含 posts.cards,需模板导入 +
短代码渲染 + posts 预取)。
### 2. 方案页
- S1 `/solution/` 列表入口页
- S2 `/solution/$slug` 落地页:与首页同款 Elementor 直出,版块逐页不同