|
...
|
...
|
@@ -118,7 +118,7 @@ Component({ |
|
|
|
if(i>=dayweek && i<monthdays+dayweek){
|
|
|
|
let thisday=i-dayweek+1;
|
|
|
|
let thisdate=year+'-'+(month<10 ? '0'+month : month)+'-'+(thisday<10 ? '0'+thisday : thisday);
|
|
|
|
let thistimestamp=Number(util.timetouUnix(thisdate,'-'));
|
|
|
|
let thistimestamp=Number(util.timetouUnix(thisdate+' 00:00:00'));
|
|
|
|
thisdayobj={
|
|
|
|
year:year,
|
|
|
|
month:month,
|
|
...
|
...
|
@@ -126,7 +126,7 @@ Component({ |
|
|
|
week:i%7,
|
|
|
|
date:thisdate,
|
|
|
|
istoday:false,
|
|
|
|
overdate:thistimestamp<(new Date()/1000)-86400 ? true : false, //日期是否过期,
|
|
|
|
overdate:thistimestamp<=(new Date()/1000)-86400 ? true : false, //日期是否过期,
|
|
|
|
}
|
|
|
|
if(thisdate==this.today.curdate){
|
|
|
|
thisdayobj.automark=true;
|
...
|
...
|
|