/* pages/activity/index/index.wxss */ .activity-index { position: relative; width: 100%; height: 100%; box-sizing: border-box; overflow: scroll; background: #FD423B; } .activity-bg { width: 100%; height: 440rpx; } .rule { position: absolute; top: 32rpx; right: 0; width: 191rpx; height: 60rpx; } .rule image { width: 100%; height: 100%; } .strategy { position: fixed; top: 241rpx; right: 0; width: 205rpx; height: 155rpx; z-index: 99; } .strategy image { width: 100%; height: 100%; } .activity-works { position: relative; width: 100%; height: 484rpx; overflow: hidden; margin-top: -44rpx; } .gradeText { position: absolute; left: 50%; top: 30rpx; transform: translateX(-50%); font-size: 34rpx; color: #9B4716; font-weight: 600; } .swiper-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; } .activity-works-swiper { width: 720rpx; margin: 200rpx auto 0 auto; } .activity-works-swiper swiper { width: 100%; height: 237rpx; } .swiper-item-view { width: 583rpx; height: 237rpx; border-radius: 12rpx; overflow: hidden; } .swiper-item-view image { width: 100%; height: 100%; } .activity-ranking { position: relative; width: 100%; margin-top: 60rpx; } .activity-ranking-tab { position: relative; display: flex; justify-content: space-between; height: 88rpx; } .tab-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; } .activity-ranking-tab text { position: absolute; display: flex; align-items: center; justify-content: center; width: 50%; height: 100%; color: #fff; font-size: 38rpx; z-index: 2; } .activity-ranking-tab .left { left: 0; } .activity-ranking-tab .right { right: 0; } .select-bg { position: absolute; top: -23%; width: 50%; height: 110rpx; z-index: 1; } .activity-ranking-tab .select { color: #FD423B; } .activity-ranking-title { display: flex; justify-content: space-between; align-items: center; padding: 21rpx 32rpx; color: #D52822; font-size: 38rpx; background: #fff; box-sizing: border-box; font-weight: 600; } .scroll-view-item, .activity-my-ranking { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 150rpx; background: #fff; border-bottom: 2rpx solid #fff; padding: 0 50rpx; box-sizing: border-box; } .scroll-view-item .ranking-number-img { width: 44rpx; height: 52rpx; } .scroll-view-item .ranking-number, .activity-my-ranking .ranking-number { width: 44rpx; height: 52rpx; text-align: center; line-height: 52rpx; font-size: 38rpx; color: #666; } .scroll-view-item .ranking-message, .activity-my-ranking .ranking-message{ display: flex; width: 420rpx; } .scroll-view-item .ranking-message .reanking-message-head, .activity-my-ranking .ranking-message .reanking-message-head { position: relative; width: 80rpx; height: 80rpx; margin-right: 30rpx; } .reanking-message-head .haed-url{ width: 80rpx; height: 80rpx; border-radius: 50%; } .reanking-message-head .follow-url { position: absolute; bottom: -10rpx; left: 50%; width: 34rpx; height: 34rpx; transform: translateX(-50%); } .reanking-message-name { display: flex; flex-direction: column; } .reanking-message-name text{ width: 306rpx; height: 50rpx; font-size: 34rpx; color: #333; overflow: hidden; } .operation { display: flex; color: #999; font-size: 22rpx; } .operation .like { margin: 0 23rpx 0 23rpx; } .operation image{ width: 28rpx; height: 24rpx; vertical-align: middle; } .scroll-view-item .popularity, .activity-my-ranking .popularity { color: #666; font-size: 38rpx; vertical-align: middle; width: 100rpx; } .popularity image { width: 27rpx; height: 29rpx; vertical-align: middle; } .activity-my-ranking { position: fixed; left: 0; bottom: 0; background: #FE9E19; z-index: 9; } .my-activity-read { background: #fff; overflow: hidden; } .no_works { width: 401rpx; height: 259rpx; margin: 50rpx auto; display: block; } .comment_section { position: fixed; top: 0; left: 0; width: 100%; height: 98%; z-index: 9999; background: rgba(0, 0, 0, .3); overflow: hidden; }