.activity { padding: 20rpx 30rpx 0; margin-top: 80rpx; } .activity-box { margin-bottom: 20rpx; box-shadow: 0px 0px 17rpx 0px rgba(0, 0, 0, 0.1); border-radius: 10rpx; overflow: hidden; } .activity-img { height: 320rpx; position: relative; } .activity-img image { width: 100%; height: 100%; } .corner { position: absolute; top: 20rpx; right: 20rpx; display: flex; color: #fff; } .corner view { padding: 0 10rpx; background: rgba(0, 0, 0, 0.6); line-height: 40rpx; vertical-align: middle; display: flex; align-items: center; border-radius: 5rpx; } .view-count { margin-right: 20rpx; } .view-count image { width: 40rpx; height: 40rpx; } .activity-info { padding: 15rpx 20rpx; } .title { display: flex; justify-content: space-between; } .activity-title { width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 32rpx; color: #242424; line-height: 40rpx; } .sign { background: rgba(159, 21, 18, .1); color: #9F1512; border-radius: 10rpx; padding: 0 20rpx; line-height: 40rpx; font-size: 28rpx; } .date { margin-top: 10rpx; font-size: 24rpx; color: #242424; } .area { position: fixed; top: 0; left: 0; right: 0; height: 80rpx; white-space: nowrap; overflow-x: auto; box-shadow: 10rpx 10rpx 5rpx #f2f2f2; } .area-box { display: inline-block; width: 25%; line-height: 80rpx; text-align: center; font-size: 30rpx; } .area-box.active { color: #9F1512; }