/* pages/activity/detail.wxss */
|
.container {
|
background-color: #f4f5f7;
|
min-height: 100vh;
|
padding-bottom: 180rpx; /* 为底部按钮留出空间 */
|
}
|
|
.loading-wrapper, .error-wrapper {
|
padding-top: 200rpx;
|
text-align: center;
|
color: #999;
|
}
|
|
.banner-swiper {
|
width: 100%;
|
height: 400rpx;
|
background-color: #e9ecef;
|
}
|
|
.banner-image {
|
width: 100%;
|
height: 100%;
|
}
|
|
.content-wrapper {
|
padding: 32rpx;
|
}
|
|
.section-card {
|
background-color: #fff;
|
border-radius: 16rpx;
|
padding: 32rpx;
|
margin-bottom: 32rpx;
|
}
|
|
.section-title {
|
font-size: 36rpx;
|
font-weight: 700;
|
color: #1f2937;
|
margin-bottom: 32rpx;
|
}
|
|
.main-title {
|
font-size: 40rpx;
|
margin-bottom: 24rpx;
|
}
|
|
.info-grid {
|
display: flex;
|
flex-direction: column;
|
}
|
|
.info-row {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
font-size: 28rpx;
|
padding: 28rpx 0;
|
border-bottom: 1rpx solid #f0f0f0;
|
}
|
.info-row:first-child {
|
padding-top: 0;
|
}
|
.info-row:last-child {
|
border-bottom: none;
|
padding-bottom: 0;
|
}
|
|
.info-label {
|
color: #6b7280;
|
}
|
|
.info-value {
|
color: #1f2937;
|
font-weight: 500;
|
}
|
|
/* 时间轴 */
|
.timeline {
|
position: relative;
|
padding-left: 40rpx;
|
border-left: 2rpx solid #e5e7eb;
|
}
|
|
.timeline-item {
|
position: relative;
|
display: flex;
|
align-items: flex-start;
|
padding-bottom: 48rpx;
|
}
|
|
.timeline-item:last-child {
|
padding-bottom: 0;
|
}
|
|
.timeline-icon {
|
position: absolute;
|
left: -21rpx; /* (40rpx - 2rpx)/2 */
|
top: 4rpx;
|
width: 40rpx;
|
height: 40rpx;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
z-index: 1;
|
}
|
|
.icon-calendar-bg {
|
width: 40rpx;
|
height: 40rpx;
|
background-color: #e0e7ff;
|
border-radius: 50%;
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007aff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
|
background-size: 24rpx 24rpx;
|
background-repeat: no-repeat;
|
background-position: center;
|
}
|
|
.timeline-content {
|
padding-left: 32rpx;
|
}
|
|
.stage-name {
|
font-size: 30rpx;
|
font-weight: 600;
|
color: #1f2937;
|
margin-bottom: 8rpx;
|
}
|
|
.stage-date {
|
font-size: 26rpx;
|
color: #6b7280;
|
}
|
|
.description-content {
|
font-size: 28rpx;
|
color: #374151;
|
line-height: 1.6;
|
white-space: pre-wrap; /* 保留换行和空格 */
|
}
|
|
/* 底部操作栏 */
|
.footer-actions {
|
position: fixed;
|
bottom: 0;
|
left: 0;
|
right: 0;
|
background-color: #fff;
|
padding: 24rpx 32rpx;
|
padding-bottom: calc(24rpx + constant(safe-area-inset-bottom));
|
padding-bottom: calc(24rpx + env(safe-area-inset-bottom));
|
border-top: 1rpx solid #e5e7eb;
|
box-shadow: 0 -2rpx 10rpx rgba(0,0,0,0.05);
|
}
|
|
.register-btn {
|
background-color: #007aff;
|
color: #fff;
|
font-size: 32rpx;
|
font-weight: 600;
|
border-radius: 999rpx;
|
height: 96rpx;
|
line-height: 96rpx;
|
text-align: center;
|
border: none;
|
}
|
|
.register-btn:active {
|
background-color: #0056b3;
|
}
|