feat: enhance draw status and scheduling display
- Updated DrawStatusHud to include a new countdown kind "start" for better status representation. - Refactored HallDrawPanel to improve time display logic, differentiating between scheduled start and close times. - Added new translations for scheduled start and close times in multiple languages. - Enhanced time formatting functions to support new scheduling features and improve user experience.
This commit is contained in:
@@ -20,6 +20,10 @@ export type DrawCurrentRiskPoolAlert = {
|
||||
};
|
||||
|
||||
export type DrawCurrentPayload = {
|
||||
/** 期号计划时区,PRD 固定为 UTC(GMT) */
|
||||
schedule_timezone?: string;
|
||||
/** 服务端当前时刻(UTC 下的 YYYY-MM-DD HH:mm:ss) */
|
||||
schedule_now?: string;
|
||||
draw_no: string;
|
||||
business_date: string;
|
||||
sequence_no: number;
|
||||
@@ -28,6 +32,8 @@ export type DrawCurrentPayload = {
|
||||
close_time: string | null;
|
||||
draw_time: string | null;
|
||||
seconds_to_close: number;
|
||||
/** 距开始下注(pending 且 start_time 在未来) */
|
||||
seconds_to_start?: number;
|
||||
seconds_to_draw: number;
|
||||
cooling_end_time: string | null;
|
||||
seconds_remaining_in_cooldown: number | null;
|
||||
|
||||
Reference in New Issue
Block a user