Commit Graph

22 Commits

Author SHA1 Message Date
zty 1d987277c6 feat(landing): 预测案例管理员可编辑 + 图片上传修复 + 构建hash
- 后端新增 GET/PUT /api/cfg/landing-cases 接口存取案例数据
- 上传接口自动创建 uploads 目录,修复目录不存在导致上传失败
- 前端预测案例支持管理员编辑标题/副标题/案例内容
- hero 图片初始不设默认值,configReady 门控渲染,消除刷新闪烁
- .umirc.ts 开启 hash:true 避免浏览器缓存旧 JS

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T71oHHhfhLAWAL9EuoFuYh
2026-07-29 22:19:41 -04:00
zty 8ee0784f20 feat(ms/web): 管理端材料库扩展字段 + 导入模板更新 + 饼图浅色
- 管理端: 去掉环保等级, 材料表单/列表新增16个字段(型号/参考价格/供应商/联系人/生产日期/样品来源/检测信息等)
- 管理端: 新建材料必填项加*号(名称/类别/品牌/污染物参数/样品来源)
- 管理端: 材料导入Excel模板更新为39列新格式, 解析逻辑同步
- 管理端: 材料表单增加样品图片/应用效果图上传
- 后端: PublicMaterial/SelfMaterial schema 新增16个字段
- 用户端: 饼图颜色改为浅色系

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T71oHHhfhLAWAL9EuoFuYh
2026-07-28 21:16:38 -04:00
zty 57ff12d8d0 refactor(web/ms): 去掉健康档列, 健康等级(health_level)承接带色标签+分组 2026-07-12 21:48:08 -04:00
zty c7134f4332 fix(web): 手动排序模式才允许调 sort_order, 新排序依据下拉为准, 防覆盖策展顺序
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VCShKevM5prWZhp1kk1iGh
2026-07-10 04:25:07 -04:00
zty 8c82d18117 feat(web): 材料库排序依据/分组开关 + 健康档标签与分区
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VCShKevM5prWZhp1kk1iGh
2026-07-10 03:30:36 -04:00
zty 929a5dc809 feat(web): Material 增 ypt/health_tier 类型, getMaterials 支持 group_by_tier 2026-07-10 03:11:07 -04:00
zty 5a6945a062 feat(source): integrate whole-home bar chart and contribution pie 2026-07-07 21:31:49 -04:00
zty 1a4b752a01 feat(source): ContribPie material contribution pie chart component 2026-07-07 21:28:38 -04:00
zty 561c5158f1 feat(source): RoomBarChart grouped bar chart component 2026-07-07 21:27:48 -04:00
zty ab76f8172a copy(web): landing 多处文案更新
hero 标题、科普/案例区标题与前后标签、如何使用第二步、CMA 文章标题
统一为"预测-识别-优化"与更口语化的表述。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 21:05:11 -04:00
zty 52a1159450 style(web): 首屏 CTA 按钮文案改为「装修空气质量预测」 2026-07-07 04:40:45 -04:00
zty 2fc662090f style(web): hero 实景大图加高至约占视窗 1/4 (56vh) 2026-07-07 04:39:03 -04:00
zty b840f4fda6 feat(web): hero 主视觉换成真实室内实景照片 2026-07-07 04:36:17 -04:00
zty cae6779bcf feat(web): 科普文章配真实免版权配图
4 张 Unsplash 免版权图自托管于 public/images/articles/,接入
资讯卡片、文章详情头图与列表缩略图。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D7EkGJYZMdQtMeDEt3z4vL
2026-07-07 04:30:07 -04:00
zty a8d8c02a44 feat(web): wire landing news cards to article pages 2026-07-07 04:07:00 -04:00
zty 671b774ead feat(web): articles list page and route 2026-07-07 04:05:06 -04:00
zty 1b1cf75c73 feat(web): article detail page and route 2026-07-07 04:04:44 -04:00
zty d3a81bd580 feat(web): add health-science articles content module 2026-07-07 04:02:39 -04:00
zty 208c6b93ba feat(web): landing 4-item nav, section relabels, eco-materials section 2026-07-07 03:37:01 -04:00
zty ef35204bc6 feat(web): forum thread detail with like and reply 2026-07-07 03:35:09 -04:00
zty fd84b0b0ff feat(web): forum home page with boards, list, post 2026-07-07 03:34:48 -04:00
zty 899c4eb42e feat(web): forum and eco-materials api clients 2026-07-07 03:29:37 -04:00