feat(player/admin/api): 玩家端暗色极简主题重构与盘口单串关修复

## 管理端 / API(Bug 修复)
- matches.service:getAdminMatchDetail 返回 markets 时补充 allowSingle、allowParlay 字段
- MatchMarketsPanel:mapMarkets 从接口读取单关/串关开关,不再硬编码为 true
- match-form.ts:AdminMarket 类型补充 allowSingle、allowParlay

## 玩家端 — 全局主题(styles.css / index.html / site.webmanifest)
- 海军暗色 + 白色强调 token,卡片高光渐变(--gradient-card)
- 下拉/弹窗实底不透明(--dropdown-bg: #0A2540)
- 统一 sub-toolbar、status-ribbon、filter-tab 等全局样式
- theme-color 同步为 #001A33

## 玩家端 — 布局与壳层
- MainLayout:详情子页去顶栏/公告,sub-toolbar 全宽铺底
- WalletBalanceCard(新):个人页钱包卡片(反水 + 未结算)
- walletStats.ts(新):钱包统计逻辑抽取

## 玩家端 — 赛事 / 投注
- MatchDetailView:顶栏 8px 顶距、卡片全宽(--detail-gutter-x: 0)
- 盘口状态标签(暂停/已关闭)、去掉 MarketTypeTile 右侧箭头
- VsBadge(新):纯文字 VS,删除 vs.png
- isMarketLocked:仅关单关但允许串关时仍可点击,支持串关流程
- BetSlipDrawer:仅串关盘口禁用单关提交并提示 slip_parlay_only_hint
- betSlip:SlipItem 增加 allowSingle 字段
- MatchBetCard / LeagueAccordionItem:45° 待开赛角标,去掉展开左侧白边
- OutrightEventSection:去掉展开时左侧白色选中条
- FootballView:加大左右边距、筛选栏去 sticky、选中态增强
- BannerCarousel:恢复原始全宽轮播

## 玩家端 — 钱包 / 个人 / 认证 / 其他页面
- WalletView:移除顶部钱包卡片,保留账单列表
- ProfileView:保留 WalletBalanceCard
- 充值/账单/注单/登录注册等页面配色与间距统一
- 公告标签、余额面板、语言切换、区号选择等弹层改为实底

## 国际化
- zh-CN / en-US / ms-MY:新增 slip_parlay_only_hint(仅串关盘口提示)

## 资产
- 更新 banner.svg、empty-matches.svg 配色
- 删除 vs.png

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-17 11:00:25 +08:00
parent f34fe54489
commit d3ca8498fb
64 changed files with 2466 additions and 2084 deletions

View File

@@ -226,11 +226,11 @@ function auditStepCount(order: DepositOrder) {
<template>
<div class="recharge-history-page">
<div class="page-header">
<header class="page-header sub-toolbar">
<button class="back-btn" @click="goBack"></button>
<h2>{{ t('recharge.history_title') }}</h2>
<button class="recharge-btn" @click="goRecharge">+ {{ t('recharge.title') }}</button>
</div>
</header>
<div
class="pull-indicator"
@@ -409,25 +409,26 @@ function auditStepCount(order: DepositOrder) {
</template>
<style scoped>
.recharge-history-page { padding: 0 16px 24px; }
.page-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.recharge-history-page { padding: 0 0 24px; }
.page-header { display: flex; align-items: center; justify-content: space-between; }
.page-header h2 { margin: 0; font-size: 17px; font-weight: 700; }
.back-btn { background: none; border: none; color: var(--primary-light); font-size: 24px; cursor: pointer; padding: 0 8px; }
.recharge-btn { background: none; border: none; color: var(--primary-light); font-size: 13px; cursor: pointer; font-weight: 600; }
.state { display: flex; justify-content: center; padding: 48px; }
.empty { text-align: center; color: #666; padding: 48px 16px; font-weight: 600; }
.empty { text-align: center; color: var(--text-muted); padding: 48px 16px; font-weight: 600; }
.pull-indicator { display: flex; align-items: center; justify-content: center; overflow: hidden; transition: height 0.15s ease; }
.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-card {
background: linear-gradient(135deg, #1a1810 0%, #1f1b0e 40%, #16140c 100%);
border: 1px solid rgba(212, 175, 55, 0.2);
border-radius: 12px;
background: var(--gradient-card);
border: 1px solid var(--border-gold-soft);
border-radius: var(--radius);
padding: 16px;
position: relative;
overflow: hidden;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
box-shadow: var(--shadow);
}
.order-card:active {
opacity: 0.92;
@@ -437,57 +438,54 @@ function auditStepCount(order: DepositOrder) {
position: absolute;
top: 0; left: 0; right: 0;
height: 2px;
background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
}
.order-card.rejected {
background: #141414;
border-color: rgba(245, 108, 108, 0.22);
background: var(--bg-card);
border-color: rgba(255, 255, 255, 0.35);
}
.order-card.rejected::before {
background: linear-gradient(90deg, transparent, rgba(245, 108, 108, 0.35), transparent);
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}
.order-card.rejected .order-amount {
background: none;
-webkit-background-clip: unset;
background-clip: unset;
color: #bbb;
color: var(--text-muted);
}
.order-card.rejected .info-label {
color: #888;
color: var(--neutral);
}
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.method-badge { padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; }
.method-badge.bank { background: rgba(30, 58, 95, 0.6); color: #66b1ff; }
.method-badge.usdt { background: rgba(26, 58, 42, 0.6); color: #67c23a; }
.status-badge { font-size: 12px; font-weight: 700; }
.status-pending { color: #e6a23c; }
.status-approved { color: #67c23a; }
.status-rejected { color: #f56c6c; }
.status-pending { color: var(--primary-light); }
.status-approved { color: var(--success); }
.status-rejected { color: var(--primary); }
.order-body { }
.order-amount {
font-size: 22px;
font-weight: 900;
margin-bottom: 4px;
background: linear-gradient(135deg, #f0d060, #d4a830);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
color: var(--primary-light);
}
.approved-amount { font-size: 12px; color: #67c23a; margin-bottom: 6px; font-weight: 600; }
.approved-amount { font-size: 12px; color: var(--success); margin-bottom: 6px; font-weight: 600; }
.order-info-row { margin-bottom: 8px; }
.info-label { font-size: 13px; color: rgba(212, 175, 55, 0.7); font-weight: 600; }
.info-label { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.order-times { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.time-row { display: flex; justify-content: space-between; align-items: center; }
.time-label { font-size: 11px; color: #888; }
.time-value { font-size: 11px; color: #aaa; font-variant-numeric: tabular-nums; }
.time-label { font-size: 11px; color: var(--text-muted); }
.time-value { font-size: 11px; color: var(--neutral); font-variant-numeric: tabular-nums; }
.order-remark {
font-size: 12px;
color: rgba(212, 175, 55, 0.8);
background: rgba(212, 175, 55, 0.06);
color: var(--text-muted);
background: var(--surface-accent);
padding: 6px 10px;
border-radius: 6px;
margin-top: 6px;
border-left: 2px solid rgba(212, 175, 55, 0.3);
border-left: 2px solid var(--border-gold-soft);
line-height: 1.45;
word-break: break-word;
}
@@ -510,11 +508,11 @@ function auditStepCount(order: DepositOrder) {
gap: 8px;
margin-top: 10px;
padding-top: 10px;
border-top: 1px solid rgba(212, 175, 55, 0.12);
border-top: 1px solid var(--border);
}
.card-detail-summary {
font-size: 11px;
color: rgba(212, 175, 55, 0.65);
color: var(--text-muted);
font-weight: 600;
}
.card-detail-link {
@@ -550,7 +548,7 @@ function auditStepCount(order: DepositOrder) {
.end-hint {
text-align: center;
font-size: 12px;
color: #555;
color: var(--neutral);
font-weight: 600;
padding: 16px 0 4px;
letter-spacing: 0.03em;
@@ -560,7 +558,7 @@ function auditStepCount(order: DepositOrder) {
position: fixed;
inset: 0;
z-index: 200;
background: rgba(0, 0, 0, 0.48);
background: rgba(0, 34, 68, 0.72);
display: flex;
align-items: flex-end;
justify-content: center;
@@ -573,12 +571,14 @@ function auditStepCount(order: DepositOrder) {
max-width: 480px;
max-height: min(88vh, 720px);
overflow-y: auto;
background: #141414;
border: 1px solid #2a2a2a;
background: var(--dropdown-bg);
backdrop-filter: none;
-webkit-backdrop-filter: none;
border: 1px solid var(--border);
border-bottom: none;
border-radius: 14px 14px 0 0;
padding: 16px 16px calc(14px + env(safe-area-inset-bottom, 0px));
box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.28);
box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
}
.detail-close {
@@ -590,7 +590,7 @@ function auditStepCount(order: DepositOrder) {
border: none;
border-radius: 50%;
background: transparent;
color: #777;
color: var(--text-muted);
font-size: 13px;
cursor: pointer;
line-height: 1;
@@ -600,15 +600,17 @@ function auditStepCount(order: DepositOrder) {
margin: 0 28px 12px 0;
font-size: 15px;
font-weight: 600;
color: #e8e8e8;
color: var(--text);
}
.detail-summary {
margin-bottom: 14px;
padding: 12px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.02);
border: 1px solid #222;
background: var(--bg-body);
backdrop-filter: none;
-webkit-backdrop-filter: none;
border: 1px solid var(--border);
}
.detail-summary-head {
@@ -622,13 +624,13 @@ function auditStepCount(order: DepositOrder) {
font-size: 22px;
font-weight: 700;
margin-bottom: 4px;
color: var(--primary-light, #d4af37);
color: var(--primary-light);
letter-spacing: -0.02em;
}
.detail-method-name {
font-size: 12px;
color: #999;
color: var(--text-muted);
font-weight: 500;
margin-bottom: 8px;
}
@@ -643,13 +645,13 @@ function auditStepCount(order: DepositOrder) {
.detail-label {
font-size: 12px;
color: #888;
color: var(--text-muted);
flex-shrink: 0;
}
.detail-value {
font-size: 12px;
color: #ccc;
color: var(--text);
text-align: right;
word-break: break-word;
}
@@ -657,12 +659,12 @@ function auditStepCount(order: DepositOrder) {
.detail-summary .order-remark {
margin-top: 8px;
font-size: 11px;
color: #999;
color: var(--text-muted);
background: transparent;
padding: 6px 0 0;
border-radius: 0;
border: none;
border-top: 1px solid #222;
border-top: 1px solid var(--border);
line-height: 1.45;
word-break: break-word;
}
@@ -670,12 +672,12 @@ function auditStepCount(order: DepositOrder) {
.detail-summary .reject-reason {
margin-top: 8px;
font-size: 11px;
color: #b08888;
color: var(--primary-light);
background: transparent;
padding: 6px 0 0;
border-radius: 0;
border: none;
border-top: 1px solid rgba(245, 108, 108, 0.15);
border-top: 1px solid rgba(255, 255, 255, 0.25);
line-height: 1.45;
word-break: break-word;
}
@@ -688,14 +690,14 @@ function auditStepCount(order: DepositOrder) {
.detail-audit {
margin-top: 2px;
padding-top: 12px;
border-top: 1px solid #222;
border-top: 1px solid var(--border);
}
.detail-audit-title {
margin: 0 0 10px;
font-size: 12px;
font-weight: 600;
color: #888;
color: var(--text-muted);
letter-spacing: 0.02em;
}
@@ -723,7 +725,7 @@ function auditStepCount(order: DepositOrder) {
width: 5px;
height: 5px;
border-radius: 50%;
background: #555;
background: var(--neutral);
flex-shrink: 0;
}
@@ -732,7 +734,7 @@ function auditStepCount(order: DepositOrder) {
width: 1px;
min-height: 10px;
margin: 3px 0;
background: #2a2a2a;
background: var(--border);
}
.audit-step-body {
@@ -755,13 +757,13 @@ function auditStepCount(order: DepositOrder) {
.audit-step-title {
font-size: 12px;
font-weight: 600;
color: #ccc;
color: var(--text);
line-height: 1.35;
}
.audit-step-time {
font-size: 10px;
color: #666;
color: var(--neutral);
font-variant-numeric: tabular-nums;
white-space: nowrap;
flex-shrink: 0;
@@ -770,7 +772,7 @@ function auditStepCount(order: DepositOrder) {
.audit-step-actor {
margin: 2px 0 0;
font-size: 11px;
color: #999;
color: var(--text-muted);
line-height: 1.4;
}
@@ -778,14 +780,14 @@ function auditStepCount(order: DepositOrder) {
margin: 3px 0 0;
font-size: 11px;
font-weight: 500;
color: #7eb87a;
color: var(--success);
line-height: 1.4;
}
.audit-step-note {
margin: 4px 0 0;
font-size: 11px;
color: #888;
color: var(--text-muted);
line-height: 1.45;
word-break: break-word;
}
@@ -802,36 +804,36 @@ function auditStepCount(order: DepositOrder) {
}
.audit-step-box--reject {
background: transparent;
border: 1px solid rgba(245, 108, 108, 0.22);
background: var(--bg-body);
border: 1px solid rgba(255, 255, 255, 0.25);
}
.audit-step-box-label {
font-size: 10px;
font-weight: 500;
color: #c07070;
color: var(--primary-light);
letter-spacing: 0.01em;
}
.audit-step-box-text {
font-size: 11px;
color: #b08888;
color: var(--text-muted);
}
.audit-step--submitted .audit-dot {
background: #c9a227;
background: var(--primary-light);
}
.audit-step--approved .audit-dot {
background: #5fad5a;
background: var(--success);
}
.audit-step--rejected .audit-dot {
background: #d06060;
background: var(--primary);
}
.audit-step--revoked .audit-dot {
background: #777;
background: var(--neutral);
}
.audit-step--reopened .audit-dot {
background: #c9a227;
background: var(--primary-light);
}
.modal-reapply-btn {