# Login 左侧品牌区重新设计 实施计划 > **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:** 将 cfc-web 登录页左侧品牌区从五行沙盘 SVG 重构为五维能量轮盘动画,使用五维品牌色系 **Architecture:** 单文件修改(`Login.vue`),只改 template 和 scoped style,不涉及 script。保留右侧表单区域不变。 **Tech Stack:** Vue 2 Options API, CSS3 Animations, SVG **设计文档:** `docs/superpowers/specs/2026-07-02-login-left-panel-redesign.md` --- ## 文件结构 | 文件 | 操作 | 说明 | |------|------|------| | `cfc-web/src/views/Login.vue` | 修改 | 替换全部 brand-panel 模板和样式 | --- ### Task 1: 更新品牌区背景 + 整体布局 **Files:** - Modify: `cfc-web/src/views/Login.vue:1-884` - [ ] **Step 1: 替换背景渐变色和布局微调** 修改 `.brand-panel` 的背景和 `.brand-content` 的布局: ```css /* 替换现有 .brand-panel 背景 (line ~413-419) */ .brand-panel { flex: 0 0 55%; position: relative; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #1A0F00 0%, #2D1810 30%, #3D2B1F 60%, #4A3020 100%); overflow: hidden; } /* 替换 .brand-panel::before 背景纹理 (line ~423-433) */ .brand-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse 100% 40% at 50% 30%, rgba(255, 215, 0, 0.04) 0%, transparent 70%), radial-gradient(ellipse 80% 60% at 80% 80%, rgba(255, 140, 66, 0.05) 0%, transparent 70%), radial-gradient(circle 50% 50% at 20% 80%, rgba(99, 102, 241, 0.03) 0%, transparent 60%); pointer-events: none; z-index: 0; } /* 调整 .brand-content 布局 (line ~435-448) */ .brand-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 480px; width: 100%; padding: 32px 36px; color: #fff; min-height: 100vh; box-sizing: border-box; } ``` - [ ] **Step 2: 更新品牌头部样式** ```css /* 替换 .brand-header (line ~451-457) */ .brand-header { flex-shrink: 0; display: flex; align-items: center; gap: 14px; margin-bottom: 6px; } /* .logo-img 保持不变 (line ~459-464) */ /* .brand-titles 不变 (line ~466-470) */ /* 替换 .brand-cn (line ~472-480) */ .brand-cn { font-size: 24px; font-weight: 700; letter-spacing: 4px; line-height: 1.3; background: linear-gradient(135deg, #FFE066 0%, #F59E0B 50%, #FFE066 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } /* .brand-dot 不变 (line ~482-486) */ /* .brand-en 不变 (line ~488-494) */ ``` - [ ] **Step 3: 更新品牌主张区域样式** ```css /* 替换 .brand-mission 相关样式 (line ~497-524) */ .brand-mission { flex-shrink: 0; text-align: center; margin-bottom: 8px; } .mission-title { font-size: 20px; font-weight: 700; letter-spacing: 2px; margin: 0 0 4px; line-height: 1.4; } .mission-title .highlight { background: linear-gradient(135deg, #FFE066, #F59E0B); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .mission-desc { font-size: 13px; opacity: 0.55; letter-spacing: 1px; margin: 0; font-weight: 300; } ``` - [ ] **Step 4: 更新底部统计 + 角色标签样式** 替换 `.brand-values` 部分为 `.brand-footer`: ```css /* 替换 .brand-values (line ~608-647) */ .brand-footer { flex-shrink: 0; width: 100%; margin-top: 4px; } .stats-row { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 10px; } .stat-item { display: flex; flex-direction: column; align-items: center; padding: 0 16px; } .stat-num { font-size: 22px; font-weight: 700; background: linear-gradient(135deg, #FFE066, #F59E0B); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.2; } .stat-label { font-size: 10px; opacity: 0.5; letter-spacing: 1px; margin-top: 1px; } .stat-divider { width: 1px; height: 28px; background: rgba(255, 255, 255, 0.12); } .role-tags { display: flex; gap: 10px; justify-content: center; } .role-tag { display: inline-block; padding: 3px 14px; font-size: 11px; border: 1px solid; border-radius: 20px; opacity: 0.5; transition: opacity 0.3s; letter-spacing: 1px; } .role-tag:hover { opacity: 0.9; } ``` --- ### Task 2: 替换模板中的五维沙盘为能量轮盘 **Files:** - Modify: `cfc-web/src/views/Login.vue:1-293` - [ ] **Step 1: 替换 brand-panel 的 template 内容** 把 template 中的 `.brand-panel` 内部(lines 4-219)全部替换为: ```html
AI 智慧家庭成长平台 · 五维能量驱动全家持续成长