dy-dashboard/vault/知识库/工作指南/训练记录/2026-08-03-产品下单菜单组图标修复.md
2026-10-28 11:14:17 +08:00

9 lines
820 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 1. 主题
**旭东 → OpenClaw:**
> 「产品下单」从一级菜单改为菜单组(保留购物车橙色图标 + 折叠箭头),但是目前橙色图标消失了
**OpenClaw 响应:**
原因:产品下单改为菜单组后,图标元素从 `data-page="product_order"` 的普通 nav-item 变成了 `data-group="product-order"` 的 nav-group-header,而 CSS 橙色渐变规则只写了 `.nav-item[data-page="product_order"]`,选择器不再匹配导致图标底色丢失。其他菜单组(基础数据/库存/订单管理/系统设置)都有对应的 data-group 规则,唯独漏了产品下单。
修复:在 style.css 补充 `.nav-group-header[data-group="product-order"] .nav-icon-accent` 规则(与原规则合并)。测试服务平滑重载 5 Worker、HTTP 200;Git 提交 08cdca8。