优化页脚样式一图片加载 (#368)
This commit is contained in:
parent
0065cec8f9
commit
2ee30fe2bb
|
@ -39,6 +39,7 @@
|
|||
n = (t / 1496e5).toFixed(6)
|
||||
}
|
||||
|
||||
setTimeout(()=>{
|
||||
if (!(nowHour < 18 && nowHour >= 9)) {
|
||||
// 如果是下班时间,插入"困困鱼-下班啦.svg"图片
|
||||
let img = document.querySelector("#workboard .workSituationImg");
|
||||
|
@ -46,6 +47,7 @@
|
|||
img.title = "[[${theme.config.footer.footerContent.style_one.offduty_description}]]";
|
||||
img.alt = "[[${theme.config.footer.footerContent.style_one.offduty_description}]]";
|
||||
}
|
||||
},1000)
|
||||
|
||||
// 更新网页中显示的网站运行时间
|
||||
function updateHtml() {
|
||||
|
|
Loading…
Reference in New Issue