/* pages/project/detail.wxss */
|
.container {
|
background-color: #f5f5f5;
|
min-height: 100vh;
|
padding: 20rpx;
|
}
|
|
/* 卡片通用样式 */
|
.project-card,
|
.attachments-card,
|
.player-card,
|
.rating-card,
|
.feedback-card {
|
background-color: #ffffff;
|
border-radius: 16rpx;
|
margin-bottom: 20rpx;
|
padding: 30rpx;
|
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1);
|
}
|
|
.card-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: 30rpx;
|
padding-bottom: 20rpx;
|
border-bottom: 2rpx solid #f0f0f0;
|
}
|
|
.card-title {
|
font-size: 36rpx;
|
font-weight: 600;
|
color: #333333;
|
}
|
|
/* 状态标签 */
|
.status-tag {
|
padding: 8rpx 16rpx;
|
border-radius: 20rpx;
|
font-size: 24rpx;
|
font-weight: 500;
|
}
|
|
/* 未审核 - 灰色 */
|
.status-0 {
|
background-color: #f4f4f5;
|
color: #909399;
|
}
|
|
/* 审核通过 - 绿色 */
|
.status-1 {
|
background-color: #f0f9ff;
|
color: #67c23a;
|
}
|
|
/* 审核不通过 - 红色 */
|
.status-2 {
|
background-color: #fef0f0;
|
color: #f56c6c;
|
}
|
|
/* 项目信息 */
|
.project-info {
|
display: flex;
|
flex-direction: column;
|
gap: 24rpx;
|
}
|
|
.info-row {
|
display: flex;
|
align-items: flex-start;
|
gap: 20rpx;
|
}
|
|
.info-row.full-width {
|
flex-direction: column;
|
gap: 12rpx;
|
}
|
|
.label {
|
font-size: 28rpx;
|
color: #666666;
|
font-weight: 500;
|
min-width: 140rpx;
|
flex-shrink: 0;
|
}
|
|
.value {
|
font-size: 28rpx;
|
color: #333333;
|
flex: 1;
|
line-height: 1.5;
|
}
|
|
.description {
|
font-size: 28rpx;
|
color: #333333;
|
line-height: 1.6;
|
padding: 20rpx;
|
background-color: #f8f9fa;
|
border-radius: 12rpx;
|
border-left: 6rpx solid #4CAF50;
|
}
|
|
/* 附件列表 */
|
.attachments-list {
|
display: flex;
|
flex-direction: column;
|
gap: 20rpx;
|
}
|
|
.attachment-item {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
padding: 24rpx;
|
background-color: #f8f9fa;
|
border-radius: 12rpx;
|
border: 2rpx solid #e0e0e0;
|
transition: all 0.3s ease;
|
}
|
|
.attachment-item:active {
|
background-color: #e8f5e8;
|
border-color: #4CAF50;
|
}
|
|
.file-info {
|
display: flex;
|
align-items: center;
|
gap: 20rpx;
|
flex: 1;
|
}
|
|
/* 文件预览样式 */
|
.file-preview {
|
position: relative;
|
width: 80rpx;
|
height: 80rpx;
|
border-radius: 12rpx;
|
overflow: hidden;
|
}
|
|
.preview-image {
|
width: 100%;
|
height: 100%;
|
border-radius: 12rpx;
|
}
|
|
.media-type-badge {
|
position: absolute;
|
top: 4rpx;
|
right: 4rpx;
|
padding: 2rpx 6rpx;
|
border-radius: 8rpx;
|
font-size: 20rpx;
|
color: #ffffff;
|
font-weight: 500;
|
}
|
|
.image-badge {
|
background-color: rgba(76, 175, 80, 0.8);
|
}
|
|
.video-badge {
|
background-color: rgba(255, 152, 0, 0.8);
|
}
|
|
.play-icon {
|
position: absolute;
|
top: 50%;
|
left: 50%;
|
transform: translate(-50%, -50%);
|
width: 24rpx;
|
height: 24rpx;
|
color: #ffffff;
|
font-size: 20rpx;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
background-color: rgba(0, 0, 0, 0.6);
|
border-radius: 50%;
|
padding: 4rpx;
|
}
|
|
.file-icon {
|
width: 60rpx;
|
height: 60rpx;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
background-color: #4CAF50;
|
border-radius: 12rpx;
|
}
|
|
.icon-file {
|
font-size: 32rpx;
|
color: #ffffff;
|
}
|
|
.file-details {
|
display: flex;
|
flex-direction: column;
|
gap: 8rpx;
|
flex: 1;
|
}
|
|
.file-name {
|
font-size: 28rpx;
|
color: #333333;
|
font-weight: 500;
|
line-height: 1.3;
|
}
|
|
.file-size {
|
font-size: 24rpx;
|
color: #999999;
|
}
|
|
.file-actions {
|
display: flex;
|
align-items: center;
|
}
|
|
.action-btn {
|
font-size: 26rpx;
|
color: #4CAF50;
|
font-weight: 500;
|
}
|
|
/* 参赛人信息 */
|
.player-info {
|
display: flex;
|
flex-direction: column;
|
gap: 30rpx;
|
}
|
|
.player-basic {
|
display: flex;
|
align-items: center;
|
gap: 24rpx;
|
}
|
|
.player-avatar {
|
width: 120rpx;
|
height: 120rpx;
|
border-radius: 60rpx;
|
border: 4rpx solid #e0e0e0;
|
}
|
|
.player-details {
|
display: flex;
|
flex-direction: column;
|
gap: 12rpx;
|
flex: 1;
|
}
|
|
.player-name {
|
font-size: 32rpx;
|
color: #333333;
|
font-weight: 600;
|
}
|
|
.player-phone {
|
font-size: 28rpx;
|
color: #666666;
|
}
|
|
.player-extended {
|
display: flex;
|
flex-direction: column;
|
gap: 20rpx;
|
padding-top: 20rpx;
|
border-top: 2rpx solid #f0f0f0;
|
}
|
|
/* 评审信息 */
|
.rating-info {
|
display: flex;
|
flex-direction: column;
|
gap: 30rpx;
|
}
|
|
/* 总平均分区域 */
|
.average-score-section {
|
padding: 30rpx;
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
border-radius: 16rpx;
|
text-align: center;
|
}
|
|
.average-score-container {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
gap: 12rpx;
|
}
|
|
.average-score-label {
|
font-size: 28rpx;
|
color: #ffffff;
|
opacity: 0.9;
|
}
|
|
.average-score-value {
|
font-size: 48rpx;
|
color: #ffffff;
|
font-weight: 700;
|
text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.2);
|
}
|
|
.rating-count-text {
|
font-size: 24rpx;
|
color: #ffffff;
|
opacity: 0.8;
|
}
|
|
/* 评委评分区域 */
|
.judge-ratings-section {
|
display: flex;
|
flex-direction: column;
|
gap: 20rpx;
|
}
|
|
.rating-item {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
gap: 12rpx;
|
}
|
|
.rating-label {
|
font-size: 26rpx;
|
color: #666666;
|
}
|
|
.rating-score {
|
font-size: 36rpx;
|
color: #4CAF50;
|
font-weight: 600;
|
}
|
|
.rating-count {
|
font-size: 32rpx;
|
color: #333333;
|
font-weight: 600;
|
}
|
|
.rating-details {
|
display: flex;
|
flex-direction: column;
|
gap: 20rpx;
|
}
|
|
.section-title {
|
font-size: 30rpx;
|
color: #333333;
|
font-weight: 600;
|
margin-bottom: 10rpx;
|
}
|
|
.judge-rating {
|
display: flex;
|
flex-direction: column;
|
gap: 16rpx;
|
padding: 24rpx;
|
background-color: #f8f9fa;
|
border-radius: 12rpx;
|
border-left: 6rpx solid #4CAF50;
|
}
|
|
.rating-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
}
|
|
.judge-info {
|
display: flex;
|
align-items: center;
|
gap: 16rpx;
|
}
|
|
.judge-label {
|
font-size: 28rpx;
|
color: #333333;
|
font-weight: 600;
|
}
|
|
.rating-status {
|
font-size: 24rpx;
|
padding: 4rpx 12rpx;
|
border-radius: 12rpx;
|
}
|
|
.rating-status.rated {
|
background-color: #e8f5e8;
|
color: #4CAF50;
|
}
|
|
.rating-status.pending {
|
background-color: #fff3cd;
|
color: #856404;
|
}
|
|
.score-info {
|
display: flex;
|
flex-direction: column;
|
align-items: flex-end;
|
gap: 8rpx;
|
}
|
|
.rating-comment {
|
display: flex;
|
flex-direction: column;
|
gap: 8rpx;
|
padding-top: 16rpx;
|
border-top: 2rpx solid #e0e0e0;
|
}
|
|
.comment-label {
|
font-size: 26rpx;
|
color: #666666;
|
font-weight: 500;
|
}
|
|
.comment-text {
|
font-size: 28rpx;
|
color: #333333;
|
line-height: 1.5;
|
padding: 16rpx;
|
background-color: #ffffff;
|
border-radius: 8rpx;
|
border: 2rpx solid #e0e0e0;
|
}
|
|
.score {
|
font-size: 32rpx;
|
color: #4CAF50;
|
font-weight: 600;
|
}
|
|
.rating-time {
|
font-size: 24rpx;
|
color: #999999;
|
}
|
|
/* 反馈信息 */
|
.feedback-content {
|
font-size: 28rpx;
|
color: #333333;
|
line-height: 1.6;
|
padding: 20rpx;
|
background-color: #f8f9fa;
|
border-radius: 12rpx;
|
border-left: 6rpx solid #409eff;
|
}
|
|
/* 加载状态 */
|
.loading-container {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
min-height: 60vh;
|
gap: 30rpx;
|
}
|
|
.loading-spinner {
|
width: 60rpx;
|
height: 60rpx;
|
border: 6rpx solid #f0f0f0;
|
border-top: 6rpx solid #4CAF50;
|
border-radius: 50%;
|
animation: spin 1s linear infinite;
|
}
|
|
@keyframes spin {
|
0% { transform: rotate(0deg); }
|
100% { transform: rotate(360deg); }
|
}
|
|
.loading-text {
|
font-size: 28rpx;
|
color: #666666;
|
}
|
|
/* 错误状态 */
|
.error-container {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
min-height: 60vh;
|
gap: 30rpx;
|
padding: 40rpx;
|
}
|
|
.error-icon {
|
font-size: 80rpx;
|
}
|
|
.error-text {
|
font-size: 28rpx;
|
color: #666666;
|
text-align: center;
|
}
|
|
.retry-btn {
|
padding: 20rpx 40rpx;
|
background-color: #4CAF50;
|
color: #ffffff;
|
border: none;
|
border-radius: 40rpx;
|
font-size: 28rpx;
|
}
|
|
.retry-btn::after {
|
border: none;
|
}
|
|
/* 响应式适配 */
|
@media (max-width: 375px) {
|
.container {
|
padding: 15rpx;
|
}
|
|
.project-card,
|
.attachments-card,
|
.player-card,
|
.rating-card,
|
.feedback-card {
|
padding: 25rpx;
|
}
|
|
.card-title {
|
font-size: 32rpx;
|
}
|
}
|