/* task-detail 系列页面共享样式 */ body { font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif; padding-bottom: 80px; } .section-title { position: relative; padding-left: 12px; } .section-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 16px; border-radius: 2px; } .section-title.blue::before { background: linear-gradient(180deg, #0052d9, #5b9cf8); } .section-title.green::before { background: linear-gradient(180deg, #00a870, #4cd964); } .section-title.orange::before { background: linear-gradient(180deg, #ed7b2f, #ffc107); } .section-title.purple::before { background: linear-gradient(180deg, #7c3aed, #a78bfa); } .section-title.pink::before { background: linear-gradient(180deg, #e91e63, #f48fb1); } /* 服务记录卡片 — 用于 task-detail 系列页面(参考 performance.html 风格升级) */ .svc-record { padding: 12px 14px; border-radius: 12px; border: 1px solid #eeeeee; background: linear-gradient(135deg, #fafafa 0%, #fff 100%); } .svc-record + .svc-record { margin-top: 8px; } .svc-record .svc-date { font-size: 11px; color: #8b8b8b; } .svc-record .svc-table { font-size: 12px; color: #0052d9; background: #ecf2fe; padding: 2px 8px; border-radius: 4px; font-weight: 500; } .svc-record .svc-duration { font-size: 13px; color: #393939; font-weight: 600; font-variant-numeric: tabular-nums; } .svc-record .svc-type { font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 500; } .svc-record .svc-type.basic { background: rgba(0,82,217,0.1); color: #0052d9; } .svc-record .svc-type.incentive { background: rgba(0,168,112,0.1); color: #00a870; } .svc-record .svc-drinks { font-size: 12px; color: #777777; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .svc-record .svc-income { font-size: 14px; font-weight: 700; color: #242424; font-variant-numeric: tabular-nums; } /* 近期服务记录区域背景 */ .svc-section-bg { background: #f3f3f3; border-radius: 12px; padding: 16px; margin-top: 8px; }