增加弹窗私信
This commit is contained in:
@@ -1044,6 +1044,8 @@ const _sfc_main = {
|
||||
uniqidIndex.value = route.query.colorI;
|
||||
else
|
||||
uniqidIndex.value = Math.floor(Math.random() * 6);
|
||||
if (uniqidIndex.value > 6)
|
||||
uniqidIndex = 0;
|
||||
let info = ref({});
|
||||
let qrcode = ref("");
|
||||
let iscollection = ref(0);
|
||||
@@ -1089,7 +1091,11 @@ const _sfc_main = {
|
||||
};
|
||||
provide("getDetails", getDetails);
|
||||
const sendMessage = (uin) => {
|
||||
redirectToExternalWebsite(`https://bbs.gter.net/home.php?mod=space&showmsg=1&uid=${uin}`);
|
||||
if (uin && typeof messagePrivateItem == "function") {
|
||||
messagePrivateItem({ uin });
|
||||
return;
|
||||
} else
|
||||
redirectToExternalWebsite(`https://bbs.gter.net/home.php?mod=space&showmsg=1&uid=${uin}`);
|
||||
};
|
||||
const TAHomePage = (uin) => {
|
||||
redirectToExternalWebsite(`https://bbs.gter.net/home.php?mod=space&uid=${uin}`);
|
||||
@@ -1245,7 +1251,7 @@ const _sfc_main = {
|
||||
ref_key: "topHeadRef",
|
||||
ref: topHeadRef
|
||||
}, null, _parent));
|
||||
_push(`<div class="content flexflex" style="${ssrRenderStyle({ "--main-color": ("colourValue" in _ctx ? _ctx.colourValue : unref(colourValue))[unref(uniqidIndex)]["main"], "--bg-color": ("colourValue" in _ctx ? _ctx.colourValue : unref(colourValue))[unref(uniqidIndex)]["bg"], "--bc-color": ("colourValue" in _ctx ? _ctx.colourValue : unref(colourValue))[unref(uniqidIndex)]["bc"] })}" data-v-b0a68938><div class="header flexacenter" data-v-b0a68938><span data-v-b0a68938>${ssrInterpolate(unref(info).title)}</span></div><div class="left" data-v-b0a68938><div class="info flexacenter" data-v-b0a68938><div class="info-left flexacenter" data-v-b0a68938>`);
|
||||
_push(`<div class="content flexflex" style="${ssrRenderStyle({ "--main-color": ("colourValue" in _ctx ? _ctx.colourValue : unref(colourValue))[unref(uniqidIndex)]["main"], "--bg-color": ("colourValue" in _ctx ? _ctx.colourValue : unref(colourValue))[unref(uniqidIndex)]["bg"], "--bc-color": ("colourValue" in _ctx ? _ctx.colourValue : unref(colourValue))[unref(uniqidIndex)]["bc"] })}" data-v-f9944159><div class="header flexacenter" data-v-f9944159><span data-v-f9944159>${ssrInterpolate(unref(info).title)}</span></div><div class="left" data-v-f9944159><div class="info flexacenter" data-v-f9944159><div class="info-left flexacenter" data-v-f9944159>`);
|
||||
_push(ssrRenderComponent(_component_el_popover, {
|
||||
placement: "bottom-start",
|
||||
width: 140,
|
||||
@@ -1255,7 +1261,7 @@ const _sfc_main = {
|
||||
}, {
|
||||
reference: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(`<div class="flexcenter" data-v-b0a68938${_scopeId}><img class="avatar"${ssrRenderAttr("src", unref(info).avatar)} data-v-b0a68938${_scopeId}><div class="username" data-v-b0a68938${_scopeId}>${ssrInterpolate(unref(info).nickname)}</div></div>`);
|
||||
_push2(`<div class="flexcenter" data-v-f9944159${_scopeId}><img class="avatar"${ssrRenderAttr("src", unref(info).avatar)} data-v-f9944159${_scopeId}><div class="username" data-v-f9944159${_scopeId}>${ssrInterpolate(unref(info).nickname)}</div></div>`);
|
||||
} else {
|
||||
return [
|
||||
createVNode("div", { class: "flexcenter" }, [
|
||||
@@ -1271,7 +1277,7 @@ const _sfc_main = {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
if (unref(info)["uin"]) {
|
||||
_push2(`<div class="avatar-box flexflex" data-v-b0a68938${_scopeId}><a class="avatar-item flexcenter" target="_blank" data-v-b0a68938${_scopeId}><img class="avatar-icon"${ssrRenderAttr("src", _imports_0$1)} data-v-b0a68938${_scopeId}> \u53D1\u9001\u4FE1\u606F </a><a class="avatar-item flexcenter" target="_blank" data-v-b0a68938${_scopeId}><img class="avatar-icon"${ssrRenderAttr("src", _imports_1$1)} data-v-b0a68938${_scopeId}> TA\u7684\u4E3B\u9875 </a></div>`);
|
||||
_push2(`<div class="avatar-box flexflex" data-v-f9944159${_scopeId}><a class="avatar-item flexcenter" target="_blank" data-v-f9944159${_scopeId}><img class="avatar-icon"${ssrRenderAttr("src", _imports_0$1)} data-v-f9944159${_scopeId}> \u53D1\u9001\u4FE1\u606F </a><a class="avatar-item flexcenter" target="_blank" data-v-f9944159${_scopeId}><img class="avatar-icon"${ssrRenderAttr("src", _imports_1$1)} data-v-f9944159${_scopeId}> TA\u7684\u4E3B\u9875 </a></div>`);
|
||||
} else {
|
||||
_push2(`<!---->`);
|
||||
}
|
||||
@@ -1310,25 +1316,25 @@ const _sfc_main = {
|
||||
_: 1
|
||||
}, _parent));
|
||||
if (unref(info).releasetime) {
|
||||
_push(`<div class="post-time" data-v-b0a68938>${ssrInterpolate(("handleDate" in _ctx ? _ctx.handleDate : unref(handleDate))(unref(info).releasetime))}\u53D1\u5E03</div>`);
|
||||
_push(`<div class="post-time" data-v-f9944159>${ssrInterpolate(("handleDate" in _ctx ? _ctx.handleDate : unref(handleDate))(unref(info).releasetime))}\u53D1\u5E03</div>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
_push(`</div>`);
|
||||
if (unref(info)["status"] == 1) {
|
||||
_push(`<div class="info-right flexacenter" data-v-b0a68938><div class="cut-off" data-v-b0a68938>${ssrInterpolate(("handleDeadline" in _ctx ? _ctx.handleDeadline : unref(handleDeadline))(unref(info).deadline))}\u7ED3\u675F</div><div class="state" data-v-b0a68938>\u8FDB\u884C\u4E2D</div></div>`);
|
||||
_push(`<div class="info-right flexacenter" data-v-f9944159><div class="cut-off" data-v-f9944159>${ssrInterpolate(("handleDeadline" in _ctx ? _ctx.handleDeadline : unref(handleDeadline))(unref(info).deadline))}\u7ED3\u675F</div><div class="state" data-v-f9944159>\u8FDB\u884C\u4E2D</div></div>`);
|
||||
} else {
|
||||
_push(`<div class="info-right flexacenter" data-v-b0a68938>`);
|
||||
_push(`<div class="info-right flexacenter" data-v-f9944159>`);
|
||||
if (unref(info).deadline) {
|
||||
_push(`<div class="cut-off" data-v-b0a68938>\u5DF2\u4E8E${ssrInterpolate(unref(info).deadline)}\u7ED3\u675F</div>`);
|
||||
_push(`<div class="cut-off" data-v-f9944159>\u5DF2\u4E8E${ssrInterpolate(unref(info).deadline)}\u7ED3\u675F</div>`);
|
||||
} else {
|
||||
_push(`<!---->`);
|
||||
}
|
||||
_push(`<div class="state over" data-v-b0a68938>\u5DF2\u7ED3\u675F</div></div>`);
|
||||
_push(`<div class="state over" data-v-f9944159>\u5DF2\u7ED3\u675F</div></div>`);
|
||||
}
|
||||
_push(`</div><div class="message" data-v-b0a68938>${ssrInterpolate(unref(info).message)}</div><div class="hint" data-v-b0a68938>${ssrInterpolate(unref(info).status == 1 && unref(isvote) == 0 ? `\u5DF2\u6709 ${unref(info).votes || 0} \u4EBA\u53C2\u4E0E\uFF0C` : `\u5171\u6709 ${unref(info).votes || 0} \u4EBA\u53C2\u4E0E`)} ${ssrInterpolate(`${unref(isvote) == 1 ? "\u4F60\u5DF2\u6295\u7968" : unref(info).status == 1 ? "\u53C2\u4E0E\u6295\u7968\u5373\u53EF\u67E5\u770B\u5B9E\u65F6\u7ED3\u679C" : ""}`)}</div>`);
|
||||
_push(`</div><div class="message" data-v-f9944159>${ssrInterpolate(unref(info).message)}</div><div class="hint" data-v-f9944159>${ssrInterpolate(unref(info).status == 1 && unref(isvote) == 0 ? `\u5DF2\u6709 ${unref(info).votes || 0} \u4EBA\u53C2\u4E0E\uFF0C` : `\u5171\u6709 ${unref(info).votes || 0} \u4EBA\u53C2\u4E0E`)} ${ssrInterpolate(`${unref(isvote) == 1 ? "\u4F60\u5DF2\u6295\u7968" : unref(info).status == 1 ? "\u53C2\u4E0E\u6295\u7968\u5373\u53EF\u67E5\u770B\u5B9E\u65F6\u7ED3\u679C" : ""}`)}</div>`);
|
||||
_push(ssrRenderComponent(_component_ClientOnly, null, {}, _parent));
|
||||
_push(`</div><div class="right" data-v-b0a68938>`);
|
||||
_push(`</div><div class="right" data-v-f9944159>`);
|
||||
_push(ssrRenderComponent(_component_DetailsComments, {
|
||||
ref_key: "commentsRef",
|
||||
ref: commentsRef,
|
||||
@@ -1346,7 +1352,7 @@ const _sfc_main = {
|
||||
}, {
|
||||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||||
if (_push2) {
|
||||
_push2(`<div class="options-popup-text" data-v-b0a68938${_scopeId}>\u60A8\u8981\u53D6\u6D88\u6295\u7968\u5417\uFF1F</div><div class="options-popup-btn flexflex" data-v-b0a68938${_scopeId}><div class="options-popup-item options-no flexcenter" data-v-b0a68938${_scopeId}>\u53D6\u6D88\u6295\u7968</div><div class="options-popup-item options-yes flexcenter" data-v-b0a68938${_scopeId}>\u4E0D\u53D6\u6D88</div></div>`);
|
||||
_push2(`<div class="options-popup-text" data-v-f9944159${_scopeId}>\u60A8\u8981\u53D6\u6D88\u6295\u7968\u5417\uFF1F</div><div class="options-popup-btn flexflex" data-v-f9944159${_scopeId}><div class="options-popup-item options-no flexcenter" data-v-f9944159${_scopeId}>\u53D6\u6D88\u6295\u7968</div><div class="options-popup-item options-yes flexcenter" data-v-f9944159${_scopeId}>\u4E0D\u53D6\u6D88</div></div>`);
|
||||
} else {
|
||||
return [
|
||||
createVNode("div", { class: "options-popup-text" }, "\u60A8\u8981\u53D6\u6D88\u6295\u7968\u5417\uFF1F"),
|
||||
@@ -1375,7 +1381,7 @@ _sfc_main.setup = (props, ctx) => {
|
||||
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/details/[id].vue");
|
||||
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
||||
};
|
||||
const _id_ = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b0a68938"]]);
|
||||
const _id_ = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f9944159"]]);
|
||||
|
||||
export { _id_ as default };
|
||||
//# sourceMappingURL=_id_-KRX1QAkz.mjs.map
|
||||
//# sourceMappingURL=_id_-_EzwhNBN.mjs.map
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"_id_-styles.jf6M_6Wp.mjs","sources":["../../../../../.nuxt/dist/server/_nuxt/_id_-styles-1.mjs-Zk_ORkFo.js","../../../../../.nuxt/dist/server/_nuxt/_id_-styles-2.mjs-DB_t3A5a.js","../../../../../.nuxt/dist/server/_nuxt/_id_-styles-3.mjs-KpAVOLpn.js","../../../../../.nuxt/dist/server/_nuxt/_id_-styles-4.mjs-mr43ds-s.js","../../../../../.nuxt/dist/server/_nuxt/_id_-styles-5.mjs-gq1sOdwe.js","../../../../../.nuxt/dist/server/_nuxt/_id_-styles-6.mjs-x83X8kmU.js","../../../../../.nuxt/dist/server/_nuxt/_id_-styles-7.mjs-1kplGNqb.js","../../../../../.nuxt/dist/server/_nuxt/_id_-styles.jf6M_6Wp.mjs"],"sourcesContent":null,"names":["style_0","style_1","style_2","style_3","style_4","style_5","style_6","style_7","style_8"],"mappings":"AAAA,MAAM,sDAAyD,GAAA,uwGAAA;;ACA/D,MAAM,SAAY,GAAA,y1CAAA;;ACAlB,MAAM,+DAAkE,GAAA,wwRAAA;;ACAxE,MAAM,+CAAkD,GAAA,u6BAAA;;ACAxD,MAAM,2DAA8D,GAAA,qjHAAA;;ACApE,MAAM,oDAAuD,GAAA,ygKAAA;;ACA7D,MAAM,oCAAuC,GAAA,8wBAAA;;ACS7C,4BAAe,CAACA,sDAAO,EAAEC,SAAO,EAAEC,+DAAO,EAAEC,+CAAO,EAAEC,2DAAO,EAAEC,oDAAO,EAAEC,oCAAO,EAAEC,oDAAO,EAAEC,oCAAO;;;;"}
|
||||
{"version":3,"file":"_id_-styles.dtB0QvCx.mjs","sources":["../../../../../.nuxt/dist/server/_nuxt/_id_-styles-1.mjs-Zk_ORkFo.js","../../../../../.nuxt/dist/server/_nuxt/_id_-styles-2.mjs-DB_t3A5a.js","../../../../../.nuxt/dist/server/_nuxt/_id_-styles-3.mjs-KpAVOLpn.js","../../../../../.nuxt/dist/server/_nuxt/_id_-styles-4.mjs-mr43ds-s.js","../../../../../.nuxt/dist/server/_nuxt/_id_-styles-5.mjs-gq1sOdwe.js","../../../../../.nuxt/dist/server/_nuxt/_id_-styles-6.mjs-KN41da_5.js","../../../../../.nuxt/dist/server/_nuxt/_id_-styles-7.mjs-1kplGNqb.js","../../../../../.nuxt/dist/server/_nuxt/_id_-styles.dtB0QvCx.mjs"],"sourcesContent":null,"names":["style_0","style_1","style_2","style_3","style_4","style_5","style_6","style_7","style_8"],"mappings":"AAAA,MAAM,sDAAyD,GAAA,uwGAAA;;ACA/D,MAAM,SAAY,GAAA,y1CAAA;;ACAlB,MAAM,+DAAkE,GAAA,wwRAAA;;ACAxE,MAAM,+CAAkD,GAAA,u6BAAA;;ACAxD,MAAM,2DAA8D,GAAA,qjHAAA;;ACApE,MAAM,oDAAuD,GAAA,ygKAAA;;ACA7D,MAAM,oCAAuC,GAAA,8wBAAA;;ACS7C,4BAAe,CAACA,sDAAO,EAAEC,SAAO,EAAEC,+DAAO,EAAEC,+CAAO,EAAEC,2DAAO,EAAEC,oDAAO,EAAEC,oCAAO,EAAEC,oDAAO,EAAEC,oCAAO;;;;"}
|
||||
Reference in New Issue
Block a user