From 5534b33c1b2ab3c21eec94e7e5491692e731c661 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 24 Sep 2026 11:41:15 +0800 Subject: [PATCH] =?utf8?q?fix:=20UI=20=E5=83=8F=E7=B4=A0=E7=BA=A7=E5=AF=B9?= =?utf8?q?=E9=BD=90=20React=20=E7=89=88=EF=BC=88Element=20Plus=20=E5=93=81?= =?utf8?q?=E7=89=8C=E6=A0=B7=E5=BC=8F=E5=85=A8=E9=9D=A2=E4=BF=AE=E5=A4=8D?= =?utf8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit - 资产本地化:复制 React public 共享资产到 src-vue/public,引用路径改 /t/stationbuilder-vue/,消除顶栏/AI 图标裂图 - Ui* 包装层修复:UiButton/UiInput/UiSelect/UiTable/UiActions/UiOverlay 透传 class(含 React 风格 className 归一化),业务布局类名恢复生效 - 失效 .ant-* 选择器全部迁移为 .el-*:menu.less 重写为 ElMenu 品牌样式(灰底/渐变选中/树状线/折叠弹出),antd.less 删除,theme-overrides/ui-system/brand-layout/globals/site-workspace/ui-layout-compat 改写 - EP 兜底:裸图标 svg[viewBox=0 0 1024 1024] 约束 1em(修复 671px 巨型图标);.cell 关闭 ellipsis 对齐 antd;表头 nowrap;EP 表格列宽迁移为 colgroup col 规则 - brand-tokens.css 补全 --el-*:16px 字号、按钮/表头/hover 品牌变量 - ElTag 无效 :color 用法改 type/class(antd 预设色映射);UiSelect 空值显示匹配选项文案 - 清理:globals 死状态标签规则、parse.js 未用导出 --- src-vue/Home.vue | 34 +- src-vue/components/Dashboard.vue | 2 +- src-vue/components/DropdownButton.vue | 15 +- src-vue/components/dropdown-button.less | 21 +- src-vue/components/menu.less | 221 +++++------- src-vue/components/pagination.less | 33 +- src-vue/components/search-input.less | 27 +- src-vue/lib/api.js | 4 +- src-vue/main.js | 1 - src-vue/pages/Dashboard.vue | 2 +- src-vue/pages/DeviceTemplates.vue | 2 +- src-vue/pages/Projects.vue | 4 +- src-vue/pages/Result.vue | 4 +- src-vue/pages/SiteConfigurationContext.vue | 4 +- src-vue/pages/domain/CompanyDomainLibrary.vue | 2 +- src-vue/public/ai-icon.png | Bin 0 -> 109080 bytes src-vue/public/dashboard-preview.jpg | Bin 0 -> 66097 bytes src-vue/public/dashboard-renderer.js | 338 ++++++++++++++++++ src-vue/public/echarts.min.js | 45 +++ src-vue/public/ext-pages/basic-components.jpg | Bin 0 -> 73665 bytes src-vue/public/ext-pages/datasource.jpg | Bin 0 -> 13361 bytes src-vue/public/ext-pages/filters.jpg | Bin 0 -> 83179 bytes src-vue/public/ext-pages/func-components.jpg | Bin 0 -> 33168 bytes src-vue/public/ext-pages/report-dashboard.jpg | Bin 0 -> 27141 bytes src-vue/public/ext-pages/report-doc.jpg | Bin 0 -> 72665 bytes src-vue/public/wise-header/bell.svg | 1 + src-vue/public/wise-header/caret-down.svg | 1 + src-vue/public/wise-header/favorite.svg | 1 + src-vue/public/wise-header/folder.svg | 1 + src-vue/public/wise-header/menu.svg | 1 + .../wise-header/powered-by-wise-iot.svg | 3 + src-vue/public/wise-header/search.svg | 1 + src-vue/public/wise-header/settings.svg | 1 + src-vue/public/wise-header/theme.svg | 1 + src-vue/public/wise-header/wise-iot-logo.svg | 1 + src-vue/styles/antd.less | 88 ----- src-vue/styles/brand-layout.css | 32 +- src-vue/styles/brand-tokens.css | 18 + src-vue/styles/globals.css | 35 +- src-vue/styles/site-workspace.css | 30 +- src-vue/styles/theme-overrides.css | 37 +- src-vue/styles/ui-layout-compat.css | 258 ++++++------- src-vue/styles/ui-system.css | 118 +++--- src-vue/ui/UiActions.vue | 2 +- src-vue/ui/UiButton.vue | 5 +- src-vue/ui/UiInput.vue | 2 +- src-vue/ui/UiOverlay.vue | 5 +- src-vue/ui/UiSelect.vue | 15 +- src-vue/ui/UiTable.vue | 4 +- src-vue/ui/parse.js | 2 +- 50 files changed, 870 insertions(+), 552 deletions(-) create mode 100644 src-vue/public/ai-icon.png create mode 100644 src-vue/public/dashboard-preview.jpg create mode 100644 src-vue/public/dashboard-renderer.js create mode 100644 src-vue/public/echarts.min.js create mode 100644 src-vue/public/ext-pages/basic-components.jpg create mode 100644 src-vue/public/ext-pages/datasource.jpg create mode 100644 src-vue/public/ext-pages/filters.jpg create mode 100644 src-vue/public/ext-pages/func-components.jpg create mode 100644 src-vue/public/ext-pages/report-dashboard.jpg create mode 100644 src-vue/public/ext-pages/report-doc.jpg create mode 100644 src-vue/public/wise-header/bell.svg create mode 100644 src-vue/public/wise-header/caret-down.svg create mode 100644 src-vue/public/wise-header/favorite.svg create mode 100644 src-vue/public/wise-header/folder.svg create mode 100644 src-vue/public/wise-header/menu.svg create mode 100644 src-vue/public/wise-header/powered-by-wise-iot.svg create mode 100644 src-vue/public/wise-header/search.svg create mode 100644 src-vue/public/wise-header/settings.svg create mode 100644 src-vue/public/wise-header/theme.svg create mode 100644 src-vue/public/wise-header/wise-iot-logo.svg delete mode 100644 src-vue/styles/antd.less diff --git a/src-vue/Home.vue b/src-vue/Home.vue index f65d444..674b86f 100644 --- a/src-vue/Home.vue +++ b/src-vue/Home.vue @@ -488,22 +488,22 @@ function onMenuOpenChange(keys) { resourceNavOpen.value = keys.includes("resourc