123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272 |
- /* 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;
- }
- }
|