|
@@ -29,11 +29,13 @@ const day = msd => {
|
|
if( min > 60 ){
|
|
if( min > 60 ){
|
|
min = Math.floor(msd / 60) % 60;
|
|
min = Math.floor(msd / 60) % 60;
|
|
let hour = Math.floor( msd / 3600 );
|
|
let hour = Math.floor( msd / 3600 );
|
|
- time = hour + "小时" + min + "分";
|
|
|
|
|
|
+ // time = hour + "小时" + min + "分";
|
|
|
|
+ time = hour + "时";
|
|
if( hour > 24 ){
|
|
if( hour > 24 ){
|
|
hour = Math.floor( msd / 3600 ) % 24;
|
|
hour = Math.floor( msd / 3600 ) % 24;
|
|
- let day = Math.floor(msd / 3600 / 24 );
|
|
|
|
- time = day + "天" + hour + "小时";
|
|
|
|
|
|
+ let day = Math.floor(msd / 3600 / 24);
|
|
|
|
+ // time = day + "天" + hour + "小时";
|
|
|
|
+ time = day + "天";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|