//循环这个动作的所有音频地址,如果有满足条件的则播放
let voice = this.motionList[this.motionNum].motionVoice
for (let index in voice) {
//如果倒计时的时间,满足了音频播放的时间
if (timeCha == voice[index].time) {
this.childPlay(voice[index].address); //播放
break
}
}
//音频播放
childPlay(src) {
this.playAudio.audioObj.title = "运动音频";
this.playAudio.audioObj.src = src;
this.playAudio.audioObj.play()
},