讨论显示字数

This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-04-30 16:37:35 +08:00
parent a4d97e2ad2
commit 39475bc8bb
20 changed files with 125 additions and 78 deletions

View File

@@ -2609,75 +2609,75 @@ const assets$1 = {
"size": 2238,
"path": "../public/favicon.ico"
},
"/static/BGDbQN3C.js": {
"/static/B18V_g5i.js": {
"type": "text/javascript; charset=utf-8",
"etag": "\"d3c-6QewuO/6u9lQr+uYcU+8BZ7VrN8\"",
"mtime": "2025-03-28T07:56:53.322Z",
"etag": "\"24c9-acw4OkzPMPGD6tZj9YDdZvVJzsM\"",
"mtime": "2025-04-30T08:35:17.359Z",
"size": 9417,
"path": "../public/static/B18V_g5i.js"
},
"/static/BtJiJbkr.js": {
"type": "text/javascript; charset=utf-8",
"etag": "\"5aea3-+QbF6troIHYNUNtWMOglO1ngvMw\"",
"mtime": "2025-04-30T08:35:17.359Z",
"size": 372387,
"path": "../public/static/BtJiJbkr.js"
},
"/static/CZEVIQE1.js": {
"type": "text/javascript; charset=utf-8",
"etag": "\"d3c-b4gYgZH/yqwtQ7ALV7hMbrJXO5I\"",
"mtime": "2025-04-30T08:35:17.359Z",
"size": 3388,
"path": "../public/static/BGDbQN3C.js"
"path": "../public/static/CZEVIQE1.js"
},
"/static/empty-icon.CyaRoygc.png": {
"type": "image/png",
"etag": "\"17df-ZbUVuzPJ5DAL9B9xteitdPCiUxY\"",
"mtime": "2025-03-28T07:56:53.322Z",
"mtime": "2025-04-30T08:35:17.358Z",
"size": 6111,
"path": "../public/static/empty-icon.CyaRoygc.png"
},
"/static/entry.ZDbmrW6p.css": {
"/static/entry.Ac-gJZ5d.css": {
"type": "text/css; charset=utf-8",
"etag": "\"189f2-/x6t1gAZnr7CMaH/hj0pzDgkl7I\"",
"mtime": "2025-03-28T07:56:53.322Z",
"size": 100850,
"path": "../public/static/entry.ZDbmrW6p.css"
"etag": "\"18a30-qmndbce/ZiLfG/YK0OQ7Cl+gk+8\"",
"mtime": "2025-04-30T08:35:17.358Z",
"size": 100912,
"path": "../public/static/entry.Ac-gJZ5d.css"
},
"/static/error-404.CZkObG7r.css": {
"type": "text/css; charset=utf-8",
"etag": "\"de4-qBee3TVrfYv3V1By16k8mWrjcVQ\"",
"mtime": "2025-03-28T07:56:53.322Z",
"mtime": "2025-04-30T08:35:17.359Z",
"size": 3556,
"path": "../public/static/error-404.CZkObG7r.css"
},
"/static/error-500.BFrSi6nG.css": {
"type": "text/css; charset=utf-8",
"etag": "\"75c-1DSF9z8DiRXW3VbuCpNqepB9vI0\"",
"mtime": "2025-03-28T07:56:53.322Z",
"mtime": "2025-04-30T08:35:17.359Z",
"size": 1884,
"path": "../public/static/error-500.BFrSi6nG.css"
},
"/static/FpbUUKD2.js": {
"type": "text/javascript; charset=utf-8",
"etag": "\"5ace5-K/gV3a6XP+X+hPhbrn7VGDSahWc\"",
"mtime": "2025-03-28T07:56:53.322Z",
"size": 371941,
"path": "../public/static/FpbUUKD2.js"
},
"/static/logo.DlviZpxD.png": {
"type": "image/png",
"etag": "\"843f-FSXGFGigIHmtzjdcQzuMz/a7E+o\"",
"mtime": "2025-03-28T07:56:53.322Z",
"mtime": "2025-04-30T08:35:17.358Z",
"size": 33855,
"path": "../public/static/logo.DlviZpxD.png"
},
"/static/Umv-bsyi.js": {
"type": "text/javascript; charset=utf-8",
"etag": "\"24c9-yFPQmSnc9WsVeq0XcnuLbGpqSN0\"",
"mtime": "2025-03-28T07:56:53.322Z",
"size": 9417,
"path": "../public/static/Umv-bsyi.js"
},
"/static/builds/latest.json": {
"type": "application/json",
"etag": "\"47-RIUJhtgvODCyrxXqgyPeOjLToKE\"",
"mtime": "2025-03-28T07:56:56.193Z",
"etag": "\"47-we3v3RID73WrwmTKLUhMtKA+FI0\"",
"mtime": "2025-04-30T08:35:20.251Z",
"size": 71,
"path": "../public/static/builds/latest.json"
},
"/static/builds/meta/6d34f6d7-a75b-46a3-9d9e-24a6d070d84d.json": {
"/static/builds/meta/6c82e2ec-288f-48f8-90ab-4c99790d45ba.json": {
"type": "application/json",
"etag": "\"8b-GdQvOniL7+si4CMIx+7nWYyRur0\"",
"mtime": "2025-03-28T07:56:56.193Z",
"etag": "\"8b-OokAhRUVPnpaRJ58F4UD/EUJuX4\"",
"mtime": "2025-04-30T08:35:20.252Z",
"size": 139,
"path": "../public/static/builds/meta/6d34f6d7-a75b-46a3-9d9e-24a6d070d84d.json"
"path": "../public/static/builds/meta/6c82e2ec-288f-48f8-90ab-4c99790d45ba.json"
}
};
@@ -4349,7 +4349,7 @@ function _expandFromEnv(value) {
const _inlineRuntimeConfig = {
"app": {
"baseURL": "/",
"buildId": "6d34f6d7-a75b-46a3-9d9e-24a6d070d84d",
"buildId": "6c82e2ec-288f-48f8-90ab-4c99790d45ba",
"buildAssetsDir": "/static/",
"cdnURL": ""
},

View File

@@ -18,7 +18,7 @@ const client_manifest = {
"module": true,
"prefetch": true,
"preload": true,
"file": "Umv-bsyi.js",
"file": "B18V_g5i.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": "BGDbQN3C.js",
"file": "CZEVIQE1.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": "FpbUUKD2.js",
"file": "BtJiJbkr.js",
"name": "entry",
"src": "node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/entry.js",
"isEntry": true,
@@ -67,7 +67,7 @@ const client_manifest = {
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue"
],
"css": [
"entry.ZDbmrW6p.css"
"entry.Ac-gJZ5d.css"
],
"assets": [
"logo.DlviZpxD.png",
@@ -75,8 +75,8 @@ const client_manifest = {
],
"_globalCSS": true
},
"entry.ZDbmrW6p.css": {
"file": "entry.ZDbmrW6p.css",
"entry.Ac-gJZ5d.css": {
"file": "entry.Ac-gJZ5d.css",
"resourceType": "style",
"prefetch": true,
"preload": true

File diff suppressed because one or more lines are too long

View File

@@ -5380,7 +5380,7 @@ const _sfc_main$3 = {
const _component_el_button = ElButton;
_push(`<div${ssrRenderAttrs(mergeProps({ class: "answer-discuss" }, _attrs))}>`);
if (unref(editCommentState)) {
_push(`<div class="edit-comment flexcenter"><div class="box"><div class="text">编辑评论</div><div class="input-box"><div class="top flexflex"><textarea class="input-textarea flex1" maxlength="500" placeholder="说说你的想法或疑问…">${ssrInterpolate(unref(editInput))}</textarea></div>`);
_push(`<div class="edit-comment flexcenter"><div class="box"><div class="text">编辑评论</div><div class="input-box"><div class="top flexflex"><textarea class="input-textarea flex1" maxlength="1000" placeholder="说说你的想法或疑问…">${ssrInterpolate(unref(editInput))}</textarea></div>`);
if (unref(editPicture).url) {
_push(`<div class="picture-box"><div class="picture"><img class="close"${ssrRenderAttr("src", _imports_3$1)}><img class="img"${ssrRenderAttr("src", unref(editPicture).base64 || unref(editPicture).url)}></div></div>`);
} else {
@@ -5390,7 +5390,13 @@ const _sfc_main$3 = {
ssrRenderList(emojiData, (item) => {
_push(`<div class="emoji-icon">${ssrInterpolate(item)}</div>`);
});
_push(`<!--]--></div></div><div class="item flexacenter"><input class="file" type="file" accept=".png, .jpg, .jpeg"><img class="icon" style="${ssrRenderStyle({ "border-radius": "0" })}"${ssrRenderAttr("src", _imports_5$1)} alt=""><span class="file-hint">最多可上传1张图片支持在输入框中直接粘贴图片。</span></div></div></div></div><div class="btn-list flexacenter"><div class="btn">取消</div><div class="btn send">发送</div></div></div></div>`);
_push(`<!--]--></div></div><div class="item flexacenter"><input class="file" type="file" accept=".png, .jpg, .jpeg"><img class="icon" style="${ssrRenderStyle({ "border-radius": "0" })}"${ssrRenderAttr("src", _imports_5$1)} alt=""><span class="file-hint">最多可上传1张图片支持在输入框中直接粘贴图片。</span></div></div>`);
if (unref(editInput)) {
_push(`<div class="numberwords" style="${ssrRenderStyle({ "margin": "0" })}">${ssrInterpolate(unref(editInput).length)}/1000</div>`);
} else {
_push(`<!---->`);
}
_push(`</div></div><div class="btn-list flexacenter"><div class="btn">取消</div><div class="btn send">发送</div></div></div></div>`);
} else {
_push(`<!---->`);
}
@@ -5400,7 +5406,7 @@ const _sfc_main$3 = {
} else {
_push(`<!---->`);
}
_push(`<textarea class="input-textarea flex1" maxlength="500" placeholder="说说你的看法…">${ssrInterpolate(unref(inputTextarea))}</textarea></div>`);
_push(`<textarea class="input-textarea flex1" maxlength="1000" placeholder="说说你的看法…">${ssrInterpolate(unref(inputTextarea))}</textarea></div>`);
if (unref(picture).url) {
_push(`<div class="picture-box"><div class="picture"><img class="close"${ssrRenderAttr("src", _imports_3$1)}><img class="img"${ssrRenderAttr("src", unref(picture).base64 || unref(picture).url)}></div></div>`);
} else {
@@ -5410,7 +5416,13 @@ const _sfc_main$3 = {
ssrRenderList(emojiData, (item) => {
_push(`<div class="emoji-icon">${ssrInterpolate(item)}</div>`);
});
_push(`<!--]--></div></div><div class="item flexacenter"><input class="file" type="file" accept=".png, .jpg, .jpeg"><img class="icon" style="${ssrRenderStyle({ "border-radius": "0" })}"${ssrRenderAttr("src", _imports_5$1)} alt=""><span class="file-hint">最多可上传1张图片支持在输入框中直接粘贴图片。</span></div></div><div class="btn">发送</div></div></div><div class="comments-box"><!--[-->`);
_push(`<!--]--></div></div><div class="item flexacenter"><input class="file" type="file" accept=".png, .jpg, .jpeg"><img class="icon" style="${ssrRenderStyle({ "border-radius": "0" })}"${ssrRenderAttr("src", _imports_5$1)} alt=""><span class="file-hint">最多可上传1张图片支持在输入框中直接粘贴图片。</span></div></div><div class="flexacenter">`);
if (unref(inputTextarea)) {
_push(`<div class="numberwords">${ssrInterpolate(unref(inputTextarea).length)}/1000</div>`);
} else {
_push(`<!---->`);
}
_push(`<div class="btn">发送</div></div></div></div><div class="comments-box"><!--[-->`);
ssrRenderList(unref(commentList), (item, index) => {
var _a, _b, _c, _d;
_push(`<div class="comments-item"><div class="comments-header flexacenter"><div class="comments-header-left flexacenter"><img class="comments-avatar"${ssrRenderAttr("src", item["avatar"])}><div class="comments-username">${ssrInterpolate(item["nickname"] || "匿名用户")}</div><div class="comments-time">${ssrInterpolate(unref(handleDate)(item["timestamp"]))}</div>`);
@@ -5453,7 +5465,7 @@ const _sfc_main$3 = {
_push(`<!---->`);
}
if (item["childState"]) {
_push(`<div class="input-box"><img class="cross"${ssrRenderAttr("src", _imports_12)}><div class="top flexflex"><textarea class="input-textarea flex1" maxlength="500" placeholder="说说你的看法…">${ssrInterpolate(item["commentInput"])}</textarea></div>`);
_push(`<div class="input-box"><img class="cross"${ssrRenderAttr("src", _imports_12)}><div class="top flexflex"><textarea class="input-textarea flex1" maxlength="1000" placeholder="说说你的看法…">${ssrInterpolate(item["commentInput"])}</textarea></div>`);
if ((_d = item.picture) == null ? void 0 : _d.url) {
_push(`<div class="picture-box"><div class="picture"><img class="close"${ssrRenderAttr("src", _imports_3$1)}><img class="img"${ssrRenderAttr("src", item.picture.base64 || item.picture.url)}></div></div>`);
} else {
@@ -5463,7 +5475,13 @@ const _sfc_main$3 = {
ssrRenderList(emojiData, (item2) => {
_push(`<div class="emoji-icon">${ssrInterpolate(item2)}</div>`);
});
_push(`<!--]--></div></div><div class="item flexacenter"><input class="file" type="file" accept=".png, .jpg, .jpeg"><img class="icon" style="${ssrRenderStyle({ "border-radius": "0" })}"${ssrRenderAttr("src", _imports_5$1)} alt=""><span class="file-hint">最多可上传1张图片支持在输入框中直接粘贴图片。</span></div></div><div class="btn">发送</div></div></div>`);
_push(`<!--]--></div></div><div class="item flexacenter"><input class="file" type="file" accept=".png, .jpg, .jpeg"><img class="icon" style="${ssrRenderStyle({ "border-radius": "0" })}"${ssrRenderAttr("src", _imports_5$1)} alt=""><span class="file-hint">最多可上传1张图片支持在输入框中直接粘贴图片。</span></div></div><div class="flexacenter">`);
if (item["commentInput"]) {
_push(`<div class="numberwords">${ssrInterpolate(item.commentInput.length)}/1000</div>`);
} else {
_push(`<!---->`);
}
_push(`<div class="btn">发送</div></div></div></div>`);
} else {
_push(`<!---->`);
}
@@ -5518,7 +5536,7 @@ const _sfc_main$3 = {
_push(`<!---->`);
}
if (ite["childState"]) {
_push(`<div class="input-box"><img class="cross"${ssrRenderAttr("src", _imports_12)}><div class="top flexflex"><textarea class="input-textarea flex1" maxlength="500"${ssrRenderAttr("placeholder", "回复“" + (ite["nickname"] || "匿名用户") + "”:")}>${ssrInterpolate(ite["commentInput"])}</textarea></div>`);
_push(`<div class="input-box"><img class="cross"${ssrRenderAttr("src", _imports_12)}><div class="top flexflex"><textarea class="input-textarea flex1" maxlength="1000"${ssrRenderAttr("placeholder", "回复“" + (ite["nickname"] || "匿名用户") + "”:")}>${ssrInterpolate(ite["commentInput"])}</textarea></div>`);
if ((_e = ite.picture) == null ? void 0 : _e.url) {
_push(`<div class="picture-box"><div class="picture"><img class="close"${ssrRenderAttr("src", _imports_3$1)}><img class="img"${ssrRenderAttr("src", ite.picture.base64 || ite.picture.url)}></div></div>`);
} else {
@@ -5528,7 +5546,13 @@ const _sfc_main$3 = {
ssrRenderList(emojiData, (item2) => {
_push(`<div class="emoji-icon">${ssrInterpolate(item2)}</div>`);
});
_push(`<!--]--></div></div><div class="item flexacenter"><input class="file" type="file" accept=".png, .jpg, .jpeg"><img class="icon" style="${ssrRenderStyle({ "border-radius": "0" })}"${ssrRenderAttr("src", _imports_5$1)} alt=""><span class="file-hint">最多可上传1张图片支持在输入框中直接粘贴图片。</span></div></div><div class="btn">发送</div></div></div>`);
_push(`<!--]--></div></div><div class="item flexacenter"><input class="file" type="file" accept=".png, .jpg, .jpeg"><img class="icon" style="${ssrRenderStyle({ "border-radius": "0" })}"${ssrRenderAttr("src", _imports_5$1)} alt=""><span class="file-hint">最多可上传1张图片支持在输入框中直接粘贴图片。</span></div></div><div class="flexacenter">`);
if (ite["commentInput"]) {
_push(`<div class="numberwords">${ssrInterpolate(ite.commentInput.length)}/1000</div>`);
} else {
_push(`<!---->`);
}
_push(`<div class="btn">发送</div></div></div></div>`);
} else {
_push(`<!---->`);
}

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-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": () => 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-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-404.vue?vue&type=style&index=0&scoped=075d74b5&lang.css": () => import('./error-404-styles.BNmKahfp.mjs').then(interopDefault),
"app.vue?vue&type=style&index=0&lang.css": () => import('./app-styles.DjCRi-SL.mjs').then(interopDefault)
};

View File

@@ -72,7 +72,7 @@ function createHead(options = {}) {
return head;
}
const appHead = {"meta":[{"name":"viewport","content":"width=device-width, initial-scale=1"},{"charset":"utf-8"}],"link":[{"rel":"stylesheet","href":"//bbs.gter.net/data/cache/style_2_common.css?Z62"}],"style":[],"script":[{"src":"https://app.gter.net/bottom?tpl=header&menukey=ask"},{"src":"https://app.gter.net/bottom?tpl=footer,popupnotification","body":true},{"src":"https://bbs.gter.net/static/js/common.js","body":true},{"innerHTML":"\n window.userInfoWin = {}\n STYLEID = \"2\";\n STATICURL = \"static/\";\n IMGDIR = \"https://bbs.gter.net/template/archy_plt8/image\";\n VERHASH = \"Z62\";\n charset = \"gbk\";\n discuz_uid = \"0\";\n cookiepre = \"4B5x_c0ae_\";\n cookiedomain = \"gter.net\";\n cookiepath = \"/\";\n showusercard = \"1\";\n attackevasive = \"0\";\n disallowfloat = \"\";\n creditnotice = \",\";\n defaultstyle = \"\";\n REPORTURL = \"aHR0cDovL2Jicy5ndGVyLm5ldC9mb3J1bS5waHA/dGlkPTI0MDYzNTYmZ290bz1sYXN0cG9zdA==\";\n SITEURL = \"https://ask.gter.net/\";\n JSPATH = \"static/js/\";","type":"text/javascript","charset":"utf-8"}],"noscript":[]};
const appHead = {"meta":[{"name":"viewport","content":"width=device-width, initial-scale=1"},{"charset":"utf-8"}],"link":[{"rel":"stylesheet","href":"//bbs.gter.net/data/cache/style_2_common.css?Z62"}],"style":[],"script":[{"src":"https://app.gter.net/bottom?tpl=header&menukey=ask"},{"src":"https://app.gter.net/bottom?tpl=footer,popupnotification","body":true},{"src":"https://bbs.gter.net/static/js/common.js","body":true},{"innerHTML":"\n window.userInfoWin = {}\n STYLEID = \"2\";\n STATICURL = \"static/\";\n IMGDIR = \"https://bbs.gter.net/template/archy_plt8/image\";\n VERHASH = \"Z62\";\n charset = \"gbk\";\n discuz_uid = \"0\";\n cookiepre = \"4B5x_c0ae_\";\n cookiedomain = \"gter.net\";\n cookiepath = \"/\";\n showusercard = \"1\";\n attackevasive = \"0\";\n disallowfloat = \"\";\n creditnotice = \",\";\n defaultstyle = \"\";\n REPORTURL = \"aHR0cDovL2Jicy5ndGVyLm5ldC9mb3J1bS5waHA/dGlkPTI0MDYzNTYmZ290bz1sYXN0cG9zdA==\";\n SITEURL = \"https://ask.gter.net/\";\n JSPATH = \"static/js/\";","type":"text/javascript"}],"noscript":[]};
const appRootTag = "div";