166 lines
2.6 KiB
Plaintext
166 lines
2.6 KiB
Plaintext
.detail-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
}
|
|
|
|
/* 封面 */
|
|
.detail-cover {
|
|
height: 380rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
}
|
|
.cover-emoji {
|
|
font-size: 120rpx;
|
|
}
|
|
.cover-overlay {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: linear-gradient(transparent, rgba(0,0,0,0.35));
|
|
padding: 32rpx;
|
|
}
|
|
.cover-title {
|
|
font-size: 40rpx;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
}
|
|
.fav-btn {
|
|
position: absolute;
|
|
top: 24rpx;
|
|
right: 24rpx;
|
|
width: 72rpx;
|
|
height: 72rpx;
|
|
background: rgba(255,255,255,0.9);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 36rpx;
|
|
}
|
|
|
|
/* 滚动内容 */
|
|
.detail-body {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
padding: 24rpx 32rpx 0;
|
|
}
|
|
|
|
/* 基本信息 */
|
|
.info-section {
|
|
padding: 28rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.info-badges {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.info-desc {
|
|
font-size: 28rpx;
|
|
color: #555555;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
/* 元信息 */
|
|
.meta-section {
|
|
padding: 8rpx 28rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.meta-item {
|
|
padding: 24rpx 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10rpx;
|
|
}
|
|
.meta-label {
|
|
font-size: 26rpx;
|
|
color: #888888;
|
|
font-weight: 500;
|
|
}
|
|
.meta-value {
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* 步骤列表 */
|
|
.steps-section {
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.steps-title {
|
|
font-size: 30rpx;
|
|
font-weight: 700;
|
|
color: #333333;
|
|
display: block;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.steps-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
background: #ffffff;
|
|
border-radius: 20rpx;
|
|
overflow: hidden;
|
|
}
|
|
.step-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 24rpx 28rpx;
|
|
gap: 20rpx;
|
|
border-bottom: 1rpx solid #F5F5F5;
|
|
}
|
|
.step-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
.step-num {
|
|
width: 56rpx;
|
|
height: 56rpx;
|
|
border-radius: 50%;
|
|
background: #F0F0F0;
|
|
color: #999999;
|
|
font-size: 26rpx;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
.step-num.done {
|
|
background: #6CE5A0;
|
|
color: #ffffff;
|
|
}
|
|
.step-num.current {
|
|
background: #6C8CFF;
|
|
color: #ffffff;
|
|
}
|
|
.step-name {
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
}
|
|
|
|
/* 底部按钮 */
|
|
.detail-footer {
|
|
padding: 20rpx 32rpx;
|
|
background: #ffffff;
|
|
border-top: 1rpx solid #F0F0F0;
|
|
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
|
|
}
|
|
.progress-hint {
|
|
text-align: center;
|
|
font-size: 24rpx;
|
|
color: #888888;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
.completed-hint {
|
|
color: #3CB371;
|
|
}
|
|
.start-btn {
|
|
width: 100%;
|
|
}
|