From e03ac06e021ea836bee5c8660efb4e905a099832 Mon Sep 17 00:00:00 2001 From: jacobxu666 Date: Fri, 26 Jun 2026 09:32:56 +0800 Subject: [PATCH] docs: add UI/UX standardization implementation plan 17 tasks across 3 phases: - Phase 1 (Tasks 1-8): Infrastructure (tokens, types, mock, cleanup) - Phase 2 (Tasks 9-12): Core pages (index, card list/detail, buy) - Phase 3 (Tasks 13-17): Remaining pages and components Co-Authored-By: Claude --- .../plans/2026-06-26-ui-ux-standardization.md | 1264 +++++++++++++++++ 1 file changed, 1264 insertions(+) create mode 100644 docs/superpowers/plans/2026-06-26-ui-ux-standardization.md 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`(系统字体) +- 禁止在页面 `