提交 0857207e 编写于 作者: zhaofengliang920817's avatar zhaofengliang920817

调整背景音频播放示例。

上级 df94390e
......@@ -70,7 +70,7 @@
bgAudioMannager.onNext(() => {
this.count++
console.log("下一曲", this.count);
// this.bgAudioMannager?.stop()
this.bgAudioMannager?.stop()
bgAudioMannager.title = '致爱丽丝' + this.count;
bgAudioMannager.singer = '歌手:暂无' + this.count;
if (this.count == 102 || this.count == 104) {
......@@ -85,7 +85,7 @@
bgAudioMannager.onPrev(() => {
this.count--
console.log("上一曲", this.count);
// this.bgAudioMannager?.stop()
this.bgAudioMannager?.stop()
bgAudioMannager.title = '致爱丽丝' + this.count;
bgAudioMannager.singer = '歌手:暂无' + this.count;
if (this.count == 102 || this.count == 104) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册