Integration Standard

言效引擎统一 UI 中台对接标准

这份文档是所有系统窗口的硬性约束。目标只有一个:所有系统只接 dev.ui 中台,后续 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 修改只改 dev.ui 中台唯一来源
禁止新增旧 gradient 箭头和旧搜索框壳禁止

当前共享入口

服务系统:layout/ui_standard.php 任务系统:ui_standard.css 知识库系统:layout/ui_standard.css 管理系统:manage/layout/ui_theme.php 这些文件以后都只作为 dev.ui 代理入口存在。

控件硬标准

搜索框 DOM 统一使用 yx-search / yx-search__icon / yx-search__input / yx-search__tag
输入框/下拉/文本域高度 44px,圆角 12px,焦点为橙色边框 + 光圈
下拉箭头统一为小 V SVG,焦点和非焦点图形一致,只允许颜色变化
卡片圆角 20px,边框 #eeeeee,阴影轻,不允许黑硬描边
表格表头 #fafafa,斑马纹浅橙白,操作列固定右侧,操作按钮为蓝色文字按钮

旧逻辑禁令

禁止继续新增: - 页面内联 select gradient 箭头 - 页面内联覆盖 .yx-search 焦点 - 业务页双层搜索框外壳 - 旧类名 search-box / toolbar-search / list-search / orange-search - 单页自己定义一套焦点边框 / 圆角 / 描边灰度

执行顺序

1. 先把系统共享入口接到 dev.ui 中台
2. 再删除页面内遗留的旧 UI 样式
3. 最后确认 JS 没有依赖旧类名和旧 DOM