.classBox { width: 100%; height: 100vh; } .classBox .classify { position: fixed; top: 0px; left: 0px; padding: 24rpx 0rpx; width: 100%; background-color: #F2F6FC; z-index: 9; white-space: nowrap; } .classBox .classify .name { text-align: center; display: inline-block; padding: 0rpx 20rpx; margin-right: 40rpx; color: #666666; font-weight: bold; font-size: 28rpx; } .classBox .classify .currentClass { font-size: 32rpx; color: #333; } .classBox .searchBox { position: fixed; top: 0px; left: 0px; width: 100%; padding: 4rpx 20rpx; box-sizing: border-box; z-index: 9; } .classBox .searchBox .input { background-color: white; border-radius: 50rpx; padding: 10rpx 30rpx; padding-right: 140rpx; } .classBox .searchBox .searchBtn { position: absolute; right: 40rpx; top: 13rpx; padding: 4rpx 40rpx; background: #F2F6FC; border-radius: 40rpx; } .classBox .searchBox .searchBtn .img { width: 24rpx; height: 24rpx; } .classBox .worksList { width: 100%; height: 100vh; box-sizing: border-box; padding: 20rpx; padding-top: 90rpx; padding-bottom: calc(20rpx + env(safe-area-inset-bottom)); } .classBox .worksList .worksBox { display: flex; align-items: center; justify-content: space-between; padding: 28rpx 20rpx; box-sizing: border-box; background-color: white; border-radius: 20rpx; margin-bottom: 20rpx; } .classBox .worksList .worksBox .left { display: flex; align-items: center; justify-content: space-between; } .classBox .worksList .worksBox .left .cover { width: 144rpx; height: 80rpx; border-radius: 8rpx; } .classBox .worksList .worksBox .left .work { margin-left: 26rpx; } .classBox .worksList .worksBox .left .work .title { font-size: 32rpx; font-weight: bold; margin-bottom: 10rpx; } .classBox .worksList .worksBox .left .work .statistics { display: flex; align-items: center; } .classBox .worksList .worksBox .left .work .statistics .statistic { display: flex; align-items: center; justify-content: space-between; margin-right: 14rpx; } .classBox .worksList .worksBox .left .work .statistics .statistic .playImg { width: 30rpx; height: 30rpx; margin-right: 6rpx; } .classBox .worksList .worksBox .left .work .statistics .statistic .num { font-size: 26rpx; color: #666666; } .classBox .worksList .worksBox .goRead { padding: 6rpx 32rpx 8rpx; color: white; font-size: 32rpx; background-image: linear-gradient(270deg, #33C3FF 0%, #81C7FF 100%, #14C962 100%); box-shadow: 0 4rpx 10rpx 0 rgba(50, 197, 255, 0.46); border-radius: 50rpx; }