默认给个匿名用户

This commit is contained in:
A1300399510
2025-02-07 16:18:46 +08:00
parent 177efaaab9
commit af8f934f3e
12 changed files with 62 additions and 62 deletions

View File

@@ -138,7 +138,7 @@ const client_manifest = {
"prefetch": true,
"preload": true,
"css": [],
"file": "error-404.8263ed35.js",
"file": "error-404.df433d6b.js",
"imports": [
"node_modules/nuxt/dist/app/entry.js"
],
@@ -164,7 +164,7 @@ const client_manifest = {
"prefetch": true,
"preload": true,
"css": [],
"file": "error-500.7d50cdd4.js",
"file": "error-500.1ca3971c.js",
"imports": [
"node_modules/nuxt/dist/app/entry.js"
],
@@ -216,7 +216,7 @@ const client_manifest = {
"node_modules/@nuxt/ui-templates/dist/templates/error-404.vue",
"node_modules/@nuxt/ui-templates/dist/templates/error-500.vue"
],
"file": "entry.0eecaf5f.js",
"file": "entry.1dbf8890.js",
"isEntry": true,
"src": "node_modules/nuxt/dist/app/entry.js",
"_globalCSS": true

View File

@@ -1174,7 +1174,7 @@ const _sfc_main$3 = {
_push(`<!--]--></div></div><div class="item flexacenter"><input class="file" type="file" accept=".png, .jpg, .jpeg"><img class="icon"${ssrRenderAttr("src", _imports_2$1)} alt=""><span class="file-hint">最多可上传1张图片支持在输入框中直接粘贴图片。</span></div></div><div class="btn">发送</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>`);
_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>`);
if (item["isauthor"] == 1) {
_push(`<div class="comments-identity">提问者</div>`);
} else {
@@ -1217,7 +1217,7 @@ const _sfc_main$3 = {
_push(`<div class="child-comments"><!--[-->`);
ssrRenderList(item["child"], (ite, i) => {
var _a2, _b2, _c2, _d2, _e;
_push(`<div class="comments-item"><div class="comments-header flexacenter"><div class="comments-header-left flexacenter"><img class="comments-avatar"${ssrRenderAttr("src", ite["avatar"])}><div class="comments-username">${ssrInterpolate(ite["nickname"])}</div><div class="comments-time">${ssrInterpolate(unref(handleDate)(ite["timestamp"]))}</div>`);
_push(`<div class="comments-item"><div class="comments-header flexacenter"><div class="comments-header-left flexacenter"><img class="comments-avatar"${ssrRenderAttr("src", ite["avatar"])}><div class="comments-username">${ssrInterpolate(ite["nickname"] || "匿名用户")}</div><div class="comments-time">${ssrInterpolate(unref(handleDate)(ite["timestamp"]))}</div>`);
if (ite["isauthor"] == 1) {
_push(`<div class="comments-identity">提问者</div>`);
} else {
@@ -1236,7 +1236,7 @@ const _sfc_main$3 = {
}
_push(`<div class="like-quantity">${ssrInterpolate(ite["likenum"] || "")}</div></div></div></div><div class="comments-content"><div class="comments-text">`);
if ((_a2 = ite == null ? void 0 : ite.reply) == null ? void 0 : _a2.nickname) {
_push(`<div class="comments-reply">@${ssrInterpolate(ite["reply"]["nickname"])}</div>`);
_push(`<div class="comments-reply">@${ssrInterpolate(ite["reply"]["nickname"] || "匿名用户")}</div>`);
} else {
_push(`<!---->`);
}
@@ -1247,7 +1247,7 @@ const _sfc_main$3 = {
_push(`<!---->`);
}
if (ite["childState"]) {
_push(`<div class="input-box"><img class="cross"${ssrRenderAttr("src", _imports_11)}><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_11)}><div class="top flexflex"><textarea class="input-textarea flex1" maxlength="500"${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_0$1)}><img class="img"${ssrRenderAttr("src", ite.picture.base64 || ite.picture.url)}></div></div>`);
} else {

View File

@@ -3075,7 +3075,7 @@ function klona(x) {
const inlineAppConfig = {
"nuxt": {
"buildId": "56c59def-ef3d-4ab2-9b83-b0a692ccc6f7"
"buildId": "04c343c9-fe05-4afc-baca-25cc4a9cc310"
}
};
@@ -4965,189 +4965,189 @@ const assets = {
"/static/add-icon.0b0b5313.svg": {
"type": "image/svg+xml",
"etag": "\"d67-gajxuGcy6aHIeWAbO0RazX03p90\"",
"mtime": "2025-02-07T07:58:09.329Z",
"mtime": "2025-02-07T08:17:35.115Z",
"size": 3431,
"path": "../public/static/add-icon.0b0b5313.svg"
},
"/static/arrows-icon.271dd0d3.svg": {
"type": "image/svg+xml",
"etag": "\"5a0-yAit7q5lcKJMd35iOMMifZv2uno\"",
"mtime": "2025-02-07T07:58:09.329Z",
"mtime": "2025-02-07T08:17:35.119Z",
"size": 1440,
"path": "../public/static/arrows-icon.271dd0d3.svg"
},
"/static/close-icon.86743366.svg": {
"type": "image/svg+xml",
"etag": "\"2d4-QYrulZl33jopLCT37UdJfnzXOVg\"",
"mtime": "2025-02-07T07:58:09.329Z",
"mtime": "2025-02-07T08:17:35.119Z",
"size": 724,
"path": "../public/static/close-icon.86743366.svg"
},
"/static/collect-icon-colours.6d2ade7f.svg": {
"type": "image/svg+xml",
"etag": "\"7ab-av9D1DgxgD5cvY5wd30haD7c1q0\"",
"mtime": "2025-02-07T07:58:09.329Z",
"mtime": "2025-02-07T08:17:35.118Z",
"size": 1963,
"path": "../public/static/collect-icon-colours.6d2ade7f.svg"
},
"/static/comment-icon-gray.2c8779f9.svg": {
"type": "image/svg+xml",
"etag": "\"816-HEGvNjvS0TeA/3uJweilvZfCqlk\"",
"mtime": "2025-02-07T07:58:09.330Z",
"mtime": "2025-02-07T08:17:35.119Z",
"size": 2070,
"path": "../public/static/comment-icon-gray.2c8779f9.svg"
},
"/static/delete-icon.4d386dce.svg": {
"type": "image/svg+xml",
"etag": "\"17fe-RGKa0+MaUqOqlbPlXlig67fGkaY\"",
"mtime": "2025-02-07T07:58:09.329Z",
"mtime": "2025-02-07T08:17:35.119Z",
"size": 6142,
"path": "../public/static/delete-icon.4d386dce.svg"
},
"/static/dot-gray.86cdd7b5.svg": {
"type": "image/svg+xml",
"etag": "\"2af-sBMsuPZbsh28jzlFWO9lVYMVDk8\"",
"mtime": "2025-02-07T07:58:09.329Z",
"mtime": "2025-02-07T08:17:35.118Z",
"size": 687,
"path": "../public/static/dot-gray.86cdd7b5.svg"
},
"/static/dot-yellow.4b5e135b.svg": {
"type": "image/svg+xml",
"etag": "\"2af-6L7YsWhGTHBB6NqQztB/l2OFRfE\"",
"mtime": "2025-02-07T07:58:09.329Z",
"mtime": "2025-02-07T08:17:35.118Z",
"size": 687,
"path": "../public/static/dot-yellow.4b5e135b.svg"
},
"/static/dot.1026a040.svg": {
"type": "image/svg+xml",
"etag": "\"217-dx6xqUT4D9pCoKc6nr20aXeJQXQ\"",
"mtime": "2025-02-07T07:58:09.329Z",
"mtime": "2025-02-07T08:17:35.118Z",
"size": 535,
"path": "../public/static/dot.1026a040.svg"
},
"/static/empty-icon.24a01ae2.svg": {
"type": "image/svg+xml",
"etag": "\"d028-Our2UxxUiciRSduORd8JZCt5Prw\"",
"mtime": "2025-02-07T07:58:09.329Z",
"mtime": "2025-02-07T08:17:35.118Z",
"size": 53288,
"path": "../public/static/empty-icon.24a01ae2.svg"
},
"/static/entry.0eecaf5f.js": {
"/static/entry.1dbf8890.js": {
"type": "application/javascript",
"etag": "\"3d2f0-dEiLPsA4MRAl9CCZvtxZHNmduWU\"",
"mtime": "2025-02-07T07:58:09.332Z",
"size": 250608,
"path": "../public/static/entry.0eecaf5f.js"
"etag": "\"3d332-O+COio5t2hW/jrVi/3HfGvgu0bk\"",
"mtime": "2025-02-07T08:17:35.121Z",
"size": 250674,
"path": "../public/static/entry.1dbf8890.js"
},
"/static/entry.a3955614.css": {
"type": "text/css; charset=utf-8",
"etag": "\"1074e-0y9wxTGjo3C3dJccbOmAo/yGBYU\"",
"mtime": "2025-02-07T07:58:09.325Z",
"mtime": "2025-02-07T08:17:35.119Z",
"size": 67406,
"path": "../public/static/entry.a3955614.css"
},
"/static/error-404.7fc72018.css": {
"type": "text/css; charset=utf-8",
"etag": "\"e2e-iNt1cqPQ0WDudfCTZVQd31BeRGs\"",
"mtime": "2025-02-07T07:58:09.326Z",
"mtime": "2025-02-07T08:17:35.119Z",
"size": 3630,
"path": "../public/static/error-404.7fc72018.css"
},
"/static/error-404.8263ed35.js": {
"/static/error-404.df433d6b.js": {
"type": "application/javascript",
"etag": "\"18de-WSKHtx56Y7kH7gADHI4Z1PAIZ6w\"",
"mtime": "2025-02-07T07:58:09.331Z",
"etag": "\"18de-BFdfru3nciU7awwQFjcJNNJd7fA\"",
"mtime": "2025-02-07T08:17:35.121Z",
"size": 6366,
"path": "../public/static/error-404.8263ed35.js"
"path": "../public/static/error-404.df433d6b.js"
},
"/static/error-500.7d50cdd4.js": {
"/static/error-500.1ca3971c.js": {
"type": "application/javascript",
"etag": "\"756-bMXz/hVAb0ioAF+0aiaaDU7VSSM\"",
"mtime": "2025-02-07T07:58:09.331Z",
"etag": "\"756-HX4noLXvalbiEOf1RynRxqBEI+w\"",
"mtime": "2025-02-07T08:17:35.121Z",
"size": 1878,
"path": "../public/static/error-500.7d50cdd4.js"
"path": "../public/static/error-500.1ca3971c.js"
},
"/static/error-500.c5df6088.css": {
"type": "text/css; charset=utf-8",
"etag": "\"79e-ByRo+49BgcevWdRjJy3CMx2IA5k\"",
"mtime": "2025-02-07T07:58:09.330Z",
"mtime": "2025-02-07T08:17:35.121Z",
"size": 1950,
"path": "../public/static/error-500.c5df6088.css"
},
"/static/logo.6622f82d.png": {
"type": "image/png",
"etag": "\"843f-FSXGFGigIHmtzjdcQzuMz/a7E+o\"",
"mtime": "2025-02-07T07:58:09.328Z",
"mtime": "2025-02-07T08:17:35.118Z",
"size": 33855,
"path": "../public/static/logo.6622f82d.png"
},
"/static/menu-icon-gray.d61f02b1.svg": {
"type": "image/svg+xml",
"etag": "\"6de-kmXhltPHfF4W1gmV7wT4aZCZ6gg\"",
"mtime": "2025-02-07T07:58:09.330Z",
"mtime": "2025-02-07T08:17:35.119Z",
"size": 1758,
"path": "../public/static/menu-icon-gray.d61f02b1.svg"
},
"/static/QRCode-icon.a105d5fc.svg": {
"type": "image/svg+xml",
"etag": "\"9c1-qGg9jZ5wmHJGzh2A00nHIGWHMh4\"",
"mtime": "2025-02-07T07:58:09.329Z",
"mtime": "2025-02-07T08:17:35.119Z",
"size": 2497,
"path": "../public/static/QRCode-icon.a105d5fc.svg"
},
"/static/tick-no.179037b3.svg": {
"type": "image/svg+xml",
"etag": "\"1ea-YISAWqJD56jxoQT8N812fDJfkMw\"",
"mtime": "2025-02-07T07:58:09.329Z",
"mtime": "2025-02-07T08:17:35.119Z",
"size": 490,
"path": "../public/static/tick-no.179037b3.svg"
},
"/static/tick-option.e092d22f.svg": {
"type": "image/svg+xml",
"etag": "\"29a-UVjuq3WHs6mhu1KGQ7gQmJH2Bc4\"",
"mtime": "2025-02-07T07:58:09.329Z",
"mtime": "2025-02-07T08:17:35.119Z",
"size": 666,
"path": "../public/static/tick-option.e092d22f.svg"
},
"/static/tick-orange.233abc69.svg": {
"type": "image/svg+xml",
"etag": "\"60a-VrP9K+TQp6JbNcrU5k1Dor/Kq/E\"",
"mtime": "2025-02-07T07:58:09.329Z",
"mtime": "2025-02-07T08:17:35.119Z",
"size": 1546,
"path": "../public/static/tick-orange.233abc69.svg"
},
"/static/triangle-icon.c39ff2e7.svg": {
"type": "image/svg+xml",
"etag": "\"446-ylQ81DOJ3joSbsS9atyrW6pZsBY\"",
"mtime": "2025-02-07T07:58:09.330Z",
"mtime": "2025-02-07T08:17:35.119Z",
"size": 1094,
"path": "../public/static/triangle-icon.c39ff2e7.svg"
},
"/static/view-icon.da7fef35.svg": {
"type": "image/svg+xml",
"etag": "\"f39-5Jwx14wB0jgB0Du25KRZbkEEXvI\"",
"mtime": "2025-02-07T07:58:09.329Z",
"mtime": "2025-02-07T08:17:35.118Z",
"size": 3897,
"path": "../public/static/view-icon.da7fef35.svg"
},
"/static/builds/latest.json": {
"type": "application/json",
"etag": "\"47-j8F3ZmvG1pjMBrlhAgDi8dvtxsg\"",
"mtime": "2025-02-07T07:58:22.033Z",
"etag": "\"47-4juM/7wYc+G93AWV0bngTVexGjY\"",
"mtime": "2025-02-07T08:17:58.743Z",
"size": 71,
"path": "../public/static/builds/latest.json"
},
"/static/builds/meta/56c59def-ef3d-4ab2-9b83-b0a692ccc6f7.json": {
"/static/builds/meta/04c343c9-fe05-4afc-baca-25cc4a9cc310.json": {
"type": "application/json",
"etag": "\"8b-+r4zgWJxNOoUdLXfs4+O7yaOLVc\"",
"mtime": "2025-02-07T07:58:22.034Z",
"etag": "\"8b-0oueIPyOlsFq8XAy1bWifzLQC7A\"",
"mtime": "2025-02-07T08:17:58.743Z",
"size": 139,
"path": "../public/static/builds/meta/56c59def-ef3d-4ab2-9b83-b0a692ccc6f7.json"
"path": "../public/static/builds/meta/04c343c9-fe05-4afc-baca-25cc4a9cc310.json"
},
"/static/builds/meta/dev.json": {
"type": "application/json",
"etag": "\"6a-7qqodPJ1LjS9ovJbg5gEHaTbo/E\"",
"mtime": "2025-02-07T07:58:18.526Z",
"etag": "\"6a-zgWaOL/FyDQQM9lDdO+oetT7RFU\"",
"mtime": "2025-02-07T08:17:21.711Z",
"size": 106,
"path": "../public/static/builds/meta/dev.json"
}