.container{ padding: 0; margin: 0; } .tip-view{ height: 60rpx; line-height: 60rpx; width: 750rpx; color: #FFF; background: #cc6031; text-align: center; font-size: 36rpx; } .class-title{ display: flex; border-bottom: 1px solid #CCC; height: 100rpx; line-height: 100rpx; padding: 0 25rpx; width: 700rpx; } .class-type{ background: #cc6031; color: #FFF; height: 30rpx; line-height: 30rpx; padding: 5rpx 10rpx; border-radius: 10rpx; margin-top: 35rpx; font-size: 24rpx; margin-right: 10rpx; } .class-date{ margin-left: auto; } .class-teacher{ display: flex; line-height: 60rpx; margin-top: 20rpx; padding: 25rpx; } .teacher-img{ height: 60rpx; width: 60rpx; margin-right: 10rpx; } .teacher-img image{ width: 100%; height: 100%; } .contact-teacher{ margin-left: auto; color: #cc6031; } .class-desc{ padding: 5rpx 25rpx; line-height: 40rpx; color: #666; } .img-content,.video-content,.audio-content{ margin-top: 40rpx; width: 700rpx; margin: 40rpx auto 20rpx; } .img-box,.video-list{ display: grid; justify-content: space-between; grid-template-columns: repeat(auto-fill, 150rpx); grid-gap: auto; } .img-box image{ width: 150rpx; height: 150rpx; border-radius: 10rpx; box-shadow: 0 10rpx 10rpx #ccc; margin-top: 20rpx; } .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; } .video-list image { width: 150rpx; height: 150rpx; border-radius: 20rpx; margin-bottom: 20rpx; margin: 10rpx auto; } .audio-list { display: grid; justify-content: space-between; grid-template-columns: repeat(auto-fill, 120rpx); grid-gap: auto; } .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; } .title{ color: #999; } #play-video{ position: absolute; top: 40rpx; left: 100rpx; }