feat(player): 统一移动端主题样式并优化多页面视觉一致性
将玩家端组件与核心页面全面切换为统一主题变量,优化卡片、按钮、弹窗、列表和盘口相关模块的视觉表现,并补充多语言文案以匹配新的交互与布局风格。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -76,12 +76,12 @@ const stats = computed(() => {
|
||||
|
||||
<style scoped>
|
||||
.wallet-stats-panel {
|
||||
background: #FFFFFF;
|
||||
border: 1px solid #E5E7EB;
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
padding: 12px;
|
||||
margin-bottom: 12px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.stats-row {
|
||||
@@ -100,7 +100,7 @@ const stats = computed(() => {
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
letter-spacing: 0.03em;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
@@ -113,16 +113,16 @@ const stats = computed(() => {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
color: #1A1A2E;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.stat-val.income { color: #059669; }
|
||||
.stat-val.expense { color: #DC2626; }
|
||||
.stat-val.cashback { color: #F8971F; }
|
||||
.stat-val.income { color: var(--success); }
|
||||
.stat-val.expense { color: var(--danger); }
|
||||
.stat-val.cashback { color: var(--warning); }
|
||||
|
||||
.stats-divider {
|
||||
height: 1px;
|
||||
margin: 6px 8px;
|
||||
background: #E5E7EB;
|
||||
background: var(--border);
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user