/* pages/exhibition/index.wxss */ .exhibition-container { background-image: url('https://klmybwg.4dage.com/mini/wxImg/bg.png'); background-size: cover; background-repeat: no-repeat; min-height: 100vh; box-sizing: border-box; } /* 轮播图样式 */ .carousel-section { margin-bottom: 20rpx; } .carousel { position: relative; height: 400rpx; width: 100%; } .carousel-image { width: 100%; height: 100%; } /* 线上观展标识样式 */ .online-exhibition { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; background-color: rgba(0, 0, 0, 0.6); padding: 20rpx 30rpx; border-radius: 12rpx; backdrop-filter: blur(4rpx); z-index: 2; } .online-icon { width: 60rpx; height: 60rpx; margin-bottom: 8rpx; } .online-text { color: white; font-size: 24rpx; font-weight: 500; text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.3); } .carousel-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.6)); padding: 40rpx 30rpx 30rpx; } .carousel-title { color: white; font-size: 32rpx; font-weight: bold; text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.3); } /* 分类选择样式 */ .category-section { padding: 0 40rpx; margin-bottom: 40rpx; } .category-tabs { display: flex; justify-content: space-between; gap: 20rpx; } .category-tab { flex: 1; display: flex; flex-direction: column; align-items: center; background-color: rgba(229, 200, 142, 0.2); padding: 30rpx; border-radius: 10rpx; border: 2rpx solid rgba(148, 118, 90, 0.5); transition: all 0.3s ease; } .category-tab.active { background-color: rgba(229, 200, 142, 0.6); border-color: rgba(148, 118, 90, 0.8); transform: scale(1.02); } .category-icon { width: 90rpx; height: 78rpx; margin-bottom: 12rpx; } .category-tab text { font-size: 32rpx; color: #B1967B; font-weight: 500; } .category-tab.active text { color: #B1967B; } /* 展览列表样式 */ .exhibition-list { padding: 0 40rpx; } .exhibition-item { position: relative; width: 100%; height: 412rpx; border-radius: 16rpx; overflow: hidden; margin-bottom: 40rpx; transition: all 0.3s ease; box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.1); } .exhibition-item:active { transform: translateY(-4rpx); box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.15); } .exhibition-image { width: 100%; height: 412rpx; object-fit: cover; } .exhibition-content { position: absolute; bottom: 0; left: 0; right: 0; height: 60rpx; display: flex; justify-content: center; align-items: center; background-color: #B1967B; opacity: 0.8; } .exhibition-title { font-size: 32rpx; font-weight: bold; color: #fff; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 20rpx; } .exhibition-desc { display: none; } .exhibition-meta { display: none; } .exhibition-time, .exhibition-location { display: none; } /* 加载状态样式 */ .loading-section { text-align: center; padding: 40rpx; color: #999; font-size: 28rpx; } /* 没有更多数据样式 */ .no-more-section { text-align: center; padding: 40rpx; color: #999; font-size: 26rpx; } /* 空状态样式 */ .empty-section { text-align: center; padding: 100rpx 40rpx; color: #999; font-size: 28rpx; }