默认给个匿名用户

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

@ -1,5 +1,5 @@
{ {
"date": "2025-02-07T07:58:31.659Z", "date": "2025-02-07T08:18:12.857Z",
"preset": "node-server", "preset": "node-server",
"framework": { "framework": {
"name": "nuxt", "name": "nuxt",

View File

@ -1 +1 @@
{"id":"56c59def-ef3d-4ab2-9b83-b0a692ccc6f7","timestamp":1738915071719} {"id":"04c343c9-fe05-4afc-baca-25cc4a9cc310","timestamp":1738916234226}

View File

@ -0,0 +1 @@
{"id":"04c343c9-fe05-4afc-baca-25cc4a9cc310","timestamp":1738916234226,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

View File

@ -1 +0,0 @@
{"id":"56c59def-ef3d-4ab2-9b83-b0a692ccc6f7","timestamp":1738915071719,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

View File

@ -1 +1 @@
{"id":"dev","timestamp":1738915092669,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]} {"id":"dev","timestamp":1738916234967,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{_ as i,t as a,v as r,x as n,y as e,z as s,D as l,E as d}from"./entry.0eecaf5f.js";const c=t=>(l("data-v-df79c84d"),t=t(),d(),t),p={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},f=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),h={class:"max-w-520px text-center"},g=["textContent"],m=["textContent"],x={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return a({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(u,b)=>(r(),n("div",p,[f,e("div",h,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,g),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,m)])]))}},w=i(x,[["__scopeId","data-v-df79c84d"]]);export{w as default}; import{_ as i,t as a,v as r,x as n,y as e,z as s,D as l,E as d}from"./entry.1dbf8890.js";const c=t=>(l("data-v-df79c84d"),t=t(),d(),t),p={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},f=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),h={class:"max-w-520px text-center"},g=["textContent"],m=["textContent"],x={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return a({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(u,b)=>(r(),n("div",p,[f,e("div",h,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,g),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,m)])]))}},w=i(x,[["__scopeId","data-v-df79c84d"]]);export{w as default};

View File

