/* ========================================================================== 移动端商品详情页全新重构样式 (完全对标 PC 端设计语言规范) ========================================================================== */ .mobile-detail { min-height: 100dvh; background: #f1f5f9; padding-bottom: calc(84px + env(safe-area-inset-bottom)); box-sizing: border-box; } /* ========== 顶部导航 ========== */ .page-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 12px; background: #ffffff; border-bottom: 1px solid #e2e8f0; } .page-header h1 { flex: 1; margin: 0; font-size: 16px; font-weight: 800; color: #0f172a; text-align: center; letter-spacing: -0.01em; } .back-btn, .favorite-header-btn { display: grid; width: 36px; height: 36px; place-items: center; border: none; background: none; color: #334155; cursor: pointer; border-radius: 8px; } .back-btn:active, .favorite-header-btn:active { background: #f1f5f9; } .favorite-header-btn { color: #ff6a00; } .center-loading { display: flex; justify-content: center; padding: 80px 0; } /* ========== 平台官方安全保障提示条 ========== */ .fraud-tip { display: flex; align-items: center; gap: 8px; margin: 10px 12px 6px; padding: 8px 12px; background: #fffcf5; border: 1px solid #fef3c7; border-radius: 10px; font-size: 11.5px; color: #92400e; line-height: 1.45; box-shadow: 0 1px 3px rgba(245, 158, 11, 0.05); } .fraud-tip span { font-weight: 500; } /* ========== 通用信息卡片 (对齐 PC detail-card) ========== */ .info-card { margin: 10px 12px; padding: 16px; background: #ffffff; border-radius: 16px; border: 1px solid #e8edf5; box-shadow: 0 3px 12px rgba(15, 23, 42, 0.03); } .card-header-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; } .header-left { display: flex; flex-direction: column; gap: 2px; } .card-subtitle { margin: 0; font-size: 15px; font-weight: 800; color: #0f172a; } .card-subtitle-tip { font-size: 11px; color: #64748b; } .gallery-count { font-size: 11px; font-weight: 600; color: #94a3b8; flex-shrink: 0; } /* ========== 1. 账号抬头卡片 (Header Card) ========== */ .header-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; } .meta-tags-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; } .mobile-code-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px; background: #eff6ff; border: 1px solid #bfdbfe; color: #2563eb; font-size: 11px; font-weight: 700; cursor: pointer; } .platform-pill { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 5px; font-size: 11px; font-weight: 600; } .platform-pill.wechat { background: #ecfdf5; color: #059669; } .platform-pill.qq { background: #eff6ff; color: #0284c7; } .platform-pill.scan { background: #fff7ed; color: #ea580c; } .platform-pill.password, .platform-pill.default { background: #f1f5f9; color: #475569; } .platform-pill.steam { background: #eef2ff; color: #4f46e5; } .platform-pill.rank { background: #f5f3ff; color: #7c3aed; } .status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 5px; background: #f0fdf4; border: 1px solid #dcfce7; color: #15803d; font-size: 11px; font-weight: 700; } .status-dot { width: 6px; height: 6px; border-radius: 999px; background: #16a34a; } .status-pill.is-busy { background: #fff7ed; border-color: #fed7aa; color: #ea580c; } .status-pill.is-busy .status-dot { background: #ea580c; } .mobile-favorite-chip { display: inline-flex; align-items: center; gap: 3px; padding: 3px 9px; border: 1px solid #e2e8f0; border-radius: 999px; background: #ffffff; color: #64748b; font-size: 11px; font-weight: 600; cursor: pointer; flex-shrink: 0; } .mobile-favorite-chip.is-active { border-color: #fed7aa; background: #fff7ed; color: #ea580c; } .detail-title { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: #0f172a; line-height: 1.4; letter-spacing: -0.015em; } .detail-desc { margin: 0 0 12px; font-size: 12px; color: #64748b; line-height: 1.5; } /* 核心资产四大微卡 (2x2 网格对齐移动端体验) */ .core-assets-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px; } .asset-tile { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px; background: #f8fafc; border: 1px solid #e2e8f0; } .coin-tile { background: #fff9f5; border-color: #fed7aa; } .slot-tile.top-insurance { background: #fff9f5; border-color: #fed7aa; } .tile-label { font-size: 11px; font-weight: 500; color: #64748b; } .tile-value { font-size: 19px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; } .text-orange { color: #ea580c; } .text-slate { color: #0f172a; } .tile-subvalues { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; } .val-pill { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 4px; font-size: 11px; font-weight: 700; } .val-pill.green { background: #f0fdf4; border: 1px solid #dcfce7; color: #15803d; } .val-pill.warm { background: #fffbeb; border: 1px solid #fef3c7; color: #b45309; } /* ========== 2. 验号多图互动展台 (Gallery Stage) ========== */ .gallery-stage { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #0f172a; } .stage-viewer { width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: center; } .stage-image { width: 100%; height: 100%; object-fit: contain; } .stage-viewer :deep(.el-image) { width: 100%; height: 100%; } .stage-viewer :deep(.el-image__inner) { width: 100%; height: 100%; object-fit: contain; } .stage-tag { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 5px; background: rgba(15, 23, 42, 0.75); backdrop-filter: blur(4px); color: #ffffff; font-size: 11px; font-weight: 600; z-index: 2; } .stage-zoom-hint { position: absolute; bottom: 8px; right: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(15, 23, 42, 0.65); backdrop-filter: blur(4px); color: #f1f5f9; font-size: 10px; z-index: 2; } .stage-empty { display: flex; align-items: center; justify-content: center; height: 100%; color: #64748b; font-size: 12px; } /* 胶卷导轨缩略图 */ .thumbnail-filmstrip { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 2px; } .thumbnail-item { flex: 0 0 76px; height: 52px; position: relative; border-radius: 6px; overflow: hidden; border: 2px solid transparent; background: #0f172a; cursor: pointer; padding: 0; transition: all 0.15s ease; } .thumbnail-item.is-active { border-color: #ff6a00; box-shadow: 0 0 0 1px rgba(255, 106, 0, 0.3); } .thumb-img { width: 100%; height: 100%; object-fit: cover; } .thumbnail-item :deep(.el-image) { width: 100%; height: 100%; } .thumbnail-item :deep(.el-image__inner) { width: 100%; height: 100%; object-fit: cover; } .thumb-label { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(15, 23, 42, 0.78); color: #ffffff; font-size: 9.5px; font-weight: 500; text-align: center; padding: 1px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* ========== 3. 账号核心档案矩阵 (Specs Card) ========== */ .secondary-chips-flow { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; } .secondary-spec-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px; background: #f8fafc; border: 1px solid #e2e8f0; font-size: 11px; } .pill-k { color: #64748b; } .pill-v { color: #0f172a; font-weight: 700; } .specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; } .spec-cell { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 8px; background: #f8fafc; border: 1px solid #edf2f7; } .cell-label { font-size: 11px; font-weight: 500; color: #64748b; } .cell-val { font-size: 13px; font-weight: 700; color: #0f172a; overflow-wrap: anywhere; } /* ========== 4. 精选皮肤展台 (Skin Card) ========== */ .skin-groups-container { display: flex; flex-direction: column; gap: 10px; } .skin-group-block { display: flex; flex-direction: column; gap: 6px; } .skin-group-header { display: flex; align-items: center; gap: 6px; } .skin-group-title { font-size: 12px; font-weight: 700; color: #334155; } .skin-group-count { padding: 1px 6px; border-radius: 999px; background: #f1f5f9; color: #64748b; font-size: 10px; font-weight: 600; } .skin-pill-wrap { display: flex; flex-wrap: wrap; gap: 6px; } .skin-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; background: #f8fafc; border: 1px solid #e2e8f0; font-size: 11.5px; font-weight: 600; color: #1e293b; } .quality-dot { width: 6px; height: 6px; border-radius: 999px; background: #94a3b8; flex-shrink: 0; } /* 皮肤各品级颜色 */ .skin-type-melee { background: #fff7ed; border-color: #fed7aa; color: #c2410c; } .skin-type-melee .quality-dot { background: #ea580c; } .skin-type-operatorRed { background: #fef2f2; border-color: #fecaca; color: #b91c1c; } .skin-type-operatorRed .quality-dot { background: #ef4444; } .skin-type-operatorGold { background: #fffbeb; border-color: #fde68a; color: #b45309; } .skin-type-operatorGold .quality-dot { background: #f59e0b; } .skin-type-weapon { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; } .skin-type-weapon .quality-dot { background: #22c55e; } /* ========== 5. 仓库物资与额外消耗品 (Resources Card) ========== */ .resources-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; } .resource-tile { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 8px; background: #f8fafc; border: 1px solid #edf2f7; } .res-top { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; } .res-name { font-size: 12px; font-weight: 600; color: #334155; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .res-qty { font-size: 14px; font-weight: 800; color: #0f172a; flex-shrink: 0; } .res-bottom { display: flex; } .res-badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 700; } .res-badge.gift { background: #ecfdf5; color: #059669; } .res-badge.charge { background: #fff7ed; color: #ea580c; } .res-badge.charge small { font-weight: 800; } .res-badge.standard { background: #f1f5f9; color: #64748b; } /* ========== 6. 号主留言卡片 (Note Card) ========== */ .seller-note-box { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 8px; background: #f8fafc; border-left: 3px solid #ff8533; } .note-quote-icon { color: #ff8533; flex-shrink: 0; margin-top: 2px; } .note-content { margin: 0; font-size: 13px; line-height: 1.6; color: #334155; } /* ========== 7. 平台官方保障卡片 (Trust Card) ========== */ .trust-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; } .trust-item { display: flex; gap: 8px; align-items: flex-start; padding: 10px; border-radius: 8px; background: #f8fafc; border: 1px solid #f1f5f9; } .trust-icon-box { width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .trust-icon-box.orange { background: #fff7ed; color: #ea580c; } .trust-icon-box.blue { background: #eff6ff; color: #2563eb; } .trust-icon-box.green { background: #ecfdf5; color: #059669; } .trust-icon-box.amber { background: #fffbeb; color: #d97706; } .trust-text strong { display: block; font-size: 11.5px; font-weight: 700; color: #0f172a; margin-bottom: 2px; } .trust-text p { margin: 0; font-size: 10px; color: #64748b; line-height: 1.35; } /* ========== 底部留白 ========== */ .bottom-spacer { height: 24px; } /* ========== 底部下单栏 (Fixed Bar) ========== */ .order-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #ffffff; border-top: 1px solid #e2e8f0; box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.06); } .order-bar-left { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .order-price { display: flex; align-items: baseline; gap: 4px; } .price-caption { font-size: 11px; font-weight: 500; color: #64748b; } .price-total-wrap { display: inline-flex; align-items: baseline; gap: 1px; } .price-currency { font-size: 14px; font-weight: 800; color: #ff5f00; } .price-amount { font-size: 20px; font-weight: 900; color: #ff5f00; letter-spacing: -0.02em; } .order-price-detail { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; color: #64748b; } .deposit-tag { display: inline-block; padding: 1px 5px; border-radius: 4px; background: #f1f5f9; color: #475569; font-size: 10px; } .order-btn { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 20px; font-size: 14px; font-weight: 800; background: linear-gradient(135deg, #ff8533 0%, #ff5f00 100%) !important; border: none !important; box-shadow: 0 4px 12px rgba(255, 95, 0, 0.25); } .order-btn:active { opacity: 0.9; transform: scale(0.98); } .order-btn-icon { margin-right: 2px; } /* ========== 协议弹窗 ========== */ .agreement-popup { max-height: 92vh; } .agreement-popup-body { display: grid; gap: 12px; max-height: 92vh; overflow: auto; padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); } .agreement-popup-body h3 { margin: 0; color: #17233d; font-size: 18px; font-weight: 900; } .agreement-popup-body > p { margin: 0; color: #6b7280; font-size: 13px; font-weight: 700; } .agreement-panel { display: grid; gap: 8px; } .agreement-panel > strong { color: #17233d; font-size: 14px; } .agreement-content { height: 190px; overflow: auto; border: 1px solid #e5e7eb; border-radius: 8px; background: #f8fafc; padding: 12px; color: #1f2937; font-size: 12px; font-weight: 700; line-height: 1.7; white-space: pre-wrap; } .agreement-read-hint { color: #ff6a00; font-size: 12px; font-weight: 800; } .agreement-confirm-btn { margin-top: 4px; background: #ff6a00 !important; border: none !important; font-weight: 800; } /* ========== 空状态 ========== */ .empty-state { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 80px 0; color: #999; font-size: 14px; }