.container { padding: 0; margin: 0; width: 700rpx; margin: 0 auto; } .task-head { display: flex; height: 80rpx; line-height: 80rpx; } .task-title { font-size: 32rpx; font-weight: 600; width: 450rpx; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .task-time { width: 250rpx; text-align: right; color: #999; font-size: 28rpx; } .task-teacher { display: flex; height: 60rpx; line-height: 60rpx; padding: 20rpx 0; } .taskImg { height: 60rpx; width: 60rpx; margin-right: 20rpx; } .taskImg image { height: 100%; width: 100%; border-radius: 50%; } .contact-teacher { margin-left: auto; color: #cc6031; } .task-desc { color: #666; margin-top: 20rpx; line-height: 50rpx; margin-bottom: 20rpx; } .title { color: #999; font-size: 28rpx; margin-top: 20rpx; } .img-list, .video-list, .audio-list { display: grid; justify-content: space-between; grid-template-columns: repeat(auto-fill, 150rpx); grid-gap: auto; } .audio-list { display: grid; justify-content: space-between; grid-template-columns: repeat(auto-fill, 120rpx); grid-gap: auto; } .img-list image, .video-list image { width: 150rpx; height: 150rpx; border-radius: 20rpx; margin-bottom: 20rpx; margin: 10rpx auto; } .video-img-view { position: relative; } .videoImg { opacity: 0.9; } .playImg { width: 48rpx !important; height: 48rpx !important; position: absolute; z-index: 2; left: 50%; margin-left: -24rpx !important; top: 50%; margin-top: -24rpx !important; } .audio-list image { height: 30rpx; width: 50rpx; border: 1px solid #eee; box-shadow: 0 0 20rpx #ccc; padding: 10rpx; margin-top: 20rpx; padding: 0 25rpx; border-radius: 10rpx; } .curAudioStyle { box-shadow: 0 0 20rpx #cc6031 !important; border: none; } .toTask { width: 400rpx; height: 80rpx; text-align: center; line-height: 80rpx; color: #FFF; background: #005033; border-radius: 50rpx; font-size: 32rpx; position: fixed; bottom: 40rpx; left: 50%; margin-left: -200rpx; } .done-title { font-size: 32rpx; margin-top: 60rpx; } #play-video{ position: absolute; top: 40rpx; left: 100rpx; }