1. 12 Feb, 2026 5 commits
    • - 创建 PaymentPeriodRadio 组件替代弹窗选择器
      - 未选中状态:灰色边框和文字
      - 选中状态:蓝色边框、浅蓝背景、蓝色文字
      - 移除单选按钮图标,只显示文字
      - 两列网格布局,点击即选
      
      影响文件:
      - src/components/plan/PlanFields/PaymentPeriodRadio.vue (新建)
      - src/components/plan/PlanTemplates/CriticalIllnessTemplate.vue
      - src/components/plan/PlanTemplates/LifeInsuranceTemplate.vue
      - src/components/plan/PlanTemplates/SavingsTemplate.vue
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • 移除 docs/backups/original-pages/ 目录下的四个备份文件:
      - message-index.vue.bak
      - product-center-index.vue.bak
      - search-index.vue.bak
      - material-list-index.vue.bak
      
      这些文件是开发过程中的临时备份,现已不再需要。
      hookehuyr authored
    • - 从 PlanFormContainer.vue 的 fieldMapping 中移除 age → customer_age 映射
      - 提交计划书时不再包含 customer_age 参数
      - 保留 withdrawal_start_age 字段用于提取计划
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • hookehuyr authored
    • - 移除流光和磨砂玻璃特效,改为简洁设计
      - 调整背景和颜色,符合 Manulife 企业风格
      - 统一字体颜色和排版,增强可读性
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
  2. 11 Feb, 2026 26 commits
    • - 将环境信息和用户信息延迟到最后打印
      - 确保其他初始化日志先输出完毕
      - 避免重要信息被大量日志淹没
      - 关闭开发环境 debug 模式以减少干扰
      hookehuyr authored
    • hookehuyr authored
    • hookehuyr authored
    • - 记录待处理和处理中状态隐藏查看按钮的优化
      - 提升用户体验,避免无效操作
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • - 待处理和处理中的计划书不显示查看按钮
      - 只有已生成和已查看状态才显示查看按钮
      - 提升用户体验,避免无效操作
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • - 修复 showModal cancelText 参数为 undefined 导致的错误
      - 优化 PDF 文档打开失败的提示文案和交互
      - 新增"去反馈"按钮跳转到意见反馈页面
      - 启用 PDF 文档的复制链接功能
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • hookehuyr authored
    • - 修改 PlanFormContainer 成功判断:必须同时满足 code === 1 且有 order_id
      - 修正错误信息获取路径:res.data.msg 而非 res.data.message
      - 统一所有页面的 handlePlanSubmit 函数,根据实际提交结果跳转
      - 移除所有 TODO 注释和模拟提交逻辑
      
      影响文件:
      - src/components/plan/PlanFormContainer.vue
      - src/pages/index/index.vue
      - src/pages/product-center/index.vue
      - src/pages/product-detail/index.vue
      - src/pages/search/index.vue
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • hookehuyr authored
    • - MaterialCard: 增强 downloadUrl 字段传递,支持从 CDN URL 解析扩展名
      - useFileOperation: 修复 Office 文档预览提示按钮文本(小程序限制 4 字符)
      - week-hot-material: 简化数据映射,依赖组件内部自动解析扩展名
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • - 添加 Word (docx) 测试文件 URL
      - 添加 PowerPoint (pptx) 测试文件 URL
      - 添加 Excel (xlsx) 测试文件 URL
      - 保留原有的 PDF、图片和文本文件 URL
      - 所有测试 URL 均来自可靠的公开资源
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • - 优化 getDocumentIcon 支持多种扩展名来源
      - 增强 extractExtensionFromFile 支持更多解析路径
      - 改进 JSDoc 文档
      
      Co-Authored-By: Claude Sonnet 4.5
      hookehuyr authored
    • - 添加真实的可预览测试文件地址(PDF、图片、文本)
      - 优化所有数据生成函数使用 getTestFileUrl
      
      Co-Authored-By: Claude Sonnet 4.5
      hookehuyr authored
    • 移除重复的图片预览判断逻辑,统一使用 useFileOperation
      hookehuyr authored
    • - 新增 extractExtensionFromFile() 统一函数
      - 优先使用 extension 字段
      - 更新 documentIcons.js/tools.js/useFileOperation.js 使用统一函数
      - 更新 API 类型定义和组件
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • hookehuyr authored
    • - 新增 headerImageError 状态管理
      - 实现 handleHeaderImageError 错误处理函数
      - 图片加载失败时显示蓝色渐变背景降级UI
      - 优化用户体验,避免图片加载失败影响页面展示
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • - 优化页面背景色为淡灰色
      - 添加头像展示卡片和圆环边框
      - 改进编辑图标为右下角悬浮样式
      - 统一底部按钮风格
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • - 新增 mockPlanListAPI 函数支持分页、状态筛选、关键词搜索
      - 集成 Mock 数据开关,开发环境自动启用
      - 支持测试分页加载、状态筛选、关键词搜索、查看功能
      - 数据结构完全符合 API 文档规范
      hookehuyr authored
    • - 删除后保持在当前页,不再跳回第1页
      - 本地立即移除删除的项(用户马上看到效果)
      - 如果当前页被删空,自动回到上一页
      - 静默刷新当前页数据(后台同步,用户无感知)
      
      影响文件:
      - src/pages/plan/index.vue
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • hookehuyr authored
    • - 记录新增的计划书 CRUD 接口
      - 记录 API 规范文档的格式修复
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • - 修复 list.md 的 OpenAPI 文档格式问题(重复内容、YAML 结构错误)
      - 新增 delete.md 和 view.md API 规范文档
      - 重新生成 plan.js,补充完整的 4 个接口(add, delete, view, list)
      - 为 deleteAPI 和 viewAPI 添加参数说明(params.i)
      - 为 listAPI 添加详细的参数说明(status, keyword, limit, page)
      - 优化 JSDoc 类型注释(integer → number)
      - 添加完整的返回值类型定义
      
      影响文件:
      - docs/api-specs/plan/list.md (格式修复)
      - docs/api-specs/plan/delete.md (新增)
      - docs/api-specs/plan/view.md (新增)
      - src/api/plan.js (接口补充)
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • - lessons-learned.md: 新增"状态标记组件模式"案例
      - README.md: 添加最新更新章节(计划书状态标记、UI优化)
      - CLAUDE.md: 更新最新功能和常见问题表格
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • - 在卡片右上角显示计划书状态(生成中/已完成)
      - 生成中状态:黄色背景 + 橙色文字
      - 已完成状态:绿色背景 + 深绿色文字
      - 使用圆角徽章样式,与整体设计一致
      
      影响文件: src/pages/plan/index.vue
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • hookehuyr authored
  3. 10 Feb, 2026 9 commits
    • - ProductCard 组件:降低对比度,更加柔和
        - 边框颜色调整为 border-gray-200,增强可见性
        - 阴影优化:更细腻的阴影参数
        - 装饰背景从蓝色改为中性灰色光晕
        - 按钮样式调整为浅色背景(浅蓝 + 浅灰)
      - 首页"查看更多"按钮:移除背景色,改为透明样式
      - 金额输入弹窗:调整弹窗位置为 top: 40%,更符合视觉中心
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • - NavHeader 组件增强:支持自定义背景、文字颜色和覆盖模式
      - 我的页面全面升级:
        - 新增渐变背景头部(深蓝到科技蓝)
        - 用户卡片优化:头像编辑徽章、精致阴影、装饰圆圈
        - 菜单图标彩色化:每个功能对应独特的品牌色背景
        - 退出登录按钮优化:白色卡片样式,更统一
        - 新增页脚版权信息
      - 整体视觉风格与首页保持一致
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • - 容器升级:统一圆角卡片、自定义阴影和装饰光晕
      - 图标优化:增大尺寸,增加渐变背景和微边框
      - 交互增强:添加点击微缩放效果 (active:scale-95)
      - 排版优化:调整文字字重,提升精致感
      - 保持首页三个核心板块视觉统一性
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • - 热卖产品和热门资料区块:增加背景装饰光晕和圆角标题指示条
      - 优化"查看更多"按钮样式:灰色圆角背景 + 更精致的图标
      - 统一卡片阴影和边框样式,与 ProductCard 保持一致
      - 增加相对定位层级,确保装饰背景不影响交互
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • - 升级为高端专业风格(白色背景 + 细腻阴影 + 装饰光晕)
      - 移除 nut-button 依赖,改用原生 view 实现精确样式控制
      - 增加点击微缩放交互效果 (active:scale-[0.99])
      - 优化标签样式和标题排版对比度
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • 由于 Apifox 接口调整,无法自动访问,改为手动维护文档。
      
      删除内容:
      - MCP 服务器配置(.claude/settings.json, .claude/settings.local.json)
      - Apifox 集成指南和 MCP 配置文档(6 份)
      - Apifox 测试脚本(2 个)
      - 环境变量配置示例
      
      保留内容:
      - docs/api-specs/ - OpenAPI 文档(手动维护)
      - scripts/generateApiFromOpenAPI.js - 代码生成脚本
      - api:generate 命令仍可使用
      
      影响范围:删除 11 个文件,移除 1219 行代码
      hookehuyr authored
    • ## 变更内容
      
      ### 文档更新
      - 在 plan/index.vue 中添加详细的 TODO 注释,记录后端 API 缺少的关键参数
      - 更新 API 集成日志,明确列出 4 个缺失的查询参数
      - 更新 CHANGELOG,标注 order_status 状态值的不确定性
      
      ### 缺失的后端参数
      1. **分页参数**(必须):`page`、`limit`
      2. **状态筛选参数**(必须):`order_status`
      3. **搜索参数**(建议):`keyword`
      
      ### 重要说明
      - ⚠️ order_status 状态值("3"=生成中, "5"=已生成)是前端推测,需要与后端确认
      - 🔴 当前使用前端过滤作为临时方案,存在性能和分页准确性问题
      - 后端添加参数支持后,前端可改用服务端分页和过滤
      
      ## 影响文件
      - src/pages/plan/index.vue: 添加 TODO 注释
      - docs/api-docs/API 集成日志.md: 更新接口状态和问题记录
      - docs/CHANGELOG.md: 记录状态值不确定性
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • - 修复 smoking_status 字段映射(之前错误映射为 smoker)
      - 删除未使用的 formatAmounts 函数
      - 将所有"客户姓名"统一改为"申请人"
      - 更新表单标签、占位符和错误提示
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored
    • - 添加 OpenAPI 生成器 title 字段识别修复的记录
      - 详细说明影响文件和技术细节
      
      Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
      hookehuyr authored