取消强制跳转https 增加活跃列表页面

This commit is contained in:
lingling 2025-02-19 17:26:08 +08:00
parent 5b0684bc76
commit a097f83e2d
2 changed files with 86 additions and 4 deletions

View File

@ -80,10 +80,6 @@
e.preventDefault() e.preventDefault()
}) })
if (window.location.protocol === 'http:') { // http 强制改成 https
window.location.href = window.location.href.replace('http:', 'https:');
}
} }
</script> </script>
<script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script> <script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>

86
js/index-8b712531.js Normal file
View File

@ -0,0 +1,86 @@
import {
j as t,
aC as e,
m as a,
p as s,
o as l,
f as n,
t as o,
h as c,
e as f,
F as r,
r as i,
} from "./index-476be0bb.js";
import { s as d } from "./api.mine-40f950d7.js";
const x = { class: "p-10 bg-#f6f6f6" },
h = { class: "flex h-40 rounded-10 bg-#fff" },
v = { class: "w-50% text-center lh-40" },
p = { class: "w-50% text-center lh-40" },
m = { key: 0 },
u = { class: "flex h-40" },
g = { class: "w-50% text-center lh-40" },
b = { class: "w-50% text-center lh-40" },
w = { key: 1, class: "text-center pt-50 text-#666" },
y = {
__name: "index",
setup(y) {
const $ = t([]);
return (
d({}).then((t) => {
t.data.length > 0 && ($.value = t.data);
}),
(t, d) => {
const y = e("normal-layout");
return (
l(),
a(
y,
{
flex: "",
"bg-color": "#f6f6f6",
"nav-bg-color": "#fff",
"text-color": "#000",
title: t.$t("活跃人数"),
backType: 0,
},
{
default: s(() => [
n("div", x, [
n("div", h, [
n("div", v, o(t.$t("手机号")), 1),
n("div", p, o(t.$t("积分")), 1),
]),
c($).length > 0
? (l(),
f("div", m, [
(l(!0),
f(
r,
null,
i(
c($),
(t) => (
l(),
f("div", u, [
n("div", g, o(t.phone), 1),
n("div", b, o(Math.floor(t.income)), 1),
])
)
),
256
)),
]))
: (l(), f("div", w, o(t.$t("没有更多了")), 1)),
]),
]),
_: 1,
},
8,
["title"]
)
);
}
);
},
};
export { y as default };