-
+
+
+ {t("hall.preview.warningsTitle")}
+
+
{t("hall.preview.warningsDescription")}
-
+
{warnings.map((w, i) => (
-
- {w.number_4d} — {w.message}
+ {w.number_4d} · {w.message}
))}
@@ -52,6 +57,38 @@ function WarningsBlock({ warnings }: { warnings: TicketPreviewWarning[] }) {
);
}
+function SubmittingPanel() {
+ const { t } = useTranslation("player");
+
+ return (
+
+
+
+ N
+
+
+
+
+ {t("hall.preview.processingTitle", { defaultValue: "正在提交下注" })}
+
+
+ {t("hall.preview.processingDescription", { defaultValue: "请勿关闭页面或返回上一页。" })}
+
+
+
+
+ {t("hall.preview.processingProgress", { defaultValue: "正在处理注单..." })}
+
+
+
+ );
+}
+
/**
* 预览弹窗 + 提交确认(产品文档 §10.1.2:预览不下单,确认后 place)。
*/
@@ -68,15 +105,40 @@ export function HallBetPreviewDialog({
const summary = data?.summary;
const lines = data?.lines ?? [];
+ if (placing) {
+ return (
+
+ );
+ }
+
return (