feat: 优化下注结果展示与大厅表单交互,适配新端口配置

This commit is contained in:
2026-05-18 11:28:41 +08:00
parent 5f5ce6c29d
commit 418b446c09
16 changed files with 170 additions and 56 deletions

View File

@@ -271,7 +271,7 @@ export function DrawResultDetailScreen({ drawNo }: DrawResultDetailScreenProps)
{t("results.hitHint")}
</p>
<Link
href={`/orders?draw_no=${encodeURIComponent(data.draw_no)}`}
href={`/orders?draw_no=${encodeURIComponent(data.draw_no)}&status=settled_win`}
className={cn(
buttonVariants({ variant: "default", size: "sm" }),
"mt-3 h-10 w-full rounded-xl bg-[#e5002c] text-white hover:bg-[#d10028] sm:w-auto",

View File

@@ -268,7 +268,7 @@ export function DrawResultsListScreen() {
<div className="pt-4">
<TwentyThreeResultsGrid numbers={featured.results} />
<Link
href={`/orders?draw_no=${encodeURIComponent(featured.draw_no)}`}
href={`/orders?draw_no=${encodeURIComponent(featured.draw_no)}&status=settled_win`}
className="mt-4 inline-flex h-10 w-full items-center justify-center rounded-xl bg-[#e5002c] px-4 text-sm font-bold text-white transition-colors hover:bg-[#d10028]"
>
{t("results.viewMyWinning")}