摘要: // 倒计时 countdown() { var reg = /^\d{2}$/ var ending = new Date(this.days) var now = new Date() if (now >= ending) { clearTimeout(this.timeout) return 阅读全文