修改开学时间

This commit is contained in:
RainSun 2021-03-03 16:45:05 +08:00
parent 9a201d7b06
commit d369706044

View File

@ -353,7 +353,7 @@ export default {
//
getCurrentWeek() {
// let start = new Date("2020-02-24 00:00").getTime();
let start = 1598803200000;
let start = 1614528000000;
let now = new Date().getTime();
//
let days = Math.abs(Math.floor((now - start) / (1000 * 60 * 60 * 24)));
@ -370,7 +370,7 @@ export default {
//
getDays() {
const day_time = 1000 * 60 * 60 * 24,
start = 1598803200000;
start = 1614528000000;
let week_start_time = (this.show_week - 1) * 7 * day_time + start;
this.date_arr = [];
for (let i = 1; i <= 7; i++) {