.mobile-detail { min-height: 100dvh; background: #f5f7fa; padding-bottom: calc(80px + env(safe-area-inset-bottom)); } /* ========== 顶部导航 ========== */ .page-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; height: 48px; padding: 0 12px; background: #fff; border-bottom: 1px solid #eee; } .page-header h1 { flex: 1; margin: 0; font-size: 17px; font-weight: 700; text-align: center; } .back-btn, .favorite-header-btn { display: grid; width: 36px; height: 36px; place-items: center; border: none; background: none; color: #333; cursor: pointer; } .favorite-header-btn { color: #ff6a00; } .header-spacer { width: 36px; } .center-loading { display: flex; justify-content: center; padding: 60px 0; } /* ========== 防骗提示 ========== */ .fraud-tip { display: flex; align-items: center; gap: 6px; padding: 8px 16px; background: #fff8e1; font-size: 11px; color: #e65100; line-height: 1.4; } /* ========== 封面图 ========== */ .cover-area { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #e8e8e8; overflow: hidden; } .cover-img { width: 100%; height: 100%; cursor: zoom-in; } .cover-img :deep(.el-image__inner) { width: 100%; height: 100%; object-fit: cover; } .cover-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #999; font-size: 12px; } .cover-count { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 8px; background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 11px; } /* ========== 信息卡片 ========== */ .info-card { margin: 10px 12px; padding: 14px; background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); } .info-tag-row { display: flex; gap: 6px; margin-bottom: 8px; } .mobile-code-chip { margin-bottom: 8px; padding: 4px 9px; border: 1px solid #dbeafe; border-radius: 999px; background: #eff6ff; color: #2563eb; font-size: 12px; font-weight: 800; } .mobile-favorite-chip { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; margin-bottom: 8px; padding: 4px 9px; border: 1px solid #fed7aa; border-radius: 999px; background: #fff7ed; color: #ff6a00; font-size: 12px; font-weight: 800; } .detail-title { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: #1a1a1a; line-height: 1.35; } .detail-desc { margin: 0; font-size: 13px; color: #666; line-height: 1.5; } /* ========== 资产指标 ========== */ .metric-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0 12px; } .metric-item { background: #fff; border-radius: 10px; padding: 10px 4px; text-align: center; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); } .metric-label { display: block; font-size: 11px; color: #999; margin-bottom: 4px; } .metric-value { display: block; overflow: hidden; font-size: 15px; color: #1a1a1a; text-overflow: ellipsis; white-space: nowrap; } .metric-value.coin { color: #1477ff; } .metric-value.price { color: #ff5f00; } /* ========== 账号资料 ========== */ .info-line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 13px; } .info-line:last-child { border-bottom: none; } .info-label { color: #999; } .info-text { color: #333; font-weight: 500; } /* ========== 截图列表 ========== */ .card-subtitle { margin: 0 0 10px; font-size: 14px; font-weight: 700; } .detail-chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; } .detail-chip-row span { display: inline-flex; align-items: center; min-height: 28px; border: 1px solid #ff8a1f; border-radius: 5px; color: #ff7900; padding: 0 7px; font-size: 12px; font-weight: 800; } .resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .resource-pill { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; border-radius: 8px; background: #f7f9fc; padding: 10px; } .resource-pill span { min-width: 0; color: #5f6b7a; font-size: 12px; font-weight: 700; } .resource-pill strong { color: #17233d; font-size: 14px; } .resource-pill em { display: flex; align-items: center; justify-content: space-between; gap: 6px; grid-column: 1 / -1; font-size: 11px; font-style: normal; font-weight: 800; } .resource-pill em b { color: #ff7900; } .resource-pill em small { min-width: 0; color: #17233d; font-size: 11px; font-weight: 800; text-align: right; } .skin-detail-group + .skin-detail-group { margin-top: 12px; } .skin-detail-group p { margin: 0 0 8px; color: #5f6b7a; font-size: 12px; font-weight: 900; } .screenshot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; } .screenshot-item { margin: 0; } .screenshot-thumb { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: #f8fafc; cursor: pointer; } .screenshot-thumb :deep(.el-image__inner) { width: 100%; height: 100%; object-fit: cover; } .screenshot-item figcaption { margin-top: 4px; color: #6b7280; font-size: 11px; font-weight: 700; text-align: center; } /* ========== 底部留白 ========== */ .bottom-spacer { height: 20px; } /* ========== 底部下单栏 ========== */ .order-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; display: flex; align-items: center; gap: 10px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #eee; box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04); } .order-bar-left { flex: 1; display: flex; flex-direction: column; gap: 2px; } .order-price { display: flex; align-items: baseline; gap: 4px; } .price-label { font-size: 11px; color: #999; } .price-amount { font-size: 18px; font-weight: 900; color: #ff5f00; } .order-price-detail { display: flex; flex-wrap: wrap; gap: 4px 8px; color: #8a5a12; font-size: 10px; font-weight: 700; line-height: 1.3; } .order-btn { flex-shrink: 0; padding: 0 20px; height: 40px; font-size: 14px; font-weight: 700; background: #ff6a00 !important; border: none !important; } .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; }