feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等

This commit is contained in:
zhanjunhao
2026-11-10 17:27:36 +08:00
parent 5463a0c772
commit ed9820e6a6
195 changed files with 3546 additions and 1984 deletions
+2
View File
@@ -4,6 +4,8 @@
## Ant Design 依赖统一(2026-11-10)
按钮组和操作按钮的通用图标优先使用 `src/components/common/icons/ActionIcons.js`(基于 `@ant-design/icons`,兼容既有 size / color / ref);旧 `components/ui/icons` 已复用该入口。无准确对应项的专业图标及品牌图标保留。按钮内图标与文字整体居中,公共对齐见 `src/styles/action-icons.css`;不改业务回调、权限或加载/禁用条件。本条覆盖旧页面规范中按钮图标沿用 Lucide 的约定,非按钮装饰不批量替换。
通用 UI 使用 `antd`;旧 `src/components/ui` 是 Ant Design 契约适配层,保留值回调、Form API 和分页语义。模型品牌图标使用 `src/assets/brand-icons/` 的固定版本本地 SVG:首页与 `helpers/render.jsx` 只导入 `primitives`,完整变体仍经 `LobeHubIcon` 懒加载;头像容器使用 Ant `Avatar`,主题复用现有 Theme Context。不得重装 `@lobehub/icons`、`@lobehub/ui`、Radix UI、Floating UI、leva、antd-style 或 react-layout-kit。生成资产须通过脚本维护并保留 MIT 许可证及 hash。运行 `npm run check:ui` 检查源码、完整 lock 图和资产 hash;专用图表、流程画布、编辑器与引导保留。方案、风险和验证结果见 `docs/ui/ANTD_UNIFICATION_PLAN.md`;证据仅放忽略目录 `report/ui-unification/`。
## 三中心表格列设置统一(2026-11-07)