✨ 签到ui改版

This commit is contained in:
HibiKier
2024-08-24 12:30:49 +08:00
parent 06b1af46ea
commit 4a9a856df5
47 changed files with 519 additions and 34 deletions
+17
View File
@@ -0,0 +1,17 @@
let wdDom = document.querySelector(".wd")
let wd = Math.floor(Math.random() * 40) + 1
wdDom.innerHTML = wd + "℃"
let weatherDom = document.querySelector(".weather-img")
let r = Math.floor(Math.random() * 12)
weatherDom.src = "res/img/weather/" + r + ".png"
let qianDom = document.querySelector(".qian")
let r1 = Math.floor(Math.random() * 6)
qianDom.src = "res/img/tag/" + r1 + ".png"