/* 音频播放蒙层样式 */ .audio-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; z-index: 9999; } .overlay-content { background: white; border-radius: 16rpx; padding: 60rpx 40rpx; margin: 40rpx; text-align: center; min-width: 500rpx; box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.2); } .audio-icon { margin-bottom: 40rpx; } .sound-wave { display: flex; align-items: center; justify-content: center; gap: 8rpx; height: 80rpx; } .wave { width: 6rpx; background: #1296db; border-radius: 3rpx; animation: wave 1.5s ease-in-out infinite; } .wave:nth-child(1) { height: 20rpx; animation-delay: 0s; } .wave:nth-child(2) { height: 40rpx; animation-delay: 0.1s; } .wave:nth-child(3) { height: 60rpx; animation-delay: 0.2s; } .wave:nth-child(4) { height: 40rpx; animation-delay: 0.3s; } @keyframes wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.5); } } .audio-text { font-size: 32rpx; color: #333; margin-bottom: 40rpx; line-height: 1.4; max-height: 200rpx; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } .progress-container { margin-bottom: 40rpx; } .progress-bar { width: 100%; height: 8rpx; background: #f0f0f0; border-radius: 4rpx; overflow: hidden; margin-bottom: 16rpx; } .progress-fill { height: 100%; background: #1296db; transition: width 0.3s ease; } .time-info { font-size: 24rpx; color: #666; } .stop-btn { background: #ff4757; color: white; border: none; border-radius: 50rpx; padding: 20rpx 60rpx; font-size: 30rpx; }