摘要:
getWeekNo() { let d1 = new Date(); let d2 = new Date(); d2.setMonth(0); d2.setDate(1); let rq = d1 - d2; let days = Math.ceil(rq / (24 * 60 * 60 * 100 阅读全文
摘要:
getTime(week) { let time; let year = new Date().getFullYear(); let d = new Date(year, 0, 1); while (d.getDay() != 1) { d.setDate(d.getDate() + 1); } l 阅读全文