@import '../../../styles/variables.scss'; .orders-page { min-height: 100vh; background: $bg; padding-bottom: 40px; } /* ===== 状态筛选标签 ===== */ .status-tabs { display: flex; gap: 0; padding: 20px 24px 0; background: $card; margin-bottom: 16px; } .status-tab { flex: 1; text-align: center; padding: 16px 0; position: relative; &.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 48px; height: 4px; background: $pri; border-radius: 2px; } } .status-tab-text { font-size: 28px; color: $tx2; &.active { color: $pri; font-weight: bold; } } /* ===== 订单列表 ===== */ .order-list { padding: 0 24px; } .order-card { background: $card; border-radius: $r; margin-bottom: 16px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); } .order-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 24px 16px; border-bottom: 1px solid $bd-l; } .order-product { font-size: 28px; font-weight: bold; color: $tx; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .order-status { padding: 4px 16px; border-radius: 20px; margin-left: 12px; flex-shrink: 0; &.status-pending { background: $wrn-l; .order-status-text { color: $wrn; } } &.status-verified { background: $acc-l; .order-status-text { color: $acc; } } &.status-cancelled { background: $dan-l; .order-status-text { color: $dan; } } &.status-expired { background: $bd-l; .order-status-text { color: $tx3; } } } .order-status-text { font-size: 22px; font-weight: bold; } .order-body { padding: 16px 24px 20px; } .order-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; } .order-row-label { font-size: 26px; color: $tx3; } .order-row-value { font-size: 26px; color: $tx; &.cost { color: $wrn; font-weight: bold; } } /* ===== 核销码 ===== */ .order-qrcode { display: flex; align-items: center; padding: 16px; margin-top: 12px; background: $pri-l; border-radius: $r-sm; } .qrcode-label { font-size: 24px; color: $tx3; } .qrcode-value { font-size: 24px; color: $pri; font-weight: bold; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .qrcode-tap { font-size: 22px; color: $pri; margin-left: 8px; flex-shrink: 0; }