/* pages/review/index.wxss */
|
|
/* 容器样式 */
|
.container {
|
min-height: 100vh;
|
background: #f5f5f5;
|
}
|
|
/* 加载状态 */
|
.loading-wrapper {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
padding: 120rpx 0;
|
}
|
|
.loading-text {
|
font-size: 28rpx;
|
color: #999999;
|
}
|
|
/* 主要内容 */
|
.content {
|
padding-bottom: 40rpx;
|
}
|
|
/* 选项卡样式 */
|
.tabs-container {
|
background: white;
|
border-bottom: 1rpx solid #e0e0e0;
|
position: sticky;
|
top: 0;
|
z-index: 100;
|
}
|
|
.tabs {
|
display: flex;
|
align-items: center;
|
}
|
|
.tab-item {
|
flex: 1;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
padding: 30rpx 20rpx;
|
position: relative;
|
transition: all 0.3s ease;
|
}
|
|
.tab-item.active {
|
color: #667eea;
|
}
|
|
.tab-item.active::after {
|
content: '';
|
position: absolute;
|
bottom: 0;
|
left: 50%;
|
transform: translateX(-50%);
|
width: 60rpx;
|
height: 4rpx;
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
border-radius: 2rpx;
|
}
|
|
.tab-text {
|
font-size: 30rpx;
|
font-weight: 500;
|
}
|
|
.tab-badge {
|
position: absolute;
|
top: 20rpx;
|
right: 20rpx;
|
min-width: 32rpx;
|
height: 32rpx;
|
background: #ff4757;
|
border-radius: 16rpx;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
font-size: 20rpx;
|
color: white;
|
padding: 0 8rpx;
|
font-weight: bold;
|
}
|
|
/* 搜索框样式 */
|
.search-container {
|
padding: 30rpx;
|
background: white;
|
border-bottom: 1rpx solid #e0e0e0;
|
}
|
|
.search-box {
|
display: flex;
|
align-items: center;
|
background: #f8f9fa;
|
border-radius: 24rpx;
|
padding: 0 30rpx;
|
height: 80rpx;
|
}
|
|
.search-icon {
|
font-size: 32rpx;
|
color: #999;
|
margin-right: 20rpx;
|
}
|
|
.search-input {
|
flex: 1;
|
font-size: 28rpx;
|
color: #333;
|
}
|
|
.search-clear {
|
width: 40rpx;
|
height: 40rpx;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
background: #ccc;
|
border-radius: 20rpx;
|
margin-left: 20rpx;
|
}
|
|
.clear-icon {
|
font-size: 24rpx;
|
color: white;
|
}
|
|
/* 项目列表样式 */
|
.project-list {
|
padding: 0 30rpx;
|
margin-top: 20rpx;
|
}
|
|
/* 空状态 */
|
.empty-state {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
padding: 120rpx 40rpx;
|
background: white;
|
border-radius: 16rpx;
|
margin-bottom: 20rpx;
|
}
|
|
.empty-icon {
|
font-size: 80rpx;
|
margin-bottom: 24rpx;
|
opacity: 0.5;
|
}
|
|
.empty-text {
|
font-size: 32rpx;
|
font-weight: 600;
|
color: #666;
|
margin-bottom: 12rpx;
|
}
|
|
.empty-desc {
|
font-size: 26rpx;
|
color: #999;
|
text-align: center;
|
line-height: 1.5;
|
}
|
|
/* 项目卡片样式 */
|
.project-card {
|
display: flex;
|
align-items: center;
|
padding: 30rpx;
|
margin-bottom: 20rpx;
|
background: white;
|
border-radius: 16rpx;
|
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
|
transition: all 0.3s ease;
|
}
|
|
.project-card:active {
|
transform: scale(0.98);
|
background: #f8f9fa;
|
}
|
|
.project-info {
|
flex: 1;
|
margin-right: 20rpx;
|
}
|
|
.project-header {
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
margin-bottom: 16rpx;
|
}
|
|
.project-name {
|
font-size: 32rpx;
|
font-weight: 600;
|
color: #1a1a1a;
|
flex: 1;
|
margin-right: 20rpx;
|
}
|
|
.review-count {
|
flex-shrink: 0;
|
display: flex;
|
align-items: center;
|
padding: 6rpx 12rpx;
|
background: #f1f5ff;
|
border-radius: 12rpx;
|
gap: 6rpx;
|
}
|
|
.review-count-label {
|
font-size: 24rpx;
|
color: #5a6c90;
|
}
|
|
.review-count-value {
|
font-size: 28rpx;
|
color: #1a3a7b;
|
font-weight: 600;
|
}
|
|
.project-details {
|
display: flex;
|
flex-direction: column;
|
gap: 8rpx;
|
}
|
|
.activity-info {
|
font-size: 28rpx;
|
color: #667eea;
|
font-weight: 500;
|
}
|
|
.student-info {
|
font-size: 26rpx;
|
color: #666;
|
}
|
|
.submit-time {
|
font-size: 24rpx;
|
color: #999;
|
}
|
|
/* 操作按钮样式 */
|
.project-actions {
|
flex-shrink: 0;
|
}
|
|
.review-btn {
|
padding: 16rpx 32rpx;
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
border-radius: 24rpx;
|
transition: all 0.3s ease;
|
}
|
|
.review-btn:active {
|
transform: scale(0.95);
|
opacity: 0.8;
|
}
|
|
.btn-text {
|
font-size: 28rpx;
|
color: white;
|
font-weight: 500;
|
}
|
|
/* 加载更多 */
|
.load-more {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
padding: 40rpx;
|
}
|
|
.load-more-text {
|
font-size: 26rpx;
|
color: #999;
|
}
|