feat: 优化大厅 Jackpot 参与提示与玩家页头布局

This commit is contained in:
2026-05-22 14:34:11 +08:00
parent 0cd85ae287
commit b61a2ab07b
7 changed files with 104 additions and 34 deletions

View File

@@ -21,6 +21,7 @@ type HallBetResultDialogProps = {
onOpenChange: (open: boolean) => void;
currencyCode: string;
data: TicketPlaceData | null;
jackpotEnabled?: boolean;
};
export function HallBetResultDialog({
@@ -28,6 +29,7 @@ export function HallBetResultDialog({
onOpenChange,
currencyCode,
data,
jackpotEnabled = false,
}: HallBetResultDialogProps) {
const { t } = useTranslation("player");
@@ -119,6 +121,13 @@ export function HallBetResultDialog({
</p>
</div>
{jackpotEnabled ? (
<div className="rounded-lg border border-[#d9ecff] bg-[#f4f9ff] px-3 py-3 text-sm leading-relaxed text-[#0b3f96]">
<p className="font-black">{t("hall.jackpotParticipation.title")}</p>
<p className="mt-1 text-xs">{t("hall.jackpotParticipation.resultDescription")}</p>
</div>
) : null}
<div className="space-y-2">
<p className="text-sm font-black text-[#e5002c]">
{t("hall.result.items")}