1
0
forked from bot/app

新版状态页面

This commit is contained in:
2024-04-26 15:02:46 +08:00
parent 857e58d635
commit 5100ca6c77
12 changed files with 277 additions and 42 deletions

View File

@ -1,14 +1,11 @@
const bgs = [
"bg1.png",
"bg2.png",
"bg3.png",
"bg4.png",
"bg5.png",
"bg6.png",
"bg7.png",
"bg8.png",
"bg9.png",
"bg10.png",
]
// 随机选择背景图片
document.body.style.backgroundImage = `url(./img/${bgs[Math.floor(Math.random() * bgs.length)]})`;