var innerAudioContext = uni.createInnerAudioContext();
innerAudioContext.autoplay = false; //不自动播放
innerAudioContext.src = '';
_this.read_url = 'https://500.kzt.icu/index/tingzhi.mp3';
innerAudioContext.src = _this.read_url;
innerAudioContext.play(); //直接播放
innerAudioContext.onPlay(function() { //暂停之后点击播放继续播放
// uni.showToast({
// title: '播报中...',
// icon: 'none',
// duration:100
// })
if (_this.currentTime) {
innerAudioContext.seek(_this.currentTime)
}
})
read_url:‘’