@ -138,7 +138,7 @@ const client_manifest = {
"prefetch": true, "prefetch": true,
"preload": true, "preload": true,
"css": [], "css": [],
"file": "error-404.8263ed35.js", "file": "error-404.df433d6b.js",
"imports": [ "imports": [
"node_modules/nuxt/dist/app/entry.js" "node_modules/nuxt/dist/app/entry.js"
], ],
@ -164,7 +164,7 @@ const client_manifest = {
"prefetch": true, "prefetch": true,
"preload": true, "preload": true,
"css": [], "css": [],
"file": "error-500.7d50cdd4.js", "file": "error-500.1ca3971c.js",
"imports": [ "imports": [
"node_modules/nuxt/dist/app/entry.js" "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-404.vue",
"node_modules/@nuxt/ui-templates/dist/templates/error-500.vue" "node_modules/@nuxt/ui-templates/dist/templates/error-500.vue"
], ],
"file": "entry.0eecaf5f.js", "file": "entry.1dbf8890.js",
"isEntry": true, "isEntry": true,
"src": "node_modules/nuxt/dist/app/entry.js", "src": "node_modules/nuxt/dist/app/entry.js",
"_globalCSS": true "_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"><!--[-->`); _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) => { ssrRenderList(unref(commentList), (item, index) => {
var _a, _b, _c, _d; 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) { if (item["isauthor"] == 1) {
_push(`<div class="comments-identity">提问者</div>`); _push(`<div class="comments-identity">提问者</div>`);
} else { } else {
@ -1217,7 +1217,7 @@ const _sfc_main$3 = {
_push(`<div class="child-comments"><!--[-->`); _push(`<div class="child-comments"><!--[-->`);
ssrRenderList(item["child"], (ite, i) => { ssrRenderList(item["child"], (ite, i) => {
var _a2, _b2, _c2, _d2, _e; 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) { if (ite["isauthor"] == 1) {
_push(`<div class="comments-identity">提问者</div>`); _push(`<div class="comments-identity">提问者</div>`);
} else { } 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">`); _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) { 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 { } else {
_push(`<!---->`); _push(`<!---->`);
} }
@ -1247,7 +1247,7 @@ const _sfc_main$3 = {
_push(`<!---->`); _push(`<!---->`);
} }
if (ite["childState"]) { 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) { 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>`); _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 { } else {

View File

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

View File

@ -39,7 +39,7 @@
<div class="comments-header flexacenter"> <div class="comments-header flexacenter">
<div class="comments-header-left flexacenter"> <div class="comments-header-left flexacenter">
<img class="comments-avatar" @click="openUserInfo(index)" :src="item['avatar']" /> <img class="comments-avatar" @click="openUserInfo(index)" :src="item['avatar']" />
<div class="comments-username" @click="openUserInfo(index)">{{ item["nickname"] }}</div> <div class="comments-username" @click="openUserInfo(index)">{{ item["nickname"] || "匿名用户" }}</div>
<div class="comments-time">{{ handleDate(item["timestamp"]) }}</div> <div class="comments-time">{{ handleDate(item["timestamp"]) }}</div>
<div class="comments-identity" v-if="item['isauthor'] == 1">提问者</div> <div class="comments-identity" v-if="item['isauthor'] == 1">提问者</div>
<div class="avatar-box flexflex" v-if="item['avatarState']"> <div class="avatar-box flexflex" v-if="item['avatarState']">
@ -104,7 +104,7 @@
<div class="comments-header flexacenter"> <div class="comments-header flexacenter">
<div class="comments-header-left flexacenter"> <div class="comments-header-left flexacenter">
<img class="comments-avatar" @click="openUserInfo(index, i)" :src="ite['avatar']" /> <img class="comments-avatar" @click="openUserInfo(index, i)" :src="ite['avatar']" />
<div class="comments-username" @click="openUserInfo(index, i)">{{ ite["nickname"] }}</div> <div class="comments-username" @click="openUserInfo(index, i)">{{ ite["nickname"] || "匿名用户" }}</div>
<div class="comments-time">{{ handleDate(ite["timestamp"]) }}</div> <div class="comments-time">{{ handleDate(ite["timestamp"]) }}</div>
<!-- <div class="comments-identity" v-if="ite['questioner'] == 1">提问者</div> --> <!-- <div class="comments-identity" v-if="ite['questioner'] == 1">提问者</div> -->
<!-- <div class="comments-identity" v-else-if="ite['isauthor'] == 1">回答者</div> --> <!-- <div class="comments-identity" v-else-if="ite['isauthor'] == 1">回答者</div> -->
@ -137,14 +137,14 @@
<div class="comments-content"> <div class="comments-content">
<div class="comments-text"> <div class="comments-text">
<!-- <div class="comments-reply" v-if="JSON.stringify(ite['reply']) != '[]'">@{{ ite["reply"]["nickname"] }}</div> --> <!-- <div class="comments-reply" v-if="JSON.stringify(ite['reply']) != '[]'">@{{ ite["reply"]["nickname"] }}</div> -->
<div class="comments-reply" v-if="ite?.reply?.nickname">@{{ ite["reply"]["nickname"] }}</div> <div class="comments-reply" v-if="ite?.reply?.nickname">@{{ ite["reply"]["nickname"] || "匿名用户" }}</div>
<span v-html="ite['content']"></span> <span v-html="ite['content']"></span>
</div> </div>
<img class="comments-img" @click="handleAnswerText" :src="ite.image?.base64 || ite.image?.url" v-if="ite.image?.url" /> <img class="comments-img" @click="handleAnswerText" :src="ite.image?.base64 || ite.image?.url" v-if="ite.image?.url" />
<div class="input-box" v-if="ite['childState']"> <div class="input-box" v-if="ite['childState']">
<img class="cross" @click="closeAnswerCommentsChild(index)" src="/img/cross-icon.png" /> <img class="cross" @click="closeAnswerCommentsChild(index)" src="/img/cross-icon.png" />
<div class="top flexflex"> <div class="top flexflex">
<textarea class="input-textarea flex1" maxlength="500" v-model="ite['commentInput']" :placeholder="'回复“' + ite['nickname'] + '”:'" @input="autoResize" @paste="handleInputPaste($event, index, i)"></textarea> <textarea class="input-textarea flex1" maxlength="500" v-model="ite['commentInput']" :placeholder="'回复“' + (ite['nickname'] || '匿名用户') + '”:'" @input="autoResize" @paste="handleInputPaste($event, index, i)"></textarea>
</div> </div>
<div class="picture-box" v-if="ite.picture?.url"> <div class="picture-box" v-if="ite.picture?.url">
<div class="picture"> <div class="picture">