Commit Graph

3 Commits

Author SHA1 Message Date
c4005f229e feat: 消耗分析+认证修复+套装更新+认证简化
All checks were successful
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 6s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 16s
Test / e2e-test (push) Successful in 49s
商业核算:
- 芳香调理技术作为体验项目,使用真实配方数据
- 新增消耗分析:每种精油可做次数、哪个最先消耗完、最多可做几次

个人库存:
- 芳香调理套装改为正确精油列表

商业认证:
- 简化为商户名+证明图片
- 通过后内容保持显示
- 用户管理页面根据用户实际认证状态显示(修复拒绝后又通过仍显示已拒绝)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 23:06:40 +00:00
3dd75f34c0 feat: 商业核算+个人库存+认证优化
All checks were successful
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 6s
PR Preview / deploy-preview (pull_request) Successful in 16s
Test / e2e-test (push) Successful in 49s
商业核算:
- 加标语和示意项目(芳香调理),所有人可体验
- 管理员开放(不需认证)
- 新增项目需认证,未认证提示

个人库存:
- 搜索直接添加(回车或点击)
- 4个套装快捷按钮(家庭医生/居家呵护3988/芳香调理/全精油)
- 精油库默认折叠
- 配方匹配排除椰子油,降低门槛(至少1种匹配)

商业认证:
- 简化为商户名+证明图片
- 通过后内容仍显示(和二维码页面一致)
- 审核中内容不可修改

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 22:47:33 +00:00
ee8ec23dc7 Refactor frontend to Vue 3 + Vite + Pinia + Cypress E2E
- Replace single-file 8441-line HTML with Vue 3 SPA
- Pinia stores: auth, oils, recipes, diary, ui
- Composables: useApi, useDialog, useSmartPaste, useOilTranslation
- 6 shared components: RecipeCard, RecipeDetailOverlay, TagPicker, etc.
- 9 page views: RecipeSearch, RecipeManager, Inventory, OilReference, etc.
- 14 Cypress E2E test specs (113 tests), all passing
- Multi-stage Dockerfile (Node build + Python runtime)
- Demo video generation scripts (TTS + subtitles + screen recording)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 18:35:00 +00:00