feat: 增强投注结果弹窗与投注网格功能

更新 HallBetResultDialog:根据成功与失败数量显示不同的结果图标与标题。
优化 HallBettingGrid:新增 place trace ID 管理机制,更好地处理投注提交流程,并防止重复扣费。
增强注单详情页面:针对临时状态中的注单自动刷新,提升用户体验。
新增多语言翻译:补充投注结果与状态相关文案,支持更完善的用户反馈。
This commit is contained in:
2026-05-26 14:50:21 +08:00
parent d768a3f6ba
commit 51b2a36cc5
11 changed files with 257 additions and 90 deletions

View File

@@ -120,6 +120,7 @@
"placeFailed": "Submission failed",
"placeSuccess": "Bet submitted. Order {{orderNo}}, deducted {{amount}}.",
"placePartialFailed": "{{success}} succeeded, {{failed}} failed",
"placeAllFailed": "All {{failed}} lines failed",
"playConfig": {
"playClosedDraftCleared": "{{playCode}} is closed. Related draft amounts have been cleared.",
"playClosed": "{{playCode}} is closed.",
@@ -244,7 +245,9 @@
"warningsDescription": "The following numbers have high payout pool usage for this issue. Betting is still allowed, but the order may be rejected as sold out if capacity is insufficient."
},
"result": {
"title": "Bet result",
"title": "Bet placed",
"titlePartial": "Partially placed",
"titleAllFailed": "Bet not placed",
"draw": "Issue",
"empty": "No result yet.",
"successCount": "Successful lines",
@@ -401,6 +404,7 @@
"betNow": "Bet Now",
"empty": "No bet records yet.",
"dateRange": "Date range",
"dateRangeHint": "Filters by order time in schedule day (UTC)",
"status": "Status",
"statusFilter": "Status filter",
"noMore": "No more tickets",
@@ -575,11 +579,16 @@
},
"ticketStatus": {
"success": "Awaiting draw",
"placed": "Awaiting draw",
"pending_confirm": "Confirming",
"partial_pending_confirm": "Partially confirming",
"pending_draw": "Awaiting draw",
"partial_failed": "Partially failed",
"pending_payout": "Won, pending payout",
"settled_win": "Paid",
"settled_lose": "Not won",
"failed": "Failed",
"refunded": "Refunded",
"unknown": "{{status}}"
},
"prizeTier": {

View File

@@ -120,6 +120,7 @@
"placeFailed": "पेश गर्न असफल",
"placeSuccess": "बेट पेश भयो। अर्डर {{orderNo}}, कट्टा {{amount}}।",
"placePartialFailed": "{{success}} सफल, {{failed}} असफल",
"placeAllFailed": "सबै {{failed}} लाइन असफल",
"playConfig": {
"playClosedDraftCleared": "{{playCode}} बन्द छ। सम्बन्धित ड्राफ्ट रकम हटाइएको छ।",
"playClosed": "{{playCode}} बन्द छ।",
@@ -244,7 +245,9 @@
"warningsDescription": "यी नम्बरहरूमा यस इश्यूमा भुक्तानी पूल प्रयोग उच्च छ। बेट अझै गर्न सकिन्छ, तर क्षमता अपुग भए अर्डर sold out हुन सक्छ।"
},
"result": {
"title": "बेट नतिजा",
"title": "बेट सफल",
"titlePartial": "आंशिक सफल",
"titleAllFailed": "बेट असफल",
"draw": "इश्यू",
"empty": "नतिजा छैन।",
"successCount": "सफल लाइनहरू",
@@ -401,6 +404,7 @@
"betNow": "अहिले बेट",
"empty": "अहिलेसम्म बेट रेकर्ड छैन।",
"dateRange": "मिति दायरा",
"dateRangeHint": "अर्डर समयलाई तालिका दिन (UTC) अनुसार फिल्टर गर्छ",
"status": "स्थिति",
"statusFilter": "स्थिति फिल्टर",
"noMore": "थप टिकट छैन",
@@ -575,11 +579,16 @@
},
"ticketStatus": {
"success": "ड्र पर्खँदै",
"placed": "ड्र पर्खँदै",
"pending_confirm": "पुष्टि हुँदै",
"partial_pending_confirm": "आंशिक पुष्टि",
"pending_draw": "ड्र पर्खँदै",
"partial_failed": "आंशिक असफल",
"pending_payout": "जितेको, भुक्तानी बाँकी",
"settled_win": "भुक्तानी भयो",
"settled_lose": "जितेन",
"failed": "असफल",
"refunded": "फिर्ता",
"unknown": "{{status}}"
},
"prizeTier": {

View File

@@ -243,8 +243,11 @@
"warningsTitle": "赔付池预警",
"warningsDescription": "以下号码本期赔付池占用较高,仍允许下注;若实际占用不足将售罄拒单。"
},
"placeAllFailed": "本次 {{failed}} 条注项均未成功",
"result": {
"title": "下注结果",
"title": "下注成功",
"titlePartial": "部分注项成功",
"titleAllFailed": "下注未成功",
"draw": "期号",
"empty": "暂无结果。",
"successCount": "成功注项",
@@ -401,6 +404,7 @@
"betNow": "立即下注",
"empty": "暂无下注记录。",
"dateRange": "日期范围",
"dateRangeHint": "按彩票排期日UTC筛选下单时间",
"status": "状态",
"statusFilter": "状态筛选",
"noMore": "没有更多注单",
@@ -575,11 +579,16 @@
},
"ticketStatus": {
"success": "待开奖",
"placed": "待开奖",
"pending_confirm": "确认中",
"partial_pending_confirm": "部分确认中",
"pending_draw": "待开奖",
"partial_failed": "部分失败",
"pending_payout": "已中奖待派彩",
"settled_win": "已派彩",
"settled_lose": "未中奖",
"failed": "失败",
"refunded": "已退款",
"unknown": "{{status}}"
},
"prizeTier": {