/* pages/exhibition/activeDetails/index.wxss */ @import "../../../utils/wxParse/wxParse.wxss"; .detail-container { position: relative; min-height: 100vh; padding: 20rpx 20rpx 130rpx 20rpx; background: url('https://klmybwg.4dage.com/mini/wxImg/bg.png') no-repeat; background-size: cover; } .back-button { position: absolute; top: 20rpx; left: 20rpx; width: 80rpx; height: 80rpx; border-radius: 50%; z-index: 10; } .back-button image { width: 80rpx; height: 80rpx; } .loading-container { display: flex; justify-content: center; align-items: center; height: 400rpx; } .loading-text { font-size: 32rpx; color: #666; } .detail-content { margin-top: 80rpx; padding: 16rpx; border-radius: 20rpx; } .detail-content.notMargin { margin-top: 20rpx; } .detail-title { font-size: 48rpx; font-weight: bold; color: #584735; margin-bottom: 20rpx; line-height: 1.4; } .detail-time { font-size: 28rpx; color: #584735; margin-bottom: 20rpx; } .line { height: 4rpx; background: linear-gradient(90deg, rgba(91, 71, 46, 0.5) 0%, rgba(91, 71, 46, 0) 100%); margin-bottom: 20rpx; } .detail-text { font-size: 32rpx; line-height: 1.6; color: #584735; margin-top: 40rpx; } .error-state { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 400rpx; } .error-text { font-size: 32rpx; color: #584735; margin-bottom: 40rpx; } .retry-button { padding: 20rpx 40rpx; background: #007bff; color: white; border: none; border-radius: 10rpx; font-size: 28rpx; } /* 展览特有按钮样式 */ .exhibition-actions { margin-top: 60rpx; text-align: center; } .online-exhibition-btn { width: 560rpx; display: inline-flex; align-items: center; justify-content: center; padding: 24rpx 80rpx; background: linear-gradient(135deg, #B8956A 0%, #A0845A 100%); color: white; border-radius: 50rpx; font-size: 32rpx; font-weight: 500; box-shadow: 0 8rpx 24rpx rgba(184, 149, 106, 0.3); } .btn-icon { width: 40rpx; height: 40rpx; margin-right: 16rpx; } .active-preview-btn { height: 120rpx; position: fixed; bottom: 28rpx; left: 0; width: 100%; display: flex; justify-content: center; align-items: center; margin-top: 60rpx; } .preview-btn { width: 560rpx; height: 120rpx; background: #B1967B; display: flex; align-items: center; justify-content: center; color: #fff; border-radius: 100rpx; font-size: 32rpx; } /* 处理后的HTML内容样式 */ .processed-html-content { margin-top: 20rpx; } .text-item { margin-bottom: 20rpx; line-height: 1.6; color: #584735; } .text-item.indent { text-indent: 4em; } .text-content { display: block; margin-bottom: 20rpx; line-height: 1.6; color: #584735; } .text-content.indent { text-indent: 1em; } .text-with-links { margin-bottom: 20rpx; line-height: 1.6; color: #584735; } .text-with-links.indent { text-indent: 1em; } .link-text { color: #007bff; text-decoration: underline; margin: 0 8rpx; } .link-text:active { color: #0056b3; } .rich-text-content { line-height: 1.6; color: #584735; } /* rich-text内部链接样式 */ .rich-text-content > span[data-url] { color: #007bff !important; text-decoration: underline !important; cursor: pointer; } .rich-text-content > span[data-url]:active { color: #0056b3 !important; } .image-item { margin: 40rpx 0; text-align: center; } .content-image { max-width: 100%; border-radius: 16rpx; } .video-item { width: 100%; margin: 40rpx 0; text-align: center; } .content-video { width: 100%; height: 400rpx; } .audio-item { margin: 30rpx 0; padding: 30rpx; text-align: center; background: rgba(255, 255, 255, 0.1); border-radius: 16rpx; } .audio-title { font-size: 28rpx; color: #584735; margin-bottom: 20rpx; } .audio-placeholder { font-size: 24rpx; color: #888; padding: 20rpx; background: rgba(0, 0, 0, 0.05); border-radius: 8rpx; } /* 响应式处理 */ @media (max-width: 768rpx) { .detail-title { font-size: 44rpx; } .detail-text { font-size: 30rpx; } .online-exhibition-btn { width: 480rpx; font-size: 30rpx; } .preview-btn { width: 480rpx; font-size: 30rpx; } }