|
|
@ -120,6 +120,8 @@ |
|
|
|
str = Math.floor(secs/86400) + '天'; |
|
|
|
str = Math.floor(secs/86400) + '天'; |
|
|
|
}else if (secs > 3600) { |
|
|
|
}else if (secs > 3600) { |
|
|
|
str = Math.floor(secs/3600) + '小时'; |
|
|
|
str = Math.floor(secs/3600) + '小时'; |
|
|
|
|
|
|
|
}else if (secs > 300) { |
|
|
|
|
|
|
|
str = Math.floor(secs/60) + '分钟'; |
|
|
|
}else if (secs > 86400*365) { |
|
|
|
}else if (secs > 86400*365) { |
|
|
|
str = Math.floor(secs/86400/365) + '年' |
|
|
|
str = Math.floor(secs/86400/365) + '年' |
|
|
|
+ Math.floor( (secs - Math.floor(secs/86400/365)) / 86400 ) + '天'; |
|
|
|
+ Math.floor( (secs - Math.floor(secs/86400/365)) / 86400 ) + '天'; |
|
|
|