.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; margin: 0rpx 40rpx; padding-bottom: 4rpx; color: #777; font-weight: bold; font-size: 28rpx; } .classBox .classify .currentClass { font-size: 34rpx; color: #333; border-bottom: 6rpx solid #00C657; } .classBox .searchBox { position: fixed; top: 0px; left: 0px; width: 100%; padding: 4rpx 20rpx 18rpx; box-sizing: border-box; background-color: #F2F6FC; z-index: 9; } .classBox .searchBox .input { background-color: white; border-radius: 50rpx; padding: 12rpx 30rpx; padding-right: 140rpx; } .classBox .searchBox .searchBtn { position: absolute; right: 40rpx; top: 12rpx; padding: 6rpx 40rpx; background: #00C657; 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: 102rpx; padding-bottom: calc(20rpx + env(safe-area-inset-bottom)); } .classBox .worksList .worksBox { display: flex; align-items: center; justify-content: space-between; padding: 8rpx 12rpx; box-sizing: border-box; background-color: white; border-radius: 20rpx; margin-bottom: 20rpx; } .classBox .worksList .worksBox .left { flex: 1; display: flex; align-items: center; } .classBox .worksList .worksBox .left .cover { width: 230rpx; height: 128rpx; border-radius: 8rpx; } .classBox .worksList .worksBox .left .audioCover { position: relative; width: 230rpx; height: 128rpx; display: flex; align-items: center; justify-content: center; border-radius: 8rpx; overflow: hidden; background-size: cover; background-position: center; } .classBox .worksList .worksBox .left .audioCover .audioPlayBg { width: 100rpx; height: 100rpx; } .classBox .worksList .worksBox .left .audioCover .audioPlayZhen { position: absolute; right: 52rpx; top: 20rpx; width: 24rpx; height: 30rpx; } .classBox .worksList .worksBox .left .audioCover .cover { position: absolute; width: 84rpx; height: 84rpx; border-radius: 50%; } .classBox .worksList .worksBox .left .work { margin-left: 16rpx; } .classBox .worksList .worksBox .left .work .title { width: 270rpx; font-size: 34rpx; font-weight: bold; margin-bottom: 12rpx; } .classBox .worksList .worksBox .left .work .statistics { display: flex; align-items: center; } .classBox .worksList .worksBox .left .work .statistics .statistic { width: 110rpx; display: flex; align-items: center; } .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 28rpx 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; } .classBox .historyList { padding: 80rpx 30rpx 0rpx; } .classBox .historyList .notes { display: flex; align-items: center; justify-content: space-between; padding: 30rpx 0rpx 14rpx; border-bottom: 1rpx solid #DDDDDD; } .classBox .historyList .notes .left { display: flex; align-items: center; font-size: 28rpx; } .classBox .historyList .notes .left .clock { width: 34rpx; height: 34rpx; margin-right: 16rpx; } .classBox .historyList .notes .delete { color: #A4A4A5; font-size: 50rpx; line-height: 40rpx; padding: 0rpx 20rpx; } .classBox .historyList .clearHistory { padding: 20rpx 0rpx; text-align: center; font-size: 28rpx; } .empty { margin-top: 300rpx; }