/* pages/index/activity/activity.wxss */ .activity-container { position: relative; min-height: 100vh; padding: 20rpx; background: url('https://swkz-1332577016.cos.ap-guangzhou.myqcloud.com/karamay/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; } .section-title { font-size: 40rpx; font-weight: bold; color: #584735; margin: 108rpx 0 40rpx 0; position: relative; padding-bottom: 20rpx; } .section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4rpx; background: linear-gradient(90deg, rgba(91, 71, 46, 0.5) 0%, rgba(91, 71, 46, 0) 100%); } .content-section { padding-bottom: 40rpx; } .collection-list { display: flex; flex-direction: column; gap: 30rpx; } .collection-item { background-color: #fff; border-radius: 16rpx; overflow: hidden; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05); } .item-image-container { position: relative; height: 436rpx; overflow: hidden; } .item-image { width: 100%; height: 100%; } .view-button { position: absolute; display: flex; align-items: center; justify-content: center; width: 160rpx; height: 72rpx; top: 24rpx; right: 24rpx; background-color: rgba(0, 0, 0, 0.2); color: #fff; border-radius: 100rpx; font-size: 24rpx; border: 2rpx solid #fff; } .view-button text { font-size: 28rpx; } .arrow { margin-left: 12rpx; font-size: 24rpx; } .item-info { position: absolute; width: 90%; bottom: 32rpx; left: 48rpx; } .item-title { font-size: 40rpx; font-weight: bold; color: #fff; margin-bottom: 8rpx; } .item-description { font-size: 24rpx; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* 加载状态样式 */ .loading-container { display: flex; justify-content: center; align-items: center; height: 400rpx; } .loading-text { font-size: 36rpx; color: #584735; opacity: 0.8; } /* 空状态样式 */ .empty-state { display: flex; justify-content: center; align-items: center; height: 400rpx; margin-top: 100rpx; } .empty-text { font-size: 36rpx; color: #584735; opacity: 0.6; }