/* pages/scan/result/index.wxss */ .page { min-height: 100vh; background-color: #f5f5f5; padding: 20rpx; } /* 加载状态 */ .loading { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 200rpx 0; } .loading-icon { font-size: 80rpx; margin-bottom: 20rpx; } .loading-text { font-size: 28rpx; color: #999; } /* 错误状态 */ .error { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 200rpx 0; } .error-icon { font-size: 80rpx; margin-bottom: 20rpx; } .error-text { font-size: 28rpx; color: #ff4d4f; } /* 预约详情 */ .record-detail { background-color: #fff; border-radius: 16rpx; overflow: hidden; } /* 头部 */ .detail-header { display: flex; align-items: center; justify-content: space-between; padding: 30rpx; border-bottom: 1rpx solid #f0f0f0; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); } .detail-header .title { font-size: 32rpx; font-weight: bold; color: #fff; } /* 状态标签 */ .status-tag { padding: 8rpx 20rpx; border-radius: 20rpx; font-size: 24rpx; color: #fff; } .status-pending { background-color: #faad14; } .status-approved { background-color: #52c41a; } .status-rejected { background-color: #ff4d4f; } .status-cancelled { background-color: #999; } /* 详情区块 */ .detail-section { padding: 30rpx; border-bottom: 1rpx solid #f0f0f0; } .detail-section:last-child { border-bottom: none; } .section-title { font-size: 28rpx; font-weight: bold; color: #333; margin-bottom: 20rpx; padding-left: 16rpx; border-left: 4rpx solid #1890ff; } .detail-row { display: flex; justify-content: space-between; align-items: center; padding: 20rpx 0; border-bottom: 1rpx solid #f5f5f5; } .detail-row:last-child { border-bottom: none; } .detail-label { font-size: 28rpx; color: #666; min-width: 180rpx; } .detail-value { flex: 1; font-size: 28rpx; color: #333; text-align: right; word-break: break-all; } /* 核销状态文字 */ .text-warning { color: #faad14; font-weight: bold; } .text-success { color: #52c41a; font-weight: bold; } /* 核销按钮 */ .verify-btn-wrap { padding-top: 20rpx; } .verify-btn { width: 100%; height: 80rpx; line-height: 80rpx; text-align: center; background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%); color: #fff; font-size: 30rpx; font-weight: bold; border-radius: 12rpx; } .verify-btn-disabled { opacity: 0.6; }