$('#todaydowns').html('1');$('#weekdowns').html('1');$('#monthdowns').html('4');// 手动添加mate标签
const addMeta = (name, content) => {
const meta = document.createElement('meta');
meta.content = content;
meta.name = name;
document.getElementsByTagName('head')[0].appendChild(meta);
};
addMeta(
'viewport',
'width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0',
)
! function (e, t) {
function n() {
var n = l.getBoundingClientRect().width;
var clienH = parseInt(document.documentElement.clientHeight);
var num;
var nm;
if (clienH < 568) {
num = parseInt(document.documentElement.clientHeight) / 568;
nm = num > 1 ? 1 : num;
console.log("5s");
} else if (568 <= clienH < 667) {
num = parseInt(document.documentElement.clientHeight) / 667;
nm = num > 1 ? 1 : num;
console.log("6 7 8");
} else if (667 <= clienH < 736) {
num = parseInt(document.documentElement.clientHeight) / 736;
nm = num > 1 ? 1 : num;
console.log("6p 7p 8p");
} else {
nm = 1
};
t = t || 540, n > t && (n = t);
var i = 100 * n / e * nm;
r.innerHTML = "html{font-size:" + i + "px;}"
}
var i, d = document,
o = window,
l = d.documentElement,
r = document.createElement("style");
if (l.firstElementChild) l.firstElementChild.appendChild(r);
else {
var a = d.createElement("div");
a.appendChild(r), d.write(a.innerHTML), a = null
}
n(), o.addEventListener("resize", function () {
clearTimeout(i), i = setTimeout(n, 300)
}, !1), o.addEventListener("pageshow", function (e) {
e.persisted && (clearTimeout(i), i = setTimeout(n, 300))
}, !1), "complete" === d.readyState ? d.body.style.fontSize = "16px" : d.addEventListener("DOMContentLoaded", function (e) {
d.body.style.fontSize = "16px"
}, !1)
}(750, 750);$('#hits').html('89');