fix(client): 审计修复——device_limit 相对时间走 relativeTime 单源+裸 Icons 换 PangolinIcons+Payment onDone 三处接通+内联双语文案收进 AppText

This commit is contained in:
wangjia
2026-07-13 09:56:22 +08:00
parent e95995f20f
commit 3a8ff64921
13 changed files with 73 additions and 30 deletions
+11 -1
View File
@@ -252,7 +252,17 @@ class _OrderDetailView extends ConsumerWidget {
builder: (_) => PurchaseScreen(
t: t,
onOrderCreated: () => Navigator.of(context).push(
MaterialPageRoute(builder: (_) => PaymentScreen(t: t)),
MaterialPageRoute(
builder: (_) => PaymentScreen(
t: t,
onDone: () {
Navigator.of(context).pop();
// 支付页「完成/取消」回到订单详情:失效列表 + 本单详情,拉新状态。
ref.invalidate(ordersProvider);
ref.invalidate(orderDetailProvider(order.orderNo));
},
),
),
),
),
));