Phase 1 (基础设施与用户认证) 全部 11 个 Task 开发完成: 后端 (Go): - Auth 模块: 注册/登录/JWT(有状态)/Profile/密码修改 - Admin 模块: 用户列表/详情/禁用/启用/角色分配/创建用户 - 中间件: JWT认证 + RBAC角色权限 + 请求日志 + CORS + Panic恢复 - Dockerfile 多阶段构建 + Docker Compose 全栈部署 前台 (uni-app): - 登录/注册页面 + 自定义 TabBar + 个人中心 - 请求封装 + 状态管理 (Pinia) 管理端 (Vue 3 + Element Plus): - 登录/仪表盘/用户列表/用户详情 - Axios 封装 + 路由守卫 + Pinia 状态管理 验证: - 全流程 API 端到端测试通过 - Playwright 页面自动化验证通过 - code-reviewer 代码审查通过 Made-with: Cursor
51 lines
1.3 KiB
Markdown
51 lines
1.3 KiB
Markdown
# Login Page Overrides
|
|
|
|
> **PROJECT:** EchoChat
|
|
> **Generated:** 2026-03-02 09:58:55
|
|
> **Page Type:** Authentication
|
|
|
|
> ⚠️ **IMPORTANT:** Rules in this file **override** the Master file (`design-system/MASTER.md`).
|
|
> Only deviations from the Master are documented here. For all other rules, refer to the Master.
|
|
|
|
---
|
|
|
|
## Page-Specific Rules
|
|
|
|
### Layout Overrides
|
|
|
|
- **Max Width:** 800px (narrow, focused)
|
|
- **Layout:** Single column, centered
|
|
- **Sections:** 1. Hero (benefit headline), 2. Lead magnet preview (ebook cover, checklist, etc), 3. Form (minimal fields), 4. CTA submit
|
|
|
|
### Spacing Overrides
|
|
|
|
- **Content Density:** Low — focus on clarity
|
|
|
|
### Typography Overrides
|
|
|
|
- No overrides — use Master typography
|
|
|
|
### Color Overrides
|
|
|
|
- **Strategy:** Lead magnet: Professional design. Form: Clean white bg. Inputs: Light border #CCCCCC. CTA: Brand color
|
|
|
|
### Component Overrides
|
|
|
|
- Avoid: No feedback after submit
|
|
- Avoid: Placeholder-only inputs
|
|
|
|
---
|
|
|
|
## Page-Specific Components
|
|
|
|
- No unique components for this page
|
|
|
|
---
|
|
|
|
## Recommendations
|
|
|
|
- Effects: Hover states on CTA (color shift, slight scale), form field focus animations, loading spinner, success feedback
|
|
- Forms: Show loading then success/error state
|
|
- Accessibility: Use label with for attribute or wrap input
|
|
- CTA Placement: Form CTA: Submit button
|