Files
2026-04-29 18:29:50 +08:00

181 lines
2.6 KiB
Plaintext

/* 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: #5b9bd5;
}
.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;
}
/* 核销区块 */
.check-section {
padding: 30rpx;
border-top: 1rpx solid #f0f0f0;
}
.check-status {
font-size: 28rpx;
font-weight: bold;
padding: 6rpx 16rpx;
border-radius: 8rpx;
}
.check-status.checked {
color: #52c41a;
background-color: #f6ffed;
}
.check-status.unchecked {
color: #faad14;
background-color: #fffbe6;
}
.verify-btn {
margin-top: 30rpx;
background: #5b9bd5;
color: #fff;
border-radius: 12rpx;
font-size: 30rpx;
height: 88rpx;
line-height: 88rpx;
}
.verify-btn::after {
border: none;
}
.verified-tip {
margin-top: 24rpx;
text-align: center;
font-size: 24rpx;
color: #999;
padding: 16rpx 0;
}