feat(player): 统一移动端主题样式并优化多页面视觉一致性
将玩家端组件与核心页面全面切换为统一主题变量,优化卡片、按钮、弹窗、列表和盘口相关模块的视觉表现,并补充多语言文案以匹配新的交互与布局风格。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -411,24 +411,24 @@ function auditStepCount(order: DepositOrder) {
|
||||
<style scoped>
|
||||
.recharge-history-page { padding: 0 16px 24px; }
|
||||
.page-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
|
||||
.page-header h2 { margin: 0; font-size: 17px; font-weight: 700; color: #1A1A2E; }
|
||||
.back-btn { background: none; border: none; color: #003D6B; font-size: 24px; cursor: pointer; padding: 0 8px; }
|
||||
.recharge-btn { background: none; border: none; color: #003D6B; font-size: 13px; cursor: pointer; font-weight: 600; }
|
||||
.page-header h2 { margin: 0; font-size: 17px; font-weight: 700; color: var(--text); }
|
||||
.back-btn { background: none; border: none; color: var(--primary); font-size: 24px; cursor: pointer; padding: 0 8px; }
|
||||
.recharge-btn { background: none; border: none; color: var(--primary); font-size: 13px; cursor: pointer; font-weight: 600; }
|
||||
.state { display: flex; justify-content: center; padding: 48px; }
|
||||
.empty { text-align: center; color: #6B7280; 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: #FFFFFF;
|
||||
border: 1px solid #E5E7EB;
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 12px;
|
||||
padding: 16px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
.order-card:active {
|
||||
opacity: 0.92;
|
||||
@@ -438,66 +438,66 @@ function auditStepCount(order: DepositOrder) {
|
||||
position: absolute;
|
||||
top: 0; left: 0; right: 0;
|
||||
height: 2px;
|
||||
background: linear-gradient(90deg, transparent, #003D6B, transparent);
|
||||
background: linear-gradient(90deg, transparent, #F4A261, transparent);
|
||||
}
|
||||
.order-card.rejected {
|
||||
background: #FFFFFF;
|
||||
border-color: rgba(220, 38, 38, 0.25);
|
||||
background: var(--bg-card);
|
||||
border-color: rgba(239, 68, 68, 0.3);
|
||||
}
|
||||
.order-card.rejected::before {
|
||||
background: linear-gradient(90deg, transparent, #DC2626, transparent);
|
||||
background: linear-gradient(90deg, transparent, #EF4444, transparent);
|
||||
}
|
||||
.order-card.rejected .order-amount {
|
||||
background: none;
|
||||
-webkit-background-clip: unset;
|
||||
background-clip: unset;
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.order-card.rejected .info-label {
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.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(0, 61, 107, 0.08); color: #005B9F; }
|
||||
.method-badge.usdt { background: rgba(5, 150, 105, 0.08); color: #059669; }
|
||||
.method-badge.bank { background: rgba(244, 162, 97, 0.15); color: var(--primary-light); }
|
||||
.method-badge.usdt { background: rgba(16, 185, 129, 0.15); color: var(--success); }
|
||||
.status-badge { font-size: 12px; font-weight: 700; }
|
||||
.status-pending { color: #F8971F; }
|
||||
.status-approved { color: #059669; }
|
||||
.status-rejected { color: #DC2626; }
|
||||
.status-pending { color: var(--warning); }
|
||||
.status-approved { color: var(--success); }
|
||||
.status-rejected { color: var(--danger); }
|
||||
.order-body { }
|
||||
.order-amount {
|
||||
font-size: 22px;
|
||||
font-weight: 900;
|
||||
margin-bottom: 4px;
|
||||
color: #003D6B;
|
||||
color: var(--primary);
|
||||
}
|
||||
.approved-amount { font-size: 12px; color: #059669; 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: #003D6B; font-weight: 600; }
|
||||
.info-label { font-size: 13px; color: var(--primary); 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: #6B7280; }
|
||||
.time-value { font-size: 11px; color: #1A1A2E; font-variant-numeric: tabular-nums; }
|
||||
.time-label { font-size: 11px; color: var(--text-muted); }
|
||||
.time-value { font-size: 11px; color: var(--text); font-variant-numeric: tabular-nums; }
|
||||
.order-remark {
|
||||
font-size: 12px;
|
||||
color: #003D6B;
|
||||
background: rgba(0, 61, 107, 0.04);
|
||||
color: var(--primary);
|
||||
background: rgba(244, 162, 97, 0.08);
|
||||
padding: 6px 10px;
|
||||
border-radius: 6px;
|
||||
margin-top: 6px;
|
||||
border-left: 2px solid #003D6B;
|
||||
border-left: 2px solid var(--primary);
|
||||
line-height: 1.45;
|
||||
word-break: break-word;
|
||||
}
|
||||
.reject-reason {
|
||||
margin-top: 8px;
|
||||
font-size: 12px;
|
||||
color: #DC2626;
|
||||
color: var(--danger);
|
||||
background: transparent;
|
||||
padding: 6px 0 0;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
border-top: 1px solid rgba(220, 38, 38, 0.18);
|
||||
border-top: 1px solid rgba(239, 68, 68, 0.25);
|
||||
line-height: 1.45;
|
||||
word-break: break-word;
|
||||
}
|
||||
@@ -508,16 +508,16 @@ function auditStepCount(order: DepositOrder) {
|
||||
gap: 8px;
|
||||
margin-top: 10px;
|
||||
padding-top: 10px;
|
||||
border-top: 1px solid #E5E7EB;
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
.card-detail-summary {
|
||||
font-size: 11px;
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
font-weight: 600;
|
||||
}
|
||||
.card-detail-link {
|
||||
font-size: 11px;
|
||||
color: #003D6B;
|
||||
color: var(--primary);
|
||||
font-weight: 700;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -530,7 +530,7 @@ function auditStepCount(order: DepositOrder) {
|
||||
background: none;
|
||||
text-align: right;
|
||||
font-size: 11px;
|
||||
color: #003D6B;
|
||||
color: var(--primary);
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -548,7 +548,7 @@ function auditStepCount(order: DepositOrder) {
|
||||
.end-hint {
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
font-weight: 600;
|
||||
padding: 16px 0 4px;
|
||||
letter-spacing: 0.03em;
|
||||
@@ -558,7 +558,7 @@ function auditStepCount(order: DepositOrder) {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 200;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
background: rgba(0, 0, 0, 0.55);
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: center;
|
||||
@@ -571,12 +571,12 @@ function auditStepCount(order: DepositOrder) {
|
||||
max-width: 480px;
|
||||
max-height: min(88vh, 720px);
|
||||
overflow-y: auto;
|
||||
background: #FFFFFF;
|
||||
border: 1px solid #E5E7EB;
|
||||
background: var(--bg-card);
|
||||
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.12);
|
||||
box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.detail-close {
|
||||
@@ -588,7 +588,7 @@ function auditStepCount(order: DepositOrder) {
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
background: transparent;
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
line-height: 1;
|
||||
@@ -598,15 +598,15 @@ function auditStepCount(order: DepositOrder) {
|
||||
margin: 0 28px 12px 0;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: #1A1A2E;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.detail-summary {
|
||||
margin-bottom: 14px;
|
||||
padding: 12px;
|
||||
border-radius: 10px;
|
||||
background: #F5F7FA;
|
||||
border: 1px solid #E5E7EB;
|
||||
background: var(--bg-body);
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.detail-summary-head {
|
||||
@@ -620,13 +620,13 @@ function auditStepCount(order: DepositOrder) {
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 4px;
|
||||
color: #003D6B;
|
||||
color: var(--primary);
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.detail-method-name {
|
||||
font-size: 12px;
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
font-weight: 500;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
@@ -641,13 +641,13 @@ function auditStepCount(order: DepositOrder) {
|
||||
|
||||
.detail-label {
|
||||
font-size: 12px;
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.detail-value {
|
||||
font-size: 12px;
|
||||
color: #1A1A2E;
|
||||
color: var(--text);
|
||||
text-align: right;
|
||||
word-break: break-word;
|
||||
}
|
||||
@@ -655,12 +655,12 @@ function auditStepCount(order: DepositOrder) {
|
||||
.detail-summary .order-remark {
|
||||
margin-top: 8px;
|
||||
font-size: 11px;
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
background: transparent;
|
||||
padding: 6px 0 0;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
border-top: 1px solid #E5E7EB;
|
||||
border-top: 1px solid var(--border);
|
||||
line-height: 1.45;
|
||||
word-break: break-word;
|
||||
}
|
||||
@@ -668,12 +668,12 @@ function auditStepCount(order: DepositOrder) {
|
||||
.detail-summary .reject-reason {
|
||||
margin-top: 8px;
|
||||
font-size: 11px;
|
||||
color: #DC2626;
|
||||
color: var(--danger);
|
||||
background: transparent;
|
||||
padding: 6px 0 0;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
border-top: 1px solid rgba(220, 38, 38, 0.15);
|
||||
border-top: 1px solid rgba(239, 68, 68, 0.2);
|
||||
line-height: 1.45;
|
||||
word-break: break-word;
|
||||
}
|
||||
@@ -686,14 +686,14 @@ function auditStepCount(order: DepositOrder) {
|
||||
.detail-audit {
|
||||
margin-top: 2px;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid #E5E7EB;
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.detail-audit-title {
|
||||
margin: 0 0 10px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
@@ -721,7 +721,7 @@ function auditStepCount(order: DepositOrder) {
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
border-radius: 50%;
|
||||
background: #E5E7EB;
|
||||
background: var(--border);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -730,7 +730,7 @@ function auditStepCount(order: DepositOrder) {
|
||||
width: 1px;
|
||||
min-height: 10px;
|
||||
margin: 3px 0;
|
||||
background: #E5E7EB;
|
||||
background: var(--border);
|
||||
}
|
||||
|
||||
.audit-step-body {
|
||||
@@ -753,13 +753,13 @@ function auditStepCount(order: DepositOrder) {
|
||||
.audit-step-title {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: #1A1A2E;
|
||||
color: var(--text);
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.audit-step-time {
|
||||
font-size: 10px;
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
font-variant-numeric: tabular-nums;
|
||||
white-space: nowrap;
|
||||
flex-shrink: 0;
|
||||
@@ -768,7 +768,7 @@ function auditStepCount(order: DepositOrder) {
|
||||
.audit-step-actor {
|
||||
margin: 2px 0 0;
|
||||
font-size: 11px;
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
@@ -776,14 +776,14 @@ function auditStepCount(order: DepositOrder) {
|
||||
margin: 3px 0 0;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
color: #059669;
|
||||
color: var(--success);
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.audit-step-note {
|
||||
margin: 4px 0 0;
|
||||
font-size: 11px;
|
||||
color: #6B7280;
|
||||
color: var(--text-muted);
|
||||
line-height: 1.45;
|
||||
word-break: break-word;
|
||||
}
|
||||
@@ -801,35 +801,35 @@ function auditStepCount(order: DepositOrder) {
|
||||
|
||||
.audit-step-box--reject {
|
||||
background: transparent;
|
||||
border: 1px solid rgba(220, 38, 38, 0.22);
|
||||
border: 1px solid rgba(239, 68, 68, 0.3);
|
||||
}
|
||||
|
||||
.audit-step-box-label {
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
color: #DC2626;
|
||||
color: var(--danger);
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
.audit-step-box-text {
|
||||
font-size: 11px;
|
||||
color: #DC2626;
|
||||
color: var(--danger);
|
||||
}
|
||||
|
||||
.audit-step--submitted .audit-dot {
|
||||
background: #003D6B;
|
||||
background: var(--primary);
|
||||
}
|
||||
.audit-step--approved .audit-dot {
|
||||
background: #059669;
|
||||
background: var(--success);
|
||||
}
|
||||
.audit-step--rejected .audit-dot {
|
||||
background: #DC2626;
|
||||
background: var(--danger);
|
||||
}
|
||||
.audit-step--revoked .audit-dot {
|
||||
background: #6B7280;
|
||||
background: var(--text-muted);
|
||||
}
|
||||
.audit-step--reopened .audit-dot {
|
||||
background: #003D6B;
|
||||
background: var(--primary);
|
||||
}
|
||||
|
||||
.modal-reapply-btn {
|
||||
|
||||
Reference in New Issue
Block a user