/* pages/order/orderDetail.wxss */ page { background-color: #FAF6F1; color: #2A211B; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } .detail-page { min-height: 100vh; background: #FAF6F1; padding-bottom: 120rpx; } .loading-box { display: flex; align-items: center; justify-content: center; padding: 200rpx 0; } .loading-text { font-size: 28rpx; color: #A3988B; } /* === 顶部状态栏 === */ .status-header { padding: 60rpx 40rpx 80rpx; position: relative; overflow: hidden; } .status-header::after { content: ''; position: absolute; top: -60rpx; right: -40rpx; width: 240rpx; height: 240rpx; border-radius: 50%; background: rgba(255, 255, 255, 0.03); } .status-header.status-pending { background: #D98E04; } .status-header.status-confirmed { background: #3E6E9E; } .status-header.status-in_progress { background: #B4552A; } .status-header.status-completed { background: #8A7BB5; } .status-header.status-cancelled { background: #BFB6AC; } .status-header.status-cancel_requested { background: #C0564A; } .status-content { position: relative; z-index: 1; } .status-text { display: block; font-size: 44rpx; font-weight: 700; color: #fff; letter-spacing: 2rpx; margin-bottom: 12rpx; } .status-desc { display: block; font-size: 26rpx; color: rgba(255, 255, 255, 0.7); font-weight: 300; } /* === 信息区块 === */ .info-section { margin: 24rpx 24rpx 0; } .section-title { position: relative; font-size: 30rpx; font-weight: 600; color: #2A211B; margin-bottom: 24rpx; margin-left: 20rpx; letter-spacing: 1rpx; } .section-title::before { content: ''; position: absolute; left: -20rpx; top: 50%; transform: translateY(-50%); width: 8rpx; height: 28rpx; border-radius: 4rpx; background: #C26A2E; } .info-card { background: #ffffff; border-radius: 24rpx; border: 1rpx solid rgba(90, 62, 42, 0.06); padding: 28rpx 32rpx; box-shadow: 0 6rpx 20rpx rgba(90, 62, 42, 0.07); } .info-row { display: flex; align-items: baseline; margin-bottom: 16rpx; } .info-row:last-child { margin-bottom: 0; } .info-label { font-size: 28rpx; color: #A3988B; width: 140rpx; flex-shrink: 0; } .info-value { font-size: 28rpx; color: #5C5044; flex: 1; } /* === 患者信息 === */ .info-card patient-info { display: block; } .patient-sex { font-size: 22rpx; padding: 4rpx 12rpx; border-radius: 10rpx; font-weight: 500; } .patient-sex.male { background: rgba(62, 110, 158, 0.1); color: #3E6E9E; } .patient-sex.female { background: rgba(232, 106, 138, 0.1); color: #E86A8A; } .patient-age { font-size: 26rpx; color: #A3988B; } .patient-phone { font-size: 26rpx; color: #A3988B; } .call-icon { color: #C26A2E; font-weight: 500; } .divider { height: 1rpx; background: #F0EAE2; margin: 16rpx 0; } /* === 陪诊员信息 === */ .attendant-header { display: flex; align-items: center; gap: 20rpx; } .attendant-avatar { width: 80rpx; height: 80rpx; border-radius: 50%; background: #C26A2E; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .avatar-text { font-size: 32rpx; font-weight: 700; color: #fff; } .attendant-info { flex: 1; display: flex; flex-direction: column; gap: 6rpx; } .attendant-name { font-size: 30rpx; font-weight: 600; color: #2A211B; } .attendant-phone { font-size: 26rpx; color: #A3988B; } /* === 费用信息 === */ .fee-value { font-size: 32rpx; font-weight: 700; color: #2A211B; font-family: 'DIN Alternate', 'Helvetica Neue', sans-serif; } /* === 备注信息 === */ .note-block { display: flex; align-items: baseline; margin-bottom: 16rpx; } .note-block:last-child { margin-bottom: 0; } .note-label { font-size: 26rpx; color: #A3988B; width: 140rpx; flex-shrink: 0; font-weight: 500; } .note-content { font-size: 26rpx; color: #5C5044; line-height: 1.6; flex: 1; } /* === 底部操作 === */ .bottom-actions { position: fixed; bottom: 0; left: 0; right: 0; background: #ffffff; padding: 24rpx 32rpx; padding-bottom: calc(24rpx + env(safe-area-inset-bottom)); box-shadow: 0 -4rpx 24rpx rgba(0, 0, 0, 0.06); display: flex; gap: 20rpx; z-index: 100; } .action-btn { flex: 1; padding: 24rpx 0; border-radius: 28rpx; font-size: 28rpx; font-weight: 600; text-align: center; } .btn-solid { background: #C26A2E; color: #fff; box-shadow: 0 4rpx 16rpx rgba(180, 85, 42, 0.3); } .btn-ghost { background: #FAF6F1; color: #A3988B; border: 1rpx solid #F0EAE2; }