/* pages/activity/index.wxss */ page { background: #fff; } .date-box { margin: 0 24rpx; height: 110rpx; border: 2rpx solid #0B898E; border-radius: 10rpx; background: rgba(255, 255, 255, 1); display: flex; padding: 0 30rpx; justify-content: space-between; align-items: center; } .date-item { font-size: 26rpx; color: #999; text-align: center; display: flex; flex-direction: column; justify-content: center; } .date-item.active { font-weight:500; color: #0B898E; font-size: 30rpx; } .calendar-img { width: 56rpx; height: 60rpx; display: block; } .top-fixed-activity { position: fixed; left: 0; right: 0; background: #f7f7f7; z-index: 1; } .top-fixed-box { position: fixed; left: 0; right: 0; z-index: 1; background: #FFF; margin-top: 25rpx; } .activity-list { margin: 0 24rpx; margin-top: 256rpx; height: calc(100% - 256rpx); overflow-y: auto; } .acitivity-search-box { display: flex; margin: 30rpx 24rpx; justify-content: space-between; align-items: center; } .acitivity-search-box .picker { width: 203rpx; height: 54rpx; display: flex; align-items: center; border: 1rpx solid #ccc; border-radius: 4rpx; } .areatext { border-right: 1rpx solid #ccc; flex: 1; margin-left: 17rpx; line-height: 54rpx; } .acitivity-search-box .picker image { margin: 0 22rpx; display: block; width: 16rpx; flex-shrink: 0; } .activity-search-bg { width: 422rpx; height: 56rpx; border-radius: 28rpx; background: #f6f6f6; display: flex; align-items: center; } .activity-search-bg .iconfont { color: #B6B6B6; font-size: 28rpx; flex-shrink: 0; margin: 0 20rpx; } .activity-search-bg input { flex: 1; font-size: 27rpx; } .activity-item { margin: 27rpx 16rpx; background: white; display: flex; align-items: center; justify-content: space-between; box-shadow: -1rpx 1rpx 16rpx 0px rgba(6, 0, 1, 0.1); border-radius: 10rpx; padding: 27rpx 22rpx; } .activity-item image { width: 320rpx; height: 220rpx; border-radius: 10rpx; flex-shrink: 0; } .activity-info { display: flex; flex-direction: column; justify-content: space-between; font-size: 23rpx; color: #999; flex: 1; height: 220rpx; margin-right: 28rpx; } .activity-title { font-weight: 500; font-size: 31rpx; line-height: 45rpx; color: #333; }