feat: 优化大厅 Jackpot 参与提示与玩家页头布局
This commit is contained in:
@@ -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")}
|
||||
|
||||
Reference in New Issue
Block a user