feat(player): 统一移动端主题样式并优化多页面视觉一致性

将玩家端组件与核心页面全面切换为统一主题变量,优化卡片、按钮、弹窗、列表和盘口相关模块的视觉表现,并补充多语言文案以匹配新的交互与布局风格。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-16 15:55:28 +08:00
parent 4a93fcfce0
commit d2c0b575b7
51 changed files with 1539 additions and 1212 deletions

View File

@@ -115,11 +115,11 @@ onUnmounted(() => {
padding: 0 8px 0 8px;
min-width: 0;
cursor: pointer;
border: 1px solid #E5E7EB;
border: 1px solid var(--border);
border-radius: 6px;
background: #FFFFFF;
background: var(--bg-card);
box-sizing: border-box;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
box-shadow: var(--shadow);
}
.chip-body {
@@ -131,7 +131,7 @@ onUnmounted(() => {
.chip-label {
font-size: 8px;
color: #6B7280;
color: var(--text-muted);
font-weight: 600;
letter-spacing: 0.02em;
white-space: nowrap;
@@ -144,14 +144,14 @@ onUnmounted(() => {
.chip-amount {
font-size: 11px;
font-weight: 800;
color: #003D6B;
color: var(--accent-light);
white-space: nowrap;
line-height: 1.15;
}
.chevron {
font-size: 10px;
color: #003D6B;
color: var(--primary-light);
transition: transform 0.2s;
margin-left: 0;
}
@@ -167,10 +167,10 @@ onUnmounted(() => {
width: min(260px, 78vw);
padding: 12px 14px;
z-index: 130;
border: 1px solid #E5E7EB;
border: 1px solid var(--border);
border-radius: 8px;
background: #FFFFFF;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
background: var(--bg-card-elevated);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.cash-panel::before {
@@ -184,22 +184,22 @@ onUnmounted(() => {
font-size: 13px;
font-weight: 600;
padding: 6px 0;
color: #1A1A2E;
color: var(--text);
}
.panel-row.muted {
color: #6B7280;
color: var(--text-muted);
}
.panel-row.highlight {
color: #003D6B;
color: var(--accent-light);
font-weight: 800;
font-size: 14px;
}
.panel-divider {
height: 1px;
background: #E5E7EB;
background: var(--border);
margin: 4px 0;
}
@@ -208,9 +208,9 @@ onUnmounted(() => {
padding: 8px 0;
margin-top: 4px;
border-radius: 6px;
border: 1px solid #003D6B;
border: 1px solid var(--primary);
background: transparent;
color: #003D6B;
color: var(--primary-light);
font-size: 13px;
font-weight: 700;
cursor: pointer;
@@ -218,7 +218,7 @@ onUnmounted(() => {
}
.panel-recharge-btn:active {
background: rgba(0, 61, 107, 0.06);
background: rgba(244, 162, 97, 0.1);
}
.backdrop {