加入点击发布 点赞 评论等打开弹窗

This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-06-23 16:36:53 +08:00
parent 5b96c49b44
commit 67d4082297
85 changed files with 705 additions and 573 deletions

View File

@@ -612,7 +612,7 @@ const _routes = [
meta: {},
alias: [],
redirect: void 0 ,
component: () => import('./_nuxt/_id_-LyIqyA6v.mjs').then((m) => m.default || m)
component: () => import('./_nuxt/_id_-yFUaLquT.mjs').then((m) => m.default || m)
},
{
name: "index.html",
@@ -620,7 +620,7 @@ const _routes = [
meta: {},
alias: [],
redirect: void 0 ,
component: () => import('./_nuxt/index-IJEZDXen.mjs').then((m) => m.default || m)
component: () => import('./_nuxt/index-rjOryQjh.mjs').then((m) => m.default || m)
},
{
name: "index",
@@ -636,7 +636,7 @@ const _routes = [
meta: {},
alias: [],
redirect: void 0 ,
component: () => import('./_nuxt/index-ZqsK41sl.mjs').then((m) => m.default || m)
component: () => import('./_nuxt/index-U3Jnma3Q.mjs').then((m) => m.default || m)
}
];
function generateRouteKey(route) {
@@ -1085,14 +1085,26 @@ const _sfc_main$2 = {
useRoute();
let isNeedLogin = ref(true);
let isGetLoginState = ref(true);
let realname = ref(0);
let userInfoWin = ref({});
provide("userInfoWin", userInfoWin);
const goLogin = () => {
return;
};
const openAttest = () => {
const handleAttestClose = () => {
var _a;
(void 0).removeEventListener("closeAttest", handleAttestClose);
realname.value = ((_a = (void 0).userInfoWin) == null ? void 0 : _a.realname) || 0;
};
(void 0).addEventListener("closeAttest", handleAttestClose);
loadAttest(2);
};
provide("isNeedLogin", isNeedLogin);
provide("goLogin", goLogin);
provide("isGetLoginState", isGetLoginState);
provide("realname", realname);
provide("openAttest", openAttest);
return (_ctx, _push, _parent, _attrs) => {
const _component_RouterView = resolveComponent("RouterView");
_push(`<!--[--><div id="append_parent"></div><div id="ajaxwaitid"></div>`);