很多场合用到倒计时,比如年会,生日,约会啊...废话不多说上代码 效果图: index.html <!DOCTYPE html> common.js function 转载自 js实现倒计时 - 个人文章 - SegmentFault 思否