feat: 增强 iframe 通信机制与通知处理功能

实现 resolvePostMessageTargetOrigin,优化 iframe 消息通信中的目标来源(origin)解析与校验。
更新 IframeBridge:支持定期刷新允许的来源列表,并优化消息事件管理机制。
重构 usePendingWalletReconcile:优化待对账通知的获取与缓存逻辑,提升性能与用户体验。
增强 NotificationsScreen:新增待对账通知内容,并优化界面展示效果。
更新英文、尼泊尔语与中文语言包,新增待对账通知相关翻译文案。
This commit is contained in:
2026-06-01 13:38:30 +08:00
parent aeaba5eea3
commit b819894e75
17 changed files with 362 additions and 72 deletions

View File

@@ -21,7 +21,7 @@
"option": "{{code}} · {{name}}"
},
"navigation": {
"notifications": "通知"
"notifications": "待对账提醒"
},
"errors": {
"general": "通用"

View File

@@ -27,11 +27,22 @@
"wallet": "钱包"
},
"notifications": {
"title": "通知",
"empty": "暂无通知",
"title": "待对账提醒",
"subtitle": "以下划转尚未最终确认,不代表已成功到账或扣款。若长时间未更新,请联系客服。",
"empty": "暂无待对账记录",
"pendingBadge": "待对账",
"amountLabel": "涉及金额:",
"pendingTitle": {
"transfer_in": "转入待对账",
"transfer_out": "转出待对账"
},
"pendingDescription": {
"transfer_in": "主站到账结果未确认,彩票钱包余额可能尚未增加。若主站已扣款,请联系客服处理。",
"transfer_out": "主站扣款结果未确认,彩票钱包余额可能尚未减少。请在流水中核对或联系客服。"
},
"unread": "未读",
"read": "已读",
"open": "打开",
"viewLogs": "查看流水",
"markRead": "标记已读",
"markAllRead": "全部已读",
"unreadCount_one": "未读 {{count}} 条",