/* 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, #f0b352 0%, #d99a2b 100%); } .status-header.status-confirmed { background: linear-gradient(135deg, #74a3c4 0%, #5c88a8 100%); } .status-header.status-in_progress { background: linear-gradient(135deg, #55b39c 0%, #43a08a 100%); } .status-header.status-completed { background: linear-gradient(135deg, #9a8ac4 0%, #8a7bb5 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 { position: relative; font-size: 30rpx; font-weight: 600; color: #1a1a1a; 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: linear-gradient(180deg, #2dd36f, #17c3a5); } .info-card { background: #ffffff; border-radius: 24rpx; border: 1rpx solid rgba(31, 61, 56, 0.06); padding: 28rpx 32rpx; box-shadow: 0 6rpx 20rpx rgba(31, 61, 56, 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: #a0a3bd; width: 140rpx; flex-shrink: 0; } .info-value { font-size: 28rpx; 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: 26rpx; color: #a0a3bd; } .patient-phone { font-size: 26rpx; 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: 26rpx; color: #a0a3bd; } /* === 费用信息 === */ .fee-value { font-size: 32rpx; font-weight: 700; color: #1a1a2e; 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: #a0a3bd; width: 140rpx; flex-shrink: 0; font-weight: 500; } .note-content { font-size: 26rpx; color: #3a3d5c; 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: 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; }