616fac0312
refactor(common,webview): remove redundant console logs and simplify api call
...
清理了两处页面和工具类中的调试日志,同时简化了uni.setNavigationBarTitle的调用代码,移除了不必要的success/fail回调,只保留核心调用逻辑
2026-07-15 16:24:35 +08:00
b10bf472e3
feat(webview): add webview title auto update and debug logs
...
1. add @titleUpdate event listener for web-view component
2. decode uri component for title and enableSetTitle params
3. refactor updateNavbarTitle to accept dynamic new title
4. add debug console logs for tracking title update flow
5. add success/fail callbacks for navigation bar title setting
2026-07-15 11:55:52 +08:00
6c3f90bf96
feat(webview): add dynamic navigation bar title setting function
...
新增webview页面根据传入参数动态设置导航栏标题的功能,支持通过enable_set_title参数控制是否强制替换默认标题,通过title参数传递自定义标题内容。
2026-07-15 10:38:31 +08:00
1b2a8f83c2
refactor: 优化webview页面和util.js中链接处理逻辑
...
将链接参数拼接逻辑移至util.js中处理,统一各端链接处理方式
2026-05-30 17:12:36 +08:00
f7b1552239
fix: 修复网页标题设置逻辑,统一参数传递格式
...
1. 将enable_set_title的布尔判断改为数字1/0的格式,统一前后端参数传递规则
2. 重构导航栏标题更新逻辑,抽离为公共方法并监听title和enableSetTitle变化
3. 新增onShow钩子触发标题更新,修复页面重新显示时标题不刷新的问题
4. 补充控制台日志用于调试跳转链接参数
2026-05-29 10:55:51 +08:00
9f40ebc09e
feat: add dynamic navigation bar title support for webview and form pages
...
1. add title and enableSetTitle data fields for webview and form pages
2. implement auto set navigation bar title when enabled
3. add URL normalize and query params append utilities
4. pass title and enable_set_title params across pages and external links
2026-05-29 09:56:05 +08:00
a6189a5f9e
fix(webview&form): 适配小程序webview跳转场景
...
1. 给h5和小程序端webview页面分别处理src参数,小程序端添加from=mp-webview参数
2. 新增isFromMpWebView标识,从跳转参数判断是否来自小程序webview
3. 非小程序webview场景下才设置页面导航栏标题
2026-05-28 16:07:38 +08:00
107b5dd71b
fix(webview): 修复url实体编码未解码的问题
...
1. 新增HTML实体解码工具函数decodeEntity
2. 在webview页面和跳转逻辑中调用该函数解码url参数
3. 统一格式化代码缩进风格
2026-05-25 14:06:17 +08:00
d9f0d1987e
feat(ns-login): 增加隐私条款及用户服务协议
2026-01-06 11:34:19 +08:00
405f37a3f6
chore(组件): privacyPopup 组件全部使用注册机制
2026-01-05 18:11:14 +08:00
60a0e5133e
revert: 所有代码与custom/common分支同
2026-01-05 15:56:49 +08:00
9415f397d2
chore(组件): 组件尽量使用异步导入模式
2026-01-04 14:40:00 +08:00
4da852944e
chore(代码合并): 代码从Custom/common分支合并
2026-01-04 09:40:09 +08:00
86831b8551
chore(组件): 全局组件改为按需引用
2025-12-26 14:29:38 +08:00
6632080b83
init
2025-10-27 15:55:29 +08:00