柠檬酸钠
申明:我比较懒,所以想要兼容性的话带得自己写代码<progress value="0" max="100" id="progress"></progress>setInterval(function(){
var progress = document.getElementById('progress');
var startTime = new Date('自己填');
var endTime = new Date('还是自己填);
var now = new Date();
var total = endTime.getTime() - startTime.getTime();
var past = now.getTime() - startTime.getTime();
var percent = (past/total)*100
progress.value = percent;
},1000);