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

This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-06-23 16:36:43 +08:00
parent 0c3eeec6ea
commit b5342122db
14 changed files with 139 additions and 63 deletions

View File

@@ -18,7 +18,7 @@ const client_manifest = {
"module": true,
"prefetch": true,
"preload": true,
"file": "Pd5q2QhC.js",
"file": "_QqbM9t2.js",
"name": "error-404",
"src": "node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-404.vue",
"isDynamicEntry": true,
@@ -38,7 +38,7 @@ const client_manifest = {
"module": true,
"prefetch": true,
"preload": true,
"file": "BceciXOH.js",
"file": "CqXfGTyn.js",
"name": "error-500",
"src": "node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue",
"isDynamicEntry": true,
@@ -58,7 +58,7 @@ const client_manifest = {
"module": true,
"prefetch": true,
"preload": true,
"file": "B7LTOXac.js",
"file": "CfEjeSBm.js",
"name": "entry",
"src": "node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/entry.js",
"isEntry": true,

View File

@@ -5348,6 +5348,8 @@ const _sfc_main$3 = {
__expose({
closeEmoji
});
inject("openAttest");
inject("realname");
inject("handleMenuState");
let dialogVisible = ref(false);
let commemtDelete = {};
@@ -5779,6 +5781,18 @@ const _sfc_main$2 = {
const route = useRoute();
const baseURL = "https://ask.gter.net";
let type = ref("list");
let realname = ref(0);
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("realname", realname);
provide("openAttest", openAttest);
let user = ref({});
provide("user", user);
let originUrl = ref("");
@@ -5983,6 +5997,10 @@ const _sfc_main$2 = {
let answerList = ref([]);
let answerPage = ref(1);
const operateLike = () => {
if (realname.value == 0 && user.value.uin > 0) {
openAttest();
return;
}
if (isNeedLogin.value) {
return;
}

View File

@@ -2,10 +2,10 @@ const interopDefault = r => r.default || r || [];
const styles = {
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/entry.js": () => import('./entry-styles.BMEJ6WCM.mjs').then(interopDefault),
"app.vue": () => import('./app-styles.CoC7fGAv.mjs').then(interopDefault),
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue": () => import('./error-500-styles.TwxDbBgG.mjs').then(interopDefault),
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-404.vue": () => import('./error-404-styles.wRz_-Rw1.mjs').then(interopDefault),
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue?vue&type=style&index=0&scoped=84d937c0&lang.css": () => import('./error-500-styles.Cx3AJg0u.mjs').then(interopDefault),
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue": () => import('./error-500-styles.TwxDbBgG.mjs').then(interopDefault),
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-404.vue?vue&type=style&index=0&scoped=075d74b5&lang.css": () => import('./error-404-styles.BNmKahfp.mjs').then(interopDefault),
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue?vue&type=style&index=0&scoped=84d937c0&lang.css": () => import('./error-500-styles.Cx3AJg0u.mjs').then(interopDefault),
"app.vue?vue&type=style&index=0&lang.css": () => import('./app-styles.DjCRi-SL.mjs').then(interopDefault)
};