陈世睿
25c9f6aaaf
Merge branch 'feat/h5-sgbridge' of https://gitea.shaguabijia.com/WonderableAI/shaguabijia-app-server into feat/h5-sgbridge
2026-07-02 20:28:20 +08:00
guke
0db5a798cd
fix(dl): 落地页底图+logo 纳入 git → 修生产 /media 404 毛坯 ( #97 ) ( #106 )
...
Co-authored-by: guke <guke@autohome.com.cn >
Co-authored-by: zhuzihao <zhuzihao@wonderable.ai >
Co-authored-by: wuqi <wuqi@wonderable.ai >
Co-authored-by: chenshuobo <chenshuobo@wonderable.ai >
Co-authored-by: liujiahui <liujiahui@wonderable.ai >
Reviewed-on: #106
2026-07-02 17:44:56 +08:00
陈世睿
ea0c563680
福利模块 H5:赚钱中心壳(资产卡/签到/任务行+welfareTask桥接契约)+ 收益明细 + 活动规则,素材取自原型
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-02 15:02:49 +08:00
陈世睿
3057955ea4
修复 H5 顶栏莫名下移22px:清除 head 里字体注入残留的 \x01 控制字符(5页),并统一去掉 min-height:100vh
...
:
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-02 15:02:25 +08:00
陈世睿
43f6f16a61
Merge branch 'main' of https://gitea.shaguabijia.com/WonderableAI/shaguabijia-app-server into feat/h5-sgbridge
2026-07-01 10:26:07 +08:00
陈世睿
667cbdf8ad
Merge remote-tracking branch 'origin/feat/h5-sgbridge' into feat/h5-sgbridge
2026-06-30 20:05:47 +08:00
陈世睿
7ac3ca8fd6
新增设置页与相关协议 H5(头像底部 sheet+裁剪、昵称/退出/注销弹窗、页面不滚动、手势条避让)
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-30 20:02:49 +08:00
陈世睿
b81ba70235
新增意见反馈、反馈历史 H5 页(去框 + 接 /api/v1/feedback,真机对齐)
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-30 20:02:49 +08:00
陈世睿
85523a99d2
全 H5 页中文字体改用阿里普惠体真字模,移除 text-shadow 伪粗体兜底
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-30 20:02:48 +08:00
陈世睿
a076bc9a2c
Merge branch 'main' of https://gitea.shaguabijia.com/WonderableAI/shaguabijia-app-server into feat/h5-sgbridge
2026-06-30 15:07:46 +08:00
guke
8e3b282c79
feat(h5): 首页 H5 壳从定稿原型抽取(#home 满屏,静态 mock,零桥) ( #96 )
...
首页webview改造合并
---------
Co-authored-by: guke <guke@autohome.com.cn >
Reviewed-on: #96
2026-06-30 11:57:47 +08:00
陈世睿
4d730169bf
真机验收修复:我的页去框沉浸式 + 三页字体加粗 + 卡片细节
...
我的页(h5/mine)整页去框满屏 + 顶部状态栏沉浸式(云朵铺到状态栏下/隐藏假状态栏/内容 safe-area/头像对齐原型);三页统一注入 faux-bold(安卓 WebView 中文回退字体不合成粗体兜底);上报最低价选记录态列表间距去框对齐(top 198→154);上报记录卡平台改主名+主logo(美团/京东/淘宝)+ 菜品名 2 行截断
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-30 09:52:07 +08:00
陈世睿
cdfe66dcee
接入上报记录列表 H5(第三个 session 的孤儿页,补提交整合)
...
h5/reports/index.html(审核中/已通过/未通过三态+计数,真接 /api/v1/report/records)+ logos;android REPORT_RECORDS 路由稍后接 H5
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-29 17:13:21 +08:00
陈世睿
8d08986c00
合并:上报最低价 H5
2026-06-29 17:12:53 +08:00
陈世睿
be77ffa721
我的页迁远程 H5
...
h5/mine/index.html改用SGBridge.getAuthState/navigate(同源相对API);拷入页面静态资源h5/mine/assets/
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-29 17:12:08 +08:00
陈世睿
0bed761c00
上报最低价流程对齐原型/原生 + 接桥
...
toast改感谢您的反馈/D校验文案/提交失败解析后端detail/模拟键盘补小数点后2位上限/取消改closePage真返回/上报记录入口接SGBridge.navigate(reportRecords)/头部未读红点默认隐藏
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-29 17:12:00 +08:00
guke
109aebaa16
chore(scripts): records 页比价记录 mock 数据脚本(真机验收用,幂等)
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-29 14:33:35 +08:00
guke
84ae950ea7
feat(h5): records 页迁入 server 改用 SGBridge(同源相对 API,保留 multipart 上传)
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-29 13:14:18 +08:00
guke
122766c911
feat(h5): SGBridge 新增 closePage(返回上一页)
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-29 13:05:33 +08:00
guke
cee4f3e0a7
fix(h5): no-cache 按响应 content-type 判定,覆盖目录式 URL(/h5/x/)
...
html=True 时 /h5/x/ 经 Starlette 回落 index.html,但 path 仍为 x/ 不带 .html,旧判定漏设 no-cache。改用响应 content-type=text/html 判定,并加目录式 URL 回归测试。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-29 13:03:36 +08:00
guke
4fb8f6447c
feat(h5): FastAPI StaticFiles 同源托管 /h5(.html no-cache)
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-29 12:51:42 +08:00
guke
46c650ecb8
docs(h5): 新增 H5/WebView 改造方案(方案1 SGBridge,服务端托管)
...
由 app-server 同源托管业务 H5(StaticFiles 挂 /h5);records/reports 从安卓迁入改用 SGBridge/SGApi;bridge.js 补 closePage;后端业务接口零改动;含远程开关、缓存热更、M1-M4 里程碑。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-29 12:14:15 +08:00