61,112
社区成员
发帖
与我相关
我的任务
分享
$('a.btnNext').one('touchend',function(e){
sessionStorage.bgmPlay=soundBgm.bgmPlay;
sessionStorage.bgmTime=soundBgm.bgmPlay?soundBgm.currentTime+soundBgm.context.currentTime-soundBgm.startTime:soundBgm.currentTime;
location.href='index.html';
});
这是记录时间的代码,读取的我就不贴给你了,百度上找一下吧。