i = 3;
setInterval(function () {
html = --i;
if (html==0){
location.href = 'index.html';
}
time = document.getElementById('time');
time.innerHTML = html;
},1000)
JS-读秒的三秒钟之后跳转
最新推荐文章于 2021-06-04 06:41:21 发布