Hermes Agent
|
3acda15527
|
fix(frontend): 视觉验收发现的问题逐条修复
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled
P0 致命修复:
- 首页表单中段灰色不可见文字: hero-note(#e8edf7) 改为显式 #475569 可读色
- 首页上传区域空白虚线框: 补图标+说明+格式支持+CTA文案
- 结账页顶部裸 HTML class="wrap">: 缺少 <main 标签导致
P0 CTA层级:
- 首页双CTA: "直接做完整规划"从 btn-primary 改为 btn-secondary 形成层级
P1 信任感:
- 结账页补退款政策+支付方式+支付安全三栏
- 结账页删除 3 张冗余 trust-strip 卡片(原 6 张→2 张 form-proof)
- 结账页补"考试省份"必填星号
P1 定价页统一:
- CTA 文案统一: "选择付费审核"/"支付并启动方案生成"/"选择深度辅导"
- 价格单位统一: /次 /单 → 全部 /份
P1 导航对比度:
- global-nav-link 从 #b8c8e4 提亮到 #d8e4f8 (WCAG AA 4.5:1)
验证: pytest 1303 passed, ruff All checks passed
|
2026-06-27 23:16:26 +08:00 |
|
Hermes Agent
|
4202eba208
|
feat(frontend): 三阶段18项前端优化全部完成
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled
第一阶段(致命缺陷修复):
- 复核结果页: 真分享(navigator.share+clipboard兜底)+保存草稿(localStorage), 删除假wxhelp外链
- 通用状态组件库: portal-ui.css新增state-loading/skeleton/empty/error/toast/sr-only
- my-orders/my-reports接入skeleton占位+state-empty
第二阶段(核心功能补齐):
- C方案鉴权: my-orders/my-reports/compare-reports删除find_by_phone手机号直查,
改为portal token验证, 堵死P0-2越权漏洞
- 首页表单4字段即时校验(province/score/subjects/goal) + portal info 3字段校验
- cwb页面从固定文案升级为基于crowd_db的三档真实建议(冲刺+20/稳妥0/保底-20)
第三阶段(产品化提升):
- 新增/score-line-query分数线查询页(从crowd_db读本科线)
- 新增/rank-estimator位次估算页(基于benchmarks插值)
- /data-query扩展为4入口(分数线/位次/政策/同分段)
- 报告资产页补复制链接+系统分享
- 全局导航移除my-orders/my-reports(C方案)
- 从所有导航删除越权入口
验证: pytest 1306 passed, ruff All checks passed, 浏览器逐页验证通过
|
2026-06-27 13:23:08 +08:00 |
|
Hermes Agent
|
8d0ef0b842
|
frontend: 第三阶段补齐 - 数据查询+报告对比+focus-visible
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled
新增功能:
1. /data-query 数据查询入口页:政策中心+同分段参考两个查询入口
2. /compare-reports 报告对比入口页:输入手机号选择多份报告对比
3. focus-visible CSS:所有可交互元素获得键盘焦点时显示蓝色轮廓
4. 所有新页面包含全局导航栏+返回首页+role=main
验证结果(重启服务后curl真实确认):
- /data-query: HTTP 200 ✅
- /compare-reports: HTTP 200 ✅
- focus-visible CSS: 5处 ✅
- 分享/PDF/性能: 全部 ✅
- 测试: 60 passed
|
2026-06-26 22:00:00 +08:00 |
|
Hermes Agent
|
ed61f6e306
|
fix(frontend): 全局导航栏覆盖所有6个关键页面
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled
修复内容:
1. portal-ui.css 新增全局导航栏CSS(所有引用该文件的页面共享)
2. 定价页/结账页/我的订单/我的报告/复核结果页 均加入全局导航栏HTML
3. 复核结果页通过_render_placeholder_shell自动获得导航栏
4. 我的订单/我的报告增加返回首页按钮
严格验证结果(重启服务后curl真实确认):
- 全局导航栏: 6/6页面全部有 ✅
- 返回首页: 5/5非首页页面全部有 ✅
测试: 60 passed
|
2026-06-26 21:36:26 +08:00 |
|
Hermes Agent
|
40ee7f4dc0
|
feat(frontend): complete local UI remediation for web, portal, and dashboard
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled
|
2026-06-16 15:02:01 +08:00 |
|