addEventListener
music.addEventListener("touchstart",function(event){
if(audio.paused){
audio.play();
console.log(this);
this.setAttribute("class","play");
// this.style.animationPlayState="running";
}else{
audio.pause();
this.setAttribute("class","");
console.log(this);
// this.style.animationPlayState="paused";
};
},false);
page1.addEventListener("touchstart",function(event) {
console.log(this);
page1.style.display = "none";
page2.style.display = "block";
},false);
page1没有实现,怎么回事?