fix(pay): 待支付浮窗无刷新同步

- modal-cache 失效时广播 aksrt:cache:invalidated
- 新增 GET /orders/wait-pay-float 返回浮窗片段
- wait-pay-float.js 监听 orders 标签失效并替换/移除浮窗、重启倒计时
- VIP/充值/下载待支付分支触发 orders 失效

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
kate522andClaude Fable 5 committed 2026-10-29 11:11:13 +08:00
1 parent d9d1122e9c
commit c3328e7279
8 files changed
+83 -1

No files matched your search

+1
View File
@@ -375,6 +375,7 @@
return response;
}
if (data.redirect && (data.payment_url || data.qr_content)) {
invalidate(["orders"]);
callback(options, "onPending", data);
if (!data.order_number) {
var missing = { ok: false, status: 500, json: { message: "订单号缺失" } };