Files
unknownandCursor c7a23837f4 feat(web): 对齐和信后台页壳并落地工业 UI 评审与 Skills 盘点
统一控制台列表/表单页壳与 Hexin 样式,补充 industrial-ui-review、管理员评审证据,以及 Skills 资产盘点与 test-strategy 消歧。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-19 17:44:26 +08:00

36 lines
1.6 KiB
Markdown
Raw Permalink 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.
# UI 对齐和信企业规范 — 冻结范围
## Goal
将 Watchman 控制台已开发页面(**排除登录页**)的样式与布局对齐和信企业 Design System + 本仓 `frontend-ui.md`/`ELEMENT_MIGRATION.md`。功能语义保持不变。
## Confirmed Decisions
- `gatePolicy.selected` = **autonomous**
- 先做 **S0**:`AppShell` + 共享列表/表单骨架,再按页推进
- **纳入** `AppShell`
- 每页改完用 Playwright 截图检查;证据目录 `docs/evidence/ui-hexin/`
- 登录页 `LoginPanel` / 登录相关 e2e **不改**
## In Scope
- `AppShell` 侧栏、面包屑、内容区留白
- 共享列表/详情页骨架(轻量同构 HXOPS `AdminListPage`:单卡、约 32px、筛选/表/分页槽位)
- 页面:概览、数据源列表/编辑、查询列表/编辑/版本、映射列表/编辑、报警列表/详情
- 现有 Playwright 用例回归;新增/更新截图证据
## Out of Scope
- 登录页视觉与流程
- 后端 API、权限点、业务状态机
- 新业务功能(映射列表可对齐已有列表约定的分页/筛选**视觉与交互形态**,不新增未授权能力)
- 引入第二 UI 库;拷贝整个 HXOPS
## Acceptance
- 业务页内容区为单层表面卡片(或等价),水平对齐约 32px
- 列表:筛选「查询才请求」、表体滚动、分页在卡底;符合 `frontend-ui.md`
- 详情/表单:页脚按钮居中固定,正文可滚
- Primary/字阶/圆角走 tokens;无页面散落 hex 改主色
- 每页有 Playwright 截图证据;关键现有 e2e 不因纯样式改动失败