* 更新播放按钮状态
()
| 622 | * 更新播放按钮状态 |
| 623 | */ |
| 624 | updatePlayButton() { |
| 625 | if (!this.dom.playPauseBtn || !this.dom.audioPlayer) return; |
| 626 | |
| 627 | toggleClass( |
| 628 | this.dom.playPauseBtn, |
| 629 | 'playing', |
| 630 | !this.dom.audioPlayer.paused |
| 631 | ); |
| 632 | } |
| 633 | |
| 634 | /** |
| 635 | * 设置播放按钮禁用状态 |
no test coverage detected