监听audio是否播放完
var audio=document.getElementById('audio');if(audio){audio.loop = false;audio.addEventListener('ended', function () { $('#playvoice').attr("src",'images/play_voice_off.png'); }, false)