/* pages/order/orderDetail.wxss */ page { background-color: #f5f6fa; color: #1a1a2e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } .detail-page { min-height: 100vh; background: #f5f6fa; padding-bottom: 120rpx; } .loading-box { display: flex; align-items: center; justify-content: center; padding: 200rpx 0; } .loading-text { font-size: 28rpx; color: #a0a3bd; } /* === 顶部状态栏 === */ .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: linear-gradient(135deg, #e6a23c 0%, #f5b041 100%); } .status-header.status-confirmed { background: linear-gradient(135deg, #409eff 0%, #66b1ff 100%); } .status-header.status-in_progress { background: linear-gradient(135deg, #67c23a 0%, #85ce61 100%); } .status-header.status-completed { background: linear-gradient(135deg, #7c5cfc 0%, #9b7dff 100%); } .status-header.status-cancelled { background: linear-gradient(135deg, #b0b0b0 0%, #c0c0c0 100%); } .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 { font-size: 32rpx; font-weight: 700; color: #1a1a1a; margin-bottom: 16rpx; margin-left: 8rpx; letter-spacing: 1rpx; } .info-card { background: #ffffff; border-radius: 24rpx; padding: 28rpx; box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04); } .info-row { display: flex; align-items: baseline; margin-bottom: 16rpx; } .info-row:last-child { margin-bottom: 0; } .info-label { font-size: 24rpx; color: #a0a3bd; width: 140rpx; flex-shrink: 0; } .info-value { font-size: 26rpx; color: #3a3d5c; 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(26, 188, 156, 0.1); color: #1abc9c; } .patient-sex.female { background: rgba(234, 102, 150, 0.1); color: #ea6696; } .patient-age { font-size: 24rpx; color: #a0a3bd; } .patient-phone { font-size: 24rpx; color: #a0a3bd; } .call-icon { color: #1abc9c; font-weight: 500; } .divider { height: 1rpx; background: #f0f1f5; margin: 16rpx 0; } /* === 陪诊员信息 === */ .attendant-header { display: flex; align-items: center; gap: 20rpx; } .attendant-avatar { width: 80rpx; height: 80rpx; border-radius: 50%; background: linear-gradient(135deg, #2dd36f, #17c3a5); 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: #1a1a2e; } .attendant-phone { font-size: 24rpx; color: #a0a3bd; } /* === 费用信息 === */ .fee-value { font-size: 32rpx; font-weight: 700; color: #1a1a2e; font-family: 'DIN Alternate', 'Helvetica Neue', sans-serif; } /* === 备注信息 === */ .note-block { margin-bottom: 20rpx; } .note-block:last-child { margin-bottom: 0; } .note-label { display: block; font-size: 24rpx; color: #a0a3bd; margin-bottom: 8rpx; font-weight: 500; } .note-content { display: block; font-size: 26rpx; color: #3a3d5c; line-height: 1.6; } /* === 底部操作 === */ .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: linear-gradient(135deg, #2dd36f, #17c3a5); color: #fff; box-shadow: 0 4rpx 16rpx rgba(23, 195, 165, 0.3); } .btn-ghost { background: #f5f6fa; color: #a0a3bd; border: 1rpx solid #f0f1f5; }