/* pages/judge/review.wxss */
|
.container {
|
min-height: 100vh;
|
background-color: #f5f5f5;
|
padding-bottom: 120rpx;
|
}
|
|
/* 加载状态 */
|
.loading-container {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
height: 60vh;
|
}
|
|
.loading-spinner {
|
width: 40rpx;
|
height: 40rpx;
|
border: 4rpx solid #e0e0e0;
|
border-top: 4rpx solid #007aff;
|
border-radius: 50%;
|
animation: spin 1s linear infinite;
|
margin-bottom: 20rpx;
|
}
|
|
.loading-text {
|
font-size: 28rpx;
|
color: #666;
|
}
|
|
@keyframes spin {
|
0% { transform: rotate(0deg); }
|
100% { transform: rotate(360deg); }
|
}
|
|
/* 评审内容 */
|
.review-content {
|
padding: 30rpx;
|
}
|
|
/* 通用样式 */
|
.section-title {
|
font-size: 32rpx;
|
font-weight: 600;
|
color: #333;
|
margin-bottom: 30rpx;
|
display: block;
|
}
|
|
/* 作品信息 */
|
.submission-info {
|
background-color: #fff;
|
border-radius: 16rpx;
|
padding: 30rpx;
|
margin-bottom: 30rpx;
|
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1);
|
}
|
|
.info-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: 30rpx;
|
}
|
|
.info-title {
|
font-size: 32rpx;
|
font-weight: 600;
|
color: #333;
|
}
|
|
.status-badge {
|
padding: 8rpx 20rpx;
|
border-radius: 20rpx;
|
font-size: 24rpx;
|
font-weight: 500;
|
}
|
|
.status-badge.pending {
|
background-color: #fff3cd;
|
color: #856404;
|
}
|
|
.status-badge.completed {
|
background-color: #d4edda;
|
color: #155724;
|
}
|
|
.submission-detail {
|
display: flex;
|
flex-direction: column;
|
gap: 20rpx;
|
}
|
|
.submission-title {
|
font-size: 30rpx;
|
font-weight: 600;
|
color: #333;
|
line-height: 1.4;
|
}
|
|
.submission-desc {
|
font-size: 28rpx;
|
color: #666;
|
line-height: 1.5;
|
}
|
|
.participant-info {
|
border-top: 1rpx solid #e0e0e0;
|
padding-top: 20rpx;
|
}
|
|
.participant-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: 20rpx;
|
}
|
|
.participant-label {
|
font-size: 26rpx;
|
color: #666;
|
font-weight: 500;
|
}
|
|
.contact-btn {
|
display: flex;
|
align-items: center;
|
gap: 8rpx;
|
padding: 8rpx 16rpx;
|
background-color: #007aff;
|
color: #fff;
|
border-radius: 16rpx;
|
font-size: 22rpx;
|
}
|
|
.contact-icon {
|
font-size: 20rpx;
|
}
|
|
.participant-detail {
|
display: flex;
|
align-items: center;
|
gap: 20rpx;
|
}
|
|
.participant-avatar {
|
width: 80rpx;
|
height: 80rpx;
|
border-radius: 40rpx;
|
}
|
|
.participant-text {
|
flex: 1;
|
display: flex;
|
flex-direction: column;
|
gap: 8rpx;
|
}
|
|
.participant-name {
|
font-size: 28rpx;
|
font-weight: 500;
|
color: #333;
|
}
|
|
.participant-school {
|
font-size: 24rpx;
|
color: #666;
|
}
|
|
.team-info {
|
margin-top: 20rpx;
|
padding-top: 20rpx;
|
border-top: 1rpx solid #f0f0f0;
|
}
|
|
.team-label {
|
font-size: 26rpx;
|
color: #666;
|
font-weight: 500;
|
margin-bottom: 16rpx;
|
display: block;
|
}
|
|
.team-members {
|
display: flex;
|
flex-wrap: wrap;
|
gap: 16rpx;
|
}
|
|
.team-member {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
padding: 12rpx 20rpx;
|
background-color: #f8f9fa;
|
border-radius: 12rpx;
|
}
|
|
.member-name {
|
font-size: 24rpx;
|
color: #333;
|
font-weight: 500;
|
}
|
|
.member-role {
|
font-size: 20rpx;
|
color: #666;
|
margin-top: 4rpx;
|
}
|
|
.submit-time {
|
font-size: 24rpx;
|
color: #999;
|
margin-top: 10rpx;
|
}
|
|
/* 媒体展示 */
|
.media-section {
|
background-color: #fff;
|
border-radius: 16rpx;
|
padding: 30rpx;
|
margin-bottom: 30rpx;
|
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1);
|
}
|
|
.media-grid {
|
display: grid;
|
grid-template-columns: repeat(2, 1fr);
|
gap: 20rpx;
|
}
|
|
.media-item {
|
position: relative;
|
border-radius: 12rpx;
|
overflow: hidden;
|
aspect-ratio: 1;
|
}
|
|
.media-image,
|
.media-video {
|
width: 100%;
|
height: 100%;
|
object-fit: cover;
|
}
|
|
.play-overlay {
|
position: absolute;
|
top: 50%;
|
left: 50%;
|
transform: translate(-50%, -50%);
|
width: 60rpx;
|
height: 60rpx;
|
background-color: rgba(0, 0, 0, 0.6);
|
border-radius: 50%;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
}
|
|
.play-icon {
|
color: #fff;
|
font-size: 24rpx;
|
margin-left: 4rpx;
|
}
|
|
/* 文件列表 */
|
.files-section {
|
background-color: #fff;
|
border-radius: 16rpx;
|
padding: 30rpx;
|
margin-bottom: 30rpx;
|
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1);
|
}
|
|
.file-list {
|
display: flex;
|
flex-direction: column;
|
gap: 20rpx;
|
}
|
|
.file-item {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
padding: 20rpx;
|
background-color: #f8f9fa;
|
border-radius: 12rpx;
|
}
|
|
.file-info {
|
display: flex;
|
align-items: center;
|
gap: 16rpx;
|
flex: 1;
|
min-width: 0;
|
}
|
|
.file-icon {
|
font-size: 32rpx;
|
}
|
|
.file-detail {
|
flex: 1;
|
min-width: 0;
|
display: flex;
|
flex-direction: column;
|
gap: 4rpx;
|
}
|
|
.file-name {
|
font-size: 26rpx;
|
color: #333;
|
font-weight: 500;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
}
|
|
.file-size {
|
font-size: 22rpx;
|
color: #666;
|
}
|
|
.download-btn {
|
display: flex;
|
align-items: center;
|
gap: 8rpx;
|
padding: 12rpx 20rpx;
|
background-color: #007aff;
|
color: #fff;
|
border-radius: 20rpx;
|
font-size: 22rpx;
|
transition: all 0.3s ease;
|
}
|
|
.download-btn.downloading {
|
background-color: #6c757d;
|
}
|
|
.download-icon {
|
font-size: 20rpx;
|
}
|
|
/* 评审标准 */
|
.criteria-section {
|
background-color: #fff;
|
border-radius: 16rpx;
|
padding: 30rpx;
|
margin-bottom: 30rpx;
|
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1);
|
}
|
|
.criteria-list {
|
display: flex;
|
flex-direction: column;
|
gap: 30rpx;
|
margin-bottom: 30rpx;
|
}
|
|
.criterion-item {
|
padding: 24rpx;
|
background-color: #f8f9fa;
|
border-radius: 12rpx;
|
}
|
|
.criterion-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: 12rpx;
|
}
|
|
.criterion-name {
|
font-size: 28rpx;
|
font-weight: 600;
|
color: #333;
|
}
|
|
.criterion-score {
|
font-size: 26rpx;
|
color: #007aff;
|
font-weight: 600;
|
}
|
|
.criterion-desc {
|
font-size: 24rpx;
|
color: #666;
|
line-height: 1.4;
|
margin-bottom: 20rpx;
|
display: block;
|
}
|
|
.score-selector {
|
width: 100%;
|
}
|
|
.score-picker {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
padding: 16rpx 20rpx;
|
background-color: #fff;
|
border: 2rpx solid #e0e0e0;
|
border-radius: 8rpx;
|
font-size: 26rpx;
|
}
|
|
.score-picker.disabled {
|
background-color: #f5f5f5;
|
color: #999;
|
}
|
|
.score-text {
|
color: #333;
|
}
|
|
.picker-arrow {
|
color: #999;
|
font-size: 20rpx;
|
}
|
|
.total-score {
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
gap: 16rpx;
|
padding: 24rpx;
|
background-color: #e3f2fd;
|
border-radius: 12rpx;
|
border: 2rpx solid #007aff;
|
}
|
|
.total-label {
|
font-size: 30rpx;
|
color: #333;
|
font-weight: 600;
|
}
|
|
.total-value {
|
font-size: 32rpx;
|
color: #007aff;
|
font-weight: 700;
|
}
|
|
/* 评审意见 */
|
.comment-section {
|
background-color: #fff;
|
border-radius: 16rpx;
|
padding: 30rpx;
|
margin-bottom: 30rpx;
|
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1);
|
}
|
|
.comment-input {
|
width: 100%;
|
min-height: 200rpx;
|
padding: 20rpx;
|
background-color: #f8f9fa;
|
border: 2rpx solid #e0e0e0;
|
border-radius: 12rpx;
|
font-size: 26rpx;
|
line-height: 1.5;
|
color: #333;
|
box-sizing: border-box;
|
}
|
|
.comment-input.disabled {
|
background-color: #f5f5f5;
|
color: #999;
|
}
|
|
.comment-counter {
|
display: flex;
|
justify-content: flex-end;
|
margin-top: 12rpx;
|
}
|
|
.counter-text {
|
font-size: 22rpx;
|
color: #999;
|
}
|
|
/* 已有评审记录 */
|
.existing-review {
|
background-color: #fff;
|
border-radius: 16rpx;
|
padding: 30rpx;
|
margin-bottom: 30rpx;
|
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1);
|
}
|
|
.review-info {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: 20rpx;
|
padding: 20rpx;
|
background-color: #f8f9fa;
|
border-radius: 12rpx;
|
}
|
|
.review-time,
|
.review-total {
|
font-size: 24rpx;
|
color: #666;
|
}
|
|
.other-reviews-btn {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 12rpx;
|
padding: 16rpx;
|
background-color: #007aff;
|
color: #fff;
|
border-radius: 12rpx;
|
font-size: 26rpx;
|
}
|
|
.other-reviews-icon {
|
font-size: 24rpx;
|
}
|
|
/* 底部操作栏 */
|
.bottom-actions {
|
position: fixed;
|
bottom: 0;
|
left: 0;
|
right: 0;
|
display: flex;
|
gap: 20rpx;
|
padding: 20rpx 30rpx;
|
background-color: #fff;
|
border-top: 1rpx solid #e0e0e0;
|
box-shadow: 0 -2rpx 12rpx rgba(0, 0, 0, 0.1);
|
}
|
|
.action-btn {
|
flex: 1;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 12rpx;
|
padding: 20rpx;
|
border-radius: 12rpx;
|
font-size: 28rpx;
|
font-weight: 500;
|
transition: all 0.3s ease;
|
}
|
|
.draft-btn {
|
background-color: #6c757d;
|
color: #fff;
|
}
|
|
.submit-btn {
|
background-color: #28a745;
|
color: #fff;
|
}
|
|
.submit-btn.submitting {
|
background-color: #6c757d;
|
}
|
|
.btn-icon {
|
font-size: 24rpx;
|
}
|
|
/* 视频预览模态框 */
|
.media-preview-modal {
|
position: fixed;
|
top: 0;
|
left: 0;
|
right: 0;
|
bottom: 0;
|
z-index: 1000;
|
}
|
|
.modal-overlay {
|
position: absolute;
|
top: 0;
|
left: 0;
|
right: 0;
|
bottom: 0;
|
background-color: rgba(0, 0, 0, 0.8);
|
}
|
|
.modal-content {
|
position: absolute;
|
top: 50%;
|
left: 50%;
|
transform: translate(-50%, -50%);
|
width: 90%;
|
max-width: 600rpx;
|
background-color: #fff;
|
border-radius: 16rpx;
|
overflow: hidden;
|
}
|
|
.modal-header {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
padding: 20rpx 30rpx;
|
border-bottom: 1rpx solid #e0e0e0;
|
}
|
|
.modal-title {
|
font-size: 30rpx;
|
font-weight: 600;
|
color: #333;
|
}
|
|
.close-btn {
|
width: 60rpx;
|
height: 60rpx;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
border-radius: 50%;
|
background-color: #f8f9fa;
|
}
|
|
.close-icon {
|
font-size: 24rpx;
|
color: #666;
|
}
|
|
.modal-body {
|
padding: 30rpx;
|
}
|
|
.preview-video {
|
width: 100%;
|
height: 400rpx;
|
border-radius: 12rpx;
|
}
|
|
/* 响应式适配 */
|
@media (max-width: 375px) {
|
.container {
|
padding-bottom: 100rpx;
|
}
|
|
.review-content {
|
padding: 20rpx;
|
}
|
|
.submission-info,
|
.media-section,
|
.files-section,
|
.criteria-section,
|
.comment-section,
|
.existing-review {
|
padding: 20rpx;
|
margin-bottom: 20rpx;
|
}
|
|
.media-grid {
|
grid-template-columns: 1fr;
|
}
|
|
.bottom-actions {
|
padding: 15rpx 20rpx;
|
}
|
}
|