《言效引擎统一 UI 中台对接标准》 一、唯一权威来源 从现在开始,言效引擎所有系统的共享 UI 资产唯一来源是: https://dev.ui.resultrex.com 核心资产: - https://dev.ui.resultrex.com/assets/ui_asset.php?file=core 系统适配层: - 服务系统:https://dev.ui.resultrex.com/assets/ui_asset.php?file=service - 任务系统:https://dev.ui.resultrex.com/assets/ui_asset.php?file=task - 知识库系统:https://dev.ui.resultrex.com/assets/ui_asset.php?file=knowledge - 管理系统:https://dev.ui.resultrex.com/assets/ui_asset.php?file=admin 所有旧的本地 UI 逻辑,从现在开始都只允许作为“代理入口”存在,不允许继续作为长期主样式源维护。 二、硬性原则 1. 先共享层,后业务页 - 只允许修改系统的共享入口文件来接入 dev.ui。 - 禁止在单个业务页面继续散落手写搜索框、下拉箭头、焦点高光、表格操作列、卡片描边。 2. 一处修改,多处生效 - 后续 UI 样式调整,只改 dev.ui.resultrex.com 中台资产。 - 已接入系统不得要求再次逐页改样式。 3. 清理旧 UI 逻辑 - 旧的 local inline CSS、旧 gradient 箭头、旧 search wrapper、旧双层 input 壳,必须逐步清理。 - 禁止继续新增任何旧写法。 三、各系统标准接入方式 1. 服务系统 - 共享入口文件:/www/wwwroot/dev.api.resultrex.com/layout/ui_standard.php - 该文件只允许作为代理入口输出 dev.ui 的远程 CSS 资源。 2. 任务系统 - 共享入口文件:/www/wwwroot/dev.task.resultrex.com/ui_standard.css - 该文件只允许保留 import dev.ui 资产,不再长期维护大段本地样式。 3. 知识库系统 - 共享入口文件:/www/wwwroot/dev.knowledge.resultrex.com/layout/ui_standard.css - 该文件只允许保留 import dev.ui 资产,不再长期维护大段本地样式。 4. 管理系统 - 共享入口文件:/www/wwwroot/dev.admin.resultrex.com/manage/layout/ui_theme.php - 该文件只允许作为代理入口输出 dev.ui 的远程 CSS 资源。 5. 新系统(代理系统 / 客户系统 / 后续新增系统) - 不允许再单独设计一套 UI。 - 直接引用: - https://dev.ui.resultrex.com/assets/ui_asset.php?file=core - 如有系统级差异,再新增新的中台适配层文件,不允许把差异放回业务页。 四、控件骨架硬标准 1. 搜索框 - 统一 DOM: