提交 c83c48d1 编写于 作者: M mahaifeng

[audio]修改音频示例

上级 291e0bad
......@@ -13,7 +13,6 @@
</view>
</block>
<block v-if="!playing">
<view class="page-body-button"></view>
<view class="page-body-button" @tap="play">
<image class="image" src="/static/play.png"></image>
</view>
......@@ -59,7 +58,6 @@
this.playing = false;
})
bgAudioMannager.onEnded(() => {
this.playing = false;
this.playing = false;
// this.playTime = this.playTime = 0;
// thi.formatedPlayTime = this.formatedPlayTime
......@@ -129,6 +127,7 @@
},
stop: function () {
this.bgAudioMannager?.stop();
this.playing = false
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册