diff --git a/docs/sections-inventory.md b/docs/sections-inventory.md index 9df057424..26cb2dbb7 100644 --- a/docs/sections-inventory.md +++ b/docs/sections-inventory.md @@ -132,8 +132,16 @@ 数据标签页(Description 面板嵌产品自身 elementor 文档 + Additional information 属性表)、 相关产品 4 列、CF7 表单、posts 卡片(postsData/shortcodes 上下文);产品 page_css 导入 130/138(8 篇原站 404);ACF 规格书/popup 动态按钮落地(spec_url 非 URL 回退 /contact-us/)。 - 剩余差异:表单区高 602 vs 564(提交行 +38)、产品文档内少数版块为原站 lazy 占位差; + 剩余差异:产品文档内少数版块为原站 lazy 占位差;acceptance 行 49.3 vs 52(-2.7)。 表单栅格(1-4 两列/5-7 三列/textarea 通栏 + UTM 隐藏 p display:contents 折叠)已按取证落地。 + v0.10.31-33 收口(headless 1440 对比 dsgw-210-a-1):视频 widget 画幅档位(aspect_ratio + 219=21:9,slim 白名单补 key);产品 hero +58→-4(图廊数据源改 products.gallery 列(3 缩略)、 + 主图/缩略 #C7CBDA 边框、meta 去顶距 + 分类链接橙、短描述 p 包裹 + 行高 24/列表 32、 + 价格/购物车 widget 空渲染(原站询价型商品为空)、按钮 paddingCss 空串=fallback 12px 24px + + fa-file-alt 图标);表单区 602→561.3 vs 564(submit auto 宽 + margin 0——原站 post-2741 + 无宽度规则,/contact-us/ 的 width:100% 属其页面自有 .ele-new-form4-dif 规则)。 + 全局(kit-15 post-15.css 取证 2026-11-03):e-global 全套色/排版变量补入 :root、 + a:hover = secondary #FFA11B、4d5c430=#fff(白字修正,147 篇 page_css 引用)。 - about-us v0.10.28 ✅ 公司页校对:49/56 版块 ≤15px。修复: - counter 组件重写为 Elementor DOM(number-wrapper/title,低特异性默认样式让 page_css 覆盖), ending_number 数值渲染修复(s() 丢数字 → String()); @@ -239,7 +247,7 @@ cookie-policy:19 段纯文本。 |---|---|---|---| | 1 | 移动端(≤767px)Header 高度差 ~21px(原站 slides y=88,本地 109) | G1 Header 移动端 | 中 | | 2 | 移动端 H1 ticker 高度差 ~14px(原站 117,本地 131.2) | H1 ticker 移动端 | 中 | -| 3 | 全局 `a:hover` 为 --brand-dark(#c85600),kit 全局 secondary 是 #FFA11B | G1/全局样式 | 低 | +| 3 | ~~全局 `a:hover` 为 --brand-dark(#c85600),kit 全局 secondary 是 #FFA11B~~ ✅ v0.10.31 修复(a:hover=secondary #FFA11B,e-global 全套变量补入 :root) | G1/全局样式 | 已修 | | 4 | PG 连接曾被 stale vite dev 进程(3311 端口)泄漏占满(290 连接),已清理;重复发生时检查残留 dev 进程 | 环境 | 记录 | | 5 | 内嵌模板文章列表取 dump 快照,原站新增文章(161855/161748)尚未导入,卡片内容不同步(版式一致) | 内容数据 | 中 | | 6 | posts 卡片移动端个别卡高 ±5px(原站 srcset 选 768/medium 变体,本地用原图;宽高比略有差异) | posts widget | 低 | diff --git a/package.json b/package.json index 2e6d1ba4e..f00f332f8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dusuniot-rebuild", - "version": "0.10.32", + "version": "0.10.33", "private": true, "type": "module", "scripts": { diff --git a/src/routes/product.$slug.tsx b/src/routes/product.$slug.tsx index 2e6febfe2..5a20d3f4c 100644 --- a/src/routes/product.$slug.tsx +++ b/src/routes/product.$slug.tsx @@ -162,4 +162,9 @@ const PRODUCT_FORM_CSS = ` [data-el="9de544c"] .wpcf7-form > p:has(> input[type="hidden"]) { display: contents; } [data-el="9de544c"] .wpcf7-form > p:nth-of-type(-n+4) { grid-column: span 24; } [data-el="9de544c"] .wpcf7-form > p:nth-of-type(n+5):nth-of-type(-n+7) { grid-column: span 16; } +/* 提交按钮:原站 post-2741.css 无宽度规则 → auto 左对齐(90.5px 实测); + * /contact-us/ 的 width:100% 来自其页面自身 .ele-new-form4-dif 规则,产品页不适用。 + * 覆盖 Renderer 基础样式的 :where(input[type=submit]) width:100%(全宽会把 spinner 挤到 + * 第二行,提交行 85 vs 44) */ +[data-el="9de544c"] .wpcf7-form input[type="submit"] { width: auto; margin: 0; } `;