一段通用的js倒计时代码，写这里备忘。源码var countDown = function (opts) { var from = (opts.from ? new Date(opts.fro...