您是第 位小伙伴 | 本站总访问量 | 已经写了 659.9k 字啦

载入天数...载入时分秒...
y") === "none") { var bgColorList = ["#9db3f4", "#414141", "#e5a859", "#f5dfc6", "#c084a0", "#847e72", "#cd8390", "#996731"]; var bgColor = Math.ceil(Math.random() * (bgColorList.length - 1)); $("body").css({"background-color": bgColorList[bgColor], "background-size": "cover"}); } else { var backgroundnum = 5; var backgroundimg = "url(/background/bg-x.jpg)".replace(/x/gi, Math.ceil(Math.random() * backgroundnum)); $("body").css({"background": backgroundimg, "background-attachment": "fixed", "background-size": "cover"}); } })