123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- /* pages/index/activity/activity.wxss */
- .activity-container {
- position: relative;
- height: 100vh;
- padding: 40rpx;
- 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;
- }
- .section-title {
- font-size: 40rpx;
- font-weight: bold;
- color: #584735;
- margin: 36rpx 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;
- }
|