xsl
873b45d3a5
fix: preserve legacy admin URLs across H5 channels
...
Keep local record and download paths compatible while retaining explicit external source selection. Record Taobao, H5, WeChat and rednote compatibility verification and baseline test failures.
2026-11-04 15:17:56 +08:00
xsl
774376fa16
feat: 完善淘宝小程序拍照、报告与登录流程
...
接入本地实时识别和自动三连拍,调整报告裁切、商品跳转、分享标题及居中页眉;完善游客会话、后台渠道隔离、部署脚本与回归测试。
2026-11-04 15:07:51 +08:00
xsl
4af825a5e4
feat(rednote): add isolated persistent browser H5 entry
2026-10-19 22:59:10 +08:00
xsl
9eec4369da
feat(taobao): add native mini program with shared backend
...
Preserve H5 flows while adding Taobao identity, native capture, reports and isolated local development. Fix canceled province selection and expired-session logout. Record passing local regressions, two pre-existing H5 assertion failures and pending platform validation.
2026-10-19 20:14:31 +08:00
xsl
bb6da17f54
fix(recommendation): use displayed skin age across reports and admin
2026-10-16 19:03:25 +08:00
xsl
9181069643
perf(report): load side wrinkle layers after report entry
2026-10-16 16:34:11 +08:00
xsl
9ff7a582af
feat(admin): track capture-to-report conversion funnel
2026-10-16 15:45:13 +08:00
xsl
5632ac43d7
fix(report): cap dimension scores and match zoom crops to thumbnails
2026-10-15 20:17:07 +08:00
xsl
757b96dfad
feat(report): add annotated wrinkle views and restore capture countdown
2026-10-15 19:45:21 +08:00
xsl
2d80f6dfd0
feat(report): unify display grades and add contour side photos
2026-10-15 17:14:05 +08:00
xsl
60f0965c5a
feat(scoring): use independent tone hydration minima and focus-first care
2026-10-15 14:40:59 +08:00
xsl
60ae6c97ef
feat(h5): update skin scoring, age display and capture countdown
2026-10-15 00:20:48 +08:00
xsl
d8c67762da
feat(h5): calculate integer total from weighted dimensions across reports and admin
2026-10-14 14:25:17 +08:00
xsl
e71368db6d
fix(h5): show raw skin age, support Harmony touch pickers and add WeChat logout
2026-10-13 16:12:54 +08:00
xsl
1fdbb575b0
feat(h5): allow guest access without login and retain history only for WeChat
2026-10-13 15:23:23 +08:00
xsl
92a3965b7d
feat(h5): apply fourth feedback and tighten local capture validation
2026-10-12 20:16:41 +08:00
xsl
d2931a41e4
feat(auth): clarify login identity and speed up mobile entry
2026-10-12 11:01:49 +08:00
xsl
0ec5e5dc32
fix(report): recommend by measured skin age and align admin results
2026-10-12 00:23:57 +08:00
xsl
ce8d0ff1f7
feat(h5): align October UI and add WeChat auth with saved reports
2026-10-11 17:28:11 +08:00
Ubuntu
f7902b86c8
save
2026-10-09 22:29:02 +08:00
Ubuntu
c06d15a2d4
chore+perf: 密钥出库 + 后台详情接口裁剪 face_maps
...
安全:
- reference/facepp-skinanalyze/credentials.env 内含 Face++ 正式 key/secret
且被 git 跟踪,移出 index(文件保留本地,.gitignore 已覆盖 *.env)。
⚠️ 密钥已存在于 git 历史,若 origin 曾被 push 即视为泄漏,
请在旷视控制台重置 API secret,改用环境变量/apikey.bash 注入。
性能(后台详情页卡顿):
- 详情接口将 raw_json.result.face_maps 的 base64 图层(单条约 3MB)
替换为占位说明,响应 3.2MB→163KB;新增
GET /api/admin/records/:id/raw 供下载完整原始 JSON(走 Basic Auth)
- admin 列表/详情图片加 loading=lazy + decoding=async
2026-09-28 22:46:08 +08:00
Ubuntu
3de730a127
save
2026-09-28 15:27:31 +08:00
Ubuntu
0e00f3e938
feat: 真机反馈第9轮(浮层层级/侧脸镜像自校准/提示样式/Tab设计宽/去历史/档案顶栏/静态禁缓存)
...
1. 城市下拉浮层 z-index 999(实测本不重叠,仅 1px 相邻;用户端旧样式系缓存所致——server.js 静态 html/css/js 改为 no-cache,此后改动即时到端)
3. 侧脸步「浮层」改设计语言:去气泡底,纯白/纯绿文字+投影,置于引导 chips 上方;侧脸拍摄不通的根因(本机镜像策略差异)加「镜像自校准」:语义 yaw 连续 5 帧强反向即自动翻转镜像约定,姿态引导方向随设备自适应
4. 语音引导的侧脸照片方向与镜像约定联动(camMirrored 统一管预览/抓拍/姿态),自校准后语音方向与实际出片一致
5. 痘痘图标记:坐标随 Face++ 返回原样叠加;未检出时纯照片+话术「未检出痤疮与皮损」(详见回复)
6. Tab 条对齐设计稿:文字 11px/选中 700,黄色指示条恢复设计实测宽度 78px
7. 关注行:维度名加粗 700,两行收紧
8. 报告页「历史」入口移除(存储逻辑保留)
9. 档案页顶部白条移除,返回键改悬浮白圆
HeadPose.check 增加 yaw 返回供自校准;e2e 适配历史入口变更,全量绿
2026-09-27 11:55:20 +08:00
Ubuntu
6c634e3a66
feat: 真机反馈 11 项(下拉层级/侧脸蒙版/报告改版/护理建议 V2.3/水分图)
...
1. 城市下拉浮层 z-index 提至 50,不再被肤质轮播圆点压盖
2. 倒计时音频已更新(用户重生成,解码验证 2.62s)
3. 侧脸步蒙版鼻向修正:2/3 右脸鼻朝右、3/3 左脸鼻朝左(原与设计稿 06/07 相反)
4. 无进展提示上移至 bottom:24%(引导 chips 上方,不再压快门)
5. 相册选择器「拍照」项为 iOS/安卓系统行为,web 无法移除(详见回复)
6. 报告页顶栏移除,返回/历史改悬浮
7. 肌龄小字按产品要求不再展示(钳制留痕仍随数据返回)
8. 关注行对齐设计稿:前缀灰 + 维度名深色 500
9. 三维度排版对齐设计稿:去掉档位徽章,最低分标红
10. 肤色水润图改用 water_area(接口水分图),REPORT_MAPS 与 mock fixture 同步更新
11. 报告「综合分析」「生活方式建议」通栏移除,新增「护理建议」卡(V2.3 §8:肤质定制/最差2分类/精华/生活方式 五段,§8.5.1 无内部标注;skin-score 实现 8.6/8.7 全量文案库,回归新增 §8.8 两组样例逐字断言 86/86 绿)
e2e 全量绿(含真实 API:水分图/红区合成图挂载、护理建议五段)
2026-09-27 11:15:54 +08:00
Ubuntu
7d72d7dd5a
save
2026-09-26 23:55:11 +08:00
Ubuntu
ba3b346fce
feat: 报告页 V2.2 检测可视化 + 评分引擎审计 + 真值回归/e2e 闭环
...
- server.js: face_maps 改为白名单 5 图层完整 dataURL 透传(REPORT_MAPS,按魔数判 mime),marks 坐标随 result 原样透传;实测 return_marks 不支持毛孔/黑头等扩展标记
- skin-score.js: 按需求文档 V2.2 逐字审计修正 9 处(黑眼圈 dark_circle_severity、oil_desc/spot_flag §7.2 拼接、skintone 中文映射、轮廓预警档前缀、痘痘 heavy_note、50+精华全文、综合文案数值格式),契约引用 V2.0→V2.2
- app.js/index.html/css: 报告页 6 分类检测可视化(轮廓=正脸实拍、皱纹=正脸压暗+皱纹增强线、光滑=正脸+色斑/痣/痤疮标记、肤色=色沉图、敏感=红区图、痘痘=正脸+闭口/痤疮标记),数据驱动 VIZ_CAT 配置,优雅降级
- h5/test/: Excel 两组三视图真值回归 84/84(含案例2 AY 列扁平化数据重建 fixture)
- h5/assets/mock/: 真实案例1 报告页 fixture(坐标与照片同比例缩放),?mock=1&screen=report 直渲
- e2e: Chrome 无头闭环 55/55(mock 全流程/直渲/真实 API 降级链路),截图存档 preview/e2e-20260926
- 自测: skin-score 83/83,fixture 冒烟 35/35
2026-09-26 22:35:02 +08:00
xsl
71a090fd75
跟新需求文档
2026-09-26 19:50:39 +08:00
xsl
5957ef04fc
feat: 接入 Face++ 真实测肤 + 三轮多角色迭代修复
...
Face++ 集成(高阶版 skinanalyze_advanced):
- h5/server.js:零依赖 Node 后端,静态托管 + /api/skin-analyze 中转,
api_secret 只存服务端(从 apikey.bash/env 读取,.gitignore 已排除)
- 实时相机:getUserMedia 自拍取景,不可用时降级系统相机;
相机令牌防授权回调泄漏摄像头;离开拍照页即释放
- 检测流:三连拍仅送检正面照(压至 1280px JPEG),错误码→友好提示
- 结果映射:肌肤年龄=skin_age 真实值;紧塑力/活力感/稳定力由真实
维度合成;具体描述按检出项动态生成;检测图用用户实拍
- ?mock=1 内置样本供离线/自动化验证;README 补充部署与 HTTPS 说明
三轮迭代修复(QA+美术并行审计→开发统一修复,共 ~28 项):
- 功能:P1 鼠标拖拽轮播(Pointer Events+setPointerCapture)、
快门/返回竞态(camSeq 令牌)、报告页状态重置、弹窗 ESC/遮罩关闭
- 视觉:还原度 80%→94%,档案页布局/弹窗比例/报告页产品卡等
结构性偏差修正,字号/间距逐项实测核销
- 工程化:首屏 701KB→386KB(懒加载+preload+清理 212KB 无用资源)、
favicon/SEO meta/隐私协议占位层/README
Review 修复:server.js 路径穿越前缀绕过(ROOT+sep 校验)、
getUserMedia 迟到回调释放相机(camSeqCam 令牌)
2026-09-22 21:06:33 +08:00