.header{ background: #fff; padding: 28rpx; padding-bottom: 0rpx; position: sticky; top: 0; } .selectItems{ margin-top: 20rpx; } .staff-all{ background: rgba(245, 247, 250, 1); padding: 10rpx 32rpx; } .rule-all-text{ font-size: 28rpx; color: #999; position: relative; right: 10rpx; bottom: 5rpx; top: 0rpx; } .selectItems .selectImg{ border-left: 1px solid #f1f1f1; padding: 0 20rpx; } .selectImg image{ width: 30rpx; height: 30rpx; } .selectItems .flex-1{ padding: 16rpx 0; text-align: center; font-size: 32rpx; position: relative; } .selectItems .active::before{ position: absolute; content: " "; height: 4rpx; width: 100rpx; background: #26A2FF; bottom: 0rpx; left: 50%; margin-left: -50rpx; } .main{ background: #fff; } .li{ padding: 24rpx 28rpx; } .main-right{ margin-left: 10rpx; } .main-right .name{ padding-top:12rpx; font-size: 36rpx; } .main-right .context{ overflow : hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; font-size: 32rpx; -webkit-box-orient: vertical; padding-top: 10rpx; margin-bottom: 10rpx; } .main-right .date{ /* font-size: 24rpx; */ color: #909399; } .main-right text{ color: #26A2FF; font-size: 28rpx; } .main-right view:nth-child(1){ margin-right: 20rpx; } .index{ border-radius: 6rpx; background:rgba(245, 108, 108, 0.1); color: #F56C6C; font-size: 24rpx; padding: 0 6rpx; } .scroll { height: calc(100vh - 220rpx); }