|
|
96571fee73
|
fix: 修复 community.vue 多余花括号
|
2026-07-30 19:21:54 +08:00 |
|
|
|
5d1e3d5285
|
chore: 移除 discoverIndex 全部引用(tabBar + 跳转链接)
|
2026-07-30 19:15:21 +08:00 |
|
|
|
14d2d1e4e2
|
fix: 删除自定义字体改用系统字体,减少主包体积
|
2026-07-30 13:18:51 +08:00 |
|
|
|
ed3e5f22ec
|
fix: 太阳码 scene 解析支持 &ch=渠道参数,identifier 用 split('&')[0] 分割
|
2026-07-30 12:39:44 +08:00 |
|
|
|
ec6a5dd956
|
fix: 首页和我的应用排序按 seq 排列
|
2026-07-29 20:27:36 +08:00 |
|
|
|
8c9613044c
|
cleanup(web_view): 隐藏调试浮层,清除 DEBUG 日志
|
2026-07-09 13:45:15 +08:00 |
|
|
|
865f68e415
|
fix(web_view): scene 值先 decodeURIComponent 再匹配
微信 wxacode.getUnlimited 返回的 scene 值中 = 被编码为 %3D
导致 scene="app%3Dpregnancy" 无法匹配 indexOf('app=')
修复:先 decodeURIComponent(option.scene) 再检查
|
2026-07-08 21:14:33 +08:00 |
|
|
|
026938b59e
|
Revert "chore(user): 个人中心底部添加版本号 v26070801"
This reverts commit 52d5d53e52.
|
2026-07-08 19:24:16 +08:00 |
|
|
|
52d5d53e52
|
chore(user): 个人中心底部添加版本号 v26070801
|
2026-07-08 19:23:27 +08:00 |
|
|
|
9e32fa920f
|
Revert "chore(user): 个人中心底部添加版本号 v26070801"
This reverts commit 48de85260f.
|
2026-07-08 19:20:43 +08:00 |
|
|
|
48de85260f
|
chore(user): 个人中心底部添加版本号 v26070801
|
2026-07-08 19:20:01 +08:00 |
|
|
|
e2ec214ae1
|
cleanup: 移除测试按钮和调试日志,准备发布
|
2026-07-08 18:53:14 +08:00 |
|
|
|
4dc3c68808
|
test(web_view): 添加 ?app=identifier 参数跳过 scene 直接解析
|
2026-07-08 18:48:47 +08:00 |
|
|
|
985538d957
|
test(web_view): 添加 ?app=identifier 参数模式
测试用:navigateTo 传 ?app=pregnancy 直接触发 _resolveAppScene
跳过 scene 参数被微信拦截的问题,验证整个 app 解析链路:
_resolveAppScene("pregnancy", option)
→ 调 box_app /api/mp/apps
→ 匹配 identifier=pregnancy
→ 拿到 App.url
→ 加载 H5
+ 测试按钮改为 ?app=pregnancy
|
2026-07-08 18:47:45 +08:00 |
|
|
|
61caf4eb50
|
test(web_view): 测试按钮直接传 H5 URL 并加调试日志
不再依赖 scene/wxscene 参数传递(参数名可能被微信拦截)
改为直接传 ?url=encoded_h5_url
同时 web_view onLoad 打印所有 option 参数供排错
|
2026-07-08 18:40:18 +08:00 |
|
|
|
0e9ce6f7d6
|
fix(web_view): 改用 wxscene 避免 scene 被微信拦截
微信小程序的 navigateTo 会把 `scene` 参数名当作保留字段
(只由扫码填充),导致 `option.scene` 为空。
改用 wxscene,同时在 web_view onLoad 中兼容检查两者。
|
2026-07-08 18:29:08 +08:00 |
|
|
|
fa74238186
|
fix(user): 将 goWxacodeTest 移至 methods 块内
修复 "Page does not have a method 'goWxacodeTest'" 错误
原因是 goWxacodeTest 之前被放在了 export default 顶层,
不在 methods: {} 块内,Vue 2 不识别
|
2026-07-08 18:25:39 +08:00 |
|
|
|
92069bf5df
|
fix(user): 恢复 user-my-apps 组件引用
修复如下问题:
1. 重新添加 <user-my-apps> 模板标签(之前被 git checkout 丢弃)
2. 添加 import userMyApps
3. 在 components 注册 userMyApps
|
2026-07-08 18:22:49 +08:00 |
|
|
|
e0a44cf6e3
|
fix(user): 测试按钮增加底部外间距,避免被导航 tab 遮挡
dev-test-section padding-bottom 从 30rpx 增至 120rpx
确保按钮在 tab 上方完整可见
|
2026-07-08 18:14:35 +08:00 |
|
|
|
5079289a84
|
feat(user): 个人中心底部添加太阳码扫码测试按钮
新增测试按钮用于模拟太阳码扫码跳转流程:
scene=app=pregnancy 触发 _resolveAppScene
→ 调 box_app /api/mp/apps 查 H5 URL
→ 加载孕育无忧 web-view
改动:
- pages/user/index.vue 模板: 底部添加测试按钮(根 view 内)
- pages/user/index.vue script: goWxacodeTest 方法
- pages/user/index.vue style: 按钮样式(紫色虚线边框)
HBuilderX 需重新编译后可用
|
2026-07-08 17:58:16 +08:00 |
|
|
|
f18a21ea73
|
refactor(web_view): 把 _resolveAppScene 和 _initWebView 移到 methods 块内
HBuilderX 编译错误"Unexpected token (350:0)"
根因:Vue 2 Options API 要求所有方法在 methods: { ... } 块内
之前把这两个方法放在 export default 顶层,违反规范
修复:把 _resolveAppScene 和 _initWebView 移到 methods 块开头
Node.js --check 验证:语法通过
|
2026-07-08 17:45:58 +08:00 |
|
|
|
ccd6380c4b
|
fix(web_view): 补回 export default 关闭括号
build error: Unexpected token (350:0)
原因:之前修复时连续删多了,export default {...} 块本身没有关闭
修复:第 350 行 </script> 之前插入 `\t}` 关闭 export default
Node.js --check 验证:语法通过
|
2026-07-08 17:37:35 +08:00 |
|
|
|
6e3e2bb3ea
|
fix(web_view): 补回 handleMessage 方法关闭逗号
build error: Unexpected token, expected "," (350:0)
原因:之前修复时手抖,handleMessage 方法 `}` 后缺 `,`
导致 export default 最后一个属性末尾不合法
修复:第 348 行 `}` → `},`
Node.js --check 验证:语法通过
|
2026-07-08 17:31:52 +08:00 |
|
|
|
2e97550a5c
|
fix(web_view): 补回 _resolveAppScene 方法关闭括号
build error: Missing semicolon (163:22)
原因:之前修复时误删了 _resolveAppScene 方法的关闭 `},`
导致 _initWebView 紧接 uni.request 的 `});`,缺少 _resolveAppScene 关闭
修复:在 uni.request 关闭后插入 `\t\t},`
Node.js --check 验证:语法通过
|
2026-07-08 17:28:28 +08:00 |
|
|
|
e137841ec1
|
fix(web_view): 修正 export default 结构
build error: Unexpected token, expected "," (352:0)
原因:
1. 在 onLoad 内部错误地多写了 `methods: {` 块
2. 末尾有一个多余的 `}`
修复:
- 删除错位的 `methods: {` 块
- _resolveAppScene 和 _initWebView 现在作为 export default
顶层方法(Vue 2 Options API 支持)
- 删除末尾多余的 `}`
- 转换回 CRLF 行尾(HBuilderX 期望)
CRMEB 应能正常 HBuilderX 编译。
|
2026-07-08 17:10:56 +08:00 |
|
|
|
c184108f45
|
feat(web_view): 太阳码 scene 解析支持 app=identifier
box_app /api/wxacode 新增 app=identifier 模式,scene 编码
"app=<identifier>"。CRMEB 收到后解析 scene,调 box_app
/api/mp/apps 找对应 H5 url,加载应用。
场景示例:
太阳码 path=pages/annex/web_view/index
太阳码 scene="app=pregnancy"
→ CRMEB 调 box_app /api/mp/apps
→ 遍历 items 找 identifier=pregnancy 的 App
→ 拿到 App.url
→ 注入到 web-view src
→ 加载孕育无忧 H5
兼容性:
- 原 ?url=xxx 模式完全保留
- scene 解析失败/响应异常时降级到 CRMEB 首页
- 不影响原有分享/复制链接功能
实现细节:
- 遍历 items 找 identifier(不依赖 items[0] 排序假设)
- 找不到时回退 items[0](保底)
- 未来 box_app 支持 ?identifier= 直接过滤时,CRMEB 端无需改动
|
2026-07-08 16:41:58 +08:00 |
|
|
|
69da6597d9
|
fix(web_view): 修复 H5 分享消息投递,废弃无效 uni.share()
- handleMessage share 分支:存储 H5 传来的分享数据,Toast 引导用户点击右上角原生分享
- onShareAppMessage / onShareTimeline:使用 H5 传来的 title/imageUrl/href
- 新增 shareSummary/shareImageUrl/shareHref data 属性
|
2026-07-02 19:54:53 +08:00 |
|
|
|
797724c01d
|
feat(页面组件): 新增图片组件和页面顶部导航组件
- 新增 images.vue 图片组件,支持图片展示、链接跳转和二维码长按识别
- 新增 pageTopbar.vue 页面顶部导航组件,支持自定义标题、返回按钮和样式配置
- 在首页和专题页中注册并使用新增组件
- 优化 homeComb.vue 组件,添加选项卡轮播显示控制逻辑
- 添加 DIY 组件调试日志功能,便于开发调试
- 修复缓存读取空值时的默认值处理
|
2026-04-16 19:51:08 +08:00 |
|
|
|
a5c5d753b6
|
feat: 添加静态资源文件及基础组件
- 新增大量图片资源,包括图标、背景图、海报等,用于页面展示
- 添加字体文件及样式配置,支持自定义字体
- 引入 uni-ui 组件库,包括图标、弹窗、日期选择器等常用组件
- 添加网络状态监听、加密工具等基础工具函数
- 配置 Vuex 状态管理,包括购物车数量、热门搜索词等
- 增加页面组件,如用户协议、分销信息、提现状态等
- 配置项目构建和忽略文件,优化开发体验
|
2026-02-26 17:59:51 +08:00 |
|