diff --git a/docs/superpowers/plans/2026-06-26-ui-ux-standardization.md b/docs/superpowers/plans/2026-06-26-ui-ux-standardization.md new file mode 100644 index 0000000..d22945b --- /dev/null +++ b/docs/superpowers/plans/2026-06-26-ui-ux-standardization.md @@ -0,0 +1,1264 @@ +# UI/UX 标准化实施计划 + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. + +**Goal:** 统一所有页面的设计 token、类型定义和 mock 数据管理,为后端 API 对接做好准备。 + +**Architecture:** 分三步执行。第1步建立基础设施(token 统一 + 类型 + mock 层),不改任何页面视觉。第2步迁移核心链路(首页→年卡→购买→订单)。第3步迁移剩余页面和组件。 + +**Tech Stack:** uni-app 3.0 + Vue 3 + TypeScript + Pinia + SCSS + +## Global Constraints + +- 颜色体系统一使用 `uni.scss` 的 `$uv-*` 变量(`$uv-primary: #3c9cff`) +- 字体族:标题 `$font-family-display`(思源宋体),正文 `$font-family-body`(系统字体) +- 禁止在页面 `