feat(player): 优化桌面投注布局与账号功能

This commit is contained in:
wchino
2026-07-21 21:11:07 +08:00
parent 406ebb7671
commit 8307cc3f88
25 changed files with 1514 additions and 195 deletions

View File

@@ -189,7 +189,7 @@ export function WalletLogsBlock({
</p>
<div className={logsLoading ? "opacity-60" : undefined}>
{logs.items.length === 0 ? (
<div className="rounded-lg border border-dashed py-8 text-center text-sm text-muted-foreground lg:py-12">
<div className="player-pc-empty flex items-center justify-center rounded-lg border border-dashed py-8 text-center text-sm text-muted-foreground lg:py-12">
{t(creditMode ? "wallet.emptyCreditLogs" : "wallet.emptyLogs", {
defaultValue: creditMode ? "暂无信用流水" : "暂无流水",
})}
@@ -198,24 +198,24 @@ export function WalletLogsBlock({
<>
<div className="lg:overflow-hidden lg:rounded-xl lg:border lg:border-[#e5edf8] lg:bg-white lg:shadow-[0_8px_24px_rgba(15,23,42,0.05)]">
<div className="hidden lg:grid lg:grid-cols-[minmax(10rem,1.2fr)_minmax(9rem,1fr)_minmax(8rem,0.9fr)_minmax(7rem,0.8fr)_minmax(7rem,0.8fr)_minmax(6rem,0.7fr)] lg:items-center lg:gap-3 lg:border-b lg:border-[#e9eff8] lg:bg-[#f8fbff] lg:px-5 lg:py-3">
<p className="text-xs font-bold text-[#59739f]">
<p className="player-pc-table-head font-bold text-[#59739f]">
{t("wallet.logType", { defaultValue: "类型" })}
</p>
<p className="text-xs font-bold text-[#59739f]">
<p className="player-pc-table-head font-bold text-[#59739f]">
{t("wallet.logTime", { defaultValue: "时间" })}
</p>
<p className="text-xs font-bold text-[#59739f]">
<p className="player-pc-table-head font-bold text-[#59739f]">
{t("wallet.logRef", { defaultValue: "关联单号" })}
</p>
<p className="text-right text-xs font-bold text-[#59739f]">
<p className="player-pc-table-head text-right font-bold text-[#59739f]">
{t("wallet.logAmount", { defaultValue: "金额" })}
</p>
<p className="text-right text-xs font-bold text-[#59739f]">
<p className="player-pc-table-head text-right font-bold text-[#59739f]">
{creditMode
? t("wallet.creditAvailableAfter")
: t("wallet.balanceAfter")}
</p>
<p className="text-right text-xs font-bold text-[#59739f]">
<p className="player-pc-table-head text-right font-bold text-[#59739f]">
{t("orders.status")}
</p>
</div>