214 lines
3.1 KiB
Plaintext
214 lines
3.1 KiB
Plaintext
/* 详情页面样式 */
|
|
.container {
|
|
padding-bottom: 40rpx;
|
|
min-height: 100vh;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
/* 封面预览 */
|
|
.preview-section {
|
|
background: #fff;
|
|
padding: 30rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.preview-image {
|
|
width: 100%;
|
|
height: 500rpx;
|
|
border-radius: 16rpx;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.preview-tip {
|
|
margin-top: 16rpx;
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
}
|
|
|
|
/* 基本信息 */
|
|
.info-section {
|
|
background: #fff;
|
|
padding: 30rpx;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.info-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.category-tag {
|
|
display: inline-block;
|
|
padding: 8rpx 20rpx;
|
|
background: linear-gradient(135deg, #4CAF50, #8BC34A);
|
|
border-radius: 20rpx;
|
|
font-size: 24rpx;
|
|
color: #fff;
|
|
}
|
|
|
|
.stats {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.stat-item {
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
margin-left: 24rpx;
|
|
}
|
|
|
|
.info-title {
|
|
display: block;
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
color: #333;
|
|
line-height: 1.4;
|
|
margin-bottom: 12rpx;
|
|
}
|
|
|
|
.info-e-title {
|
|
display: block;
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.info-desc {
|
|
display: block;
|
|
font-size: 26rpx;
|
|
color: #999;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* 操作按钮 */
|
|
.action-section {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 30rpx;
|
|
background: #fff;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.action-btn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 1;
|
|
padding: 24rpx 0;
|
|
margin: 0 10rpx;
|
|
border-radius: 16rpx;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.action-btn:first-child {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.action-btn:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.preview-btn {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
}
|
|
|
|
.download-btn {
|
|
background: linear-gradient(135deg, #4CAF50, #8BC34A);
|
|
}
|
|
|
|
.print-btn {
|
|
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
|
|
}
|
|
|
|
.action-icon {
|
|
width: 48rpx;
|
|
height: 48rpx;
|
|
margin-bottom: 12rpx;
|
|
}
|
|
|
|
.action-btn text {
|
|
font-size: 26rpx;
|
|
color: #fff;
|
|
}
|
|
|
|
/* 相关推荐 */
|
|
.recommend-section {
|
|
background: #fff;
|
|
padding: 30rpx 0 30rpx 30rpx;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.section-header {
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
|
|
.recommend-scroll {
|
|
width: 100%;
|
|
}
|
|
|
|
.recommend-list {
|
|
display: flex;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.recommend-item {
|
|
flex-shrink: 0;
|
|
width: 200rpx;
|
|
margin-right: 20rpx;
|
|
}
|
|
|
|
.recommend-item:last-child {
|
|
margin-right: 30rpx;
|
|
}
|
|
|
|
.recommend-cover {
|
|
width: 200rpx;
|
|
height: 150rpx;
|
|
border-radius: 12rpx;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.recommend-title {
|
|
display: block;
|
|
margin-top: 12rpx;
|
|
font-size: 24rpx;
|
|
color: #333;
|
|
white-space: normal;
|
|
}
|
|
|
|
/* 提示信息 */
|
|
.tips-box {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 20rpx 30rpx;
|
|
padding: 16rpx 24rpx;
|
|
background: rgba(76, 175, 80, 0.1);
|
|
border-radius: 8rpx;
|
|
}
|
|
|
|
.tips-icon {
|
|
font-size: 28rpx;
|
|
margin-right: 8rpx;
|
|
}
|
|
|
|
.tips-text {
|
|
font-size: 28rpx;
|
|
color: #4CAF50;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* 底部安全区域 */
|
|
.safe-bottom {
|
|
height: env(safe-area-inset-bottom);
|
|
}
|