no message

This commit is contained in:
A1300399510 2025-02-14 17:50:56 +08:00
parent 8a0c66d839
commit 5a902f9383
10 changed files with 64 additions and 64 deletions

View File

@ -1,5 +1,5 @@
{ {
"date": "2025-02-14T09:41:09.787Z", "date": "2025-02-14T09:50:47.021Z",
"preset": "node-server", "preset": "node-server",
"framework": { "framework": {
"name": "nuxt", "name": "nuxt",

View File

@ -1 +1 @@
{"id":"0f6c3745-a20a-4363-862a-fe943578af6f","timestamp":1739526037289} {"id":"22787980-9b6e-485f-bf7e-d382e93899cf","timestamp":1739526617513}

View File

@ -1 +0,0 @@
{"id":"0f6c3745-a20a-4363-862a-fe943578af6f","timestamp":1739526037289,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

View File

@ -0,0 +1 @@
{"id":"22787980-9b6e-485f-bf7e-d382e93899cf","timestamp":1739526617513,"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.78f6db2b.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.aac57b7b.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.bc016d38.js", "file": "error-404.7469ee73.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.49b57cd0.js", "file": "error-500.827e61e0.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.78f6db2b.js", "file": "entry.aac57b7b.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

@ -3075,7 +3075,7 @@ function klona(x) {
const inlineAppConfig = { const inlineAppConfig = {
"nuxt": { "nuxt": {
"buildId": "0f6c3745-a20a-4363-862a-fe943578af6f" "buildId": "22787980-9b6e-485f-bf7e-d382e93899cf"
} }
}; };
@ -4965,184 +4965,184 @@ 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-14T09:40:51.021Z", "mtime": "2025-02-14T09:50:30.903Z",
"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-14T09:40:51.022Z", "mtime": "2025-02-14T09:50:30.903Z",
"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-14T09:40:51.021Z", "mtime": "2025-02-14T09:50:30.903Z",
"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-14T09:40:51.021Z", "mtime": "2025-02-14T09:50:30.903Z",
"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-14T09:40:51.021Z", "mtime": "2025-02-14T09:50:30.903Z",
"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-14T09:40:51.021Z", "mtime": "2025-02-14T09:50:30.903Z",
"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-14T09:40:51.021Z", "mtime": "2025-02-14T09:50:30.903Z",
"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-14T09:40:51.021Z", "mtime": "2025-02-14T09:50:30.903Z",
"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-14T09:40:51.019Z", "mtime": "2025-02-14T09:50:30.901Z",
"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-14T09:40:51.021Z", "mtime": "2025-02-14T09:50:30.903Z",
"size": 53288, "size": 53288,
"path": "../public/static/empty-icon.24a01ae2.svg" "path": "../public/static/empty-icon.24a01ae2.svg"
}, },
"/static/entry.78f6db2b.js": { "/static/entry.aac57b7b.js": {
"type": "application/javascript", "type": "application/javascript",
"etag": "\"3d5bb-3PDMDR3v4Aoo2giVHp0yFKB/GMg\"", "etag": "\"3d606-PfSEiFfbLJY2EMhRQuxzJ1XRsvg\"",
"mtime": "2025-02-14T09:40:51.023Z", "mtime": "2025-02-14T09:50:30.905Z",
"size": 251323, "size": 251398,
"path": "../public/static/entry.78f6db2b.js" "path": "../public/static/entry.aac57b7b.js"
}, },
"/static/entry.ea95308f.css": { "/static/entry.ea95308f.css": {
"type": "text/css; charset=utf-8", "type": "text/css; charset=utf-8",
"etag": "\"10884-7+KMZJZOZDsEP5gwVzXxBT87MY8\"", "etag": "\"10884-7+KMZJZOZDsEP5gwVzXxBT87MY8\"",
"mtime": "2025-02-14T09:40:51.022Z", "mtime": "2025-02-14T09:50:30.903Z",
"size": 67716, "size": 67716,
"path": "../public/static/entry.ea95308f.css" "path": "../public/static/entry.ea95308f.css"
}, },
"/static/error-404.7469ee73.js": {
"type": "application/javascript",
"etag": "\"18de-4lMFKW5Ci38DDUOrkCONjYCXCjg\"",
"mtime": "2025-02-14T09:50:30.905Z",
"size": 6366,
"path": "../public/static/error-404.7469ee73.js"
},
"/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-14T09:40:51.022Z", "mtime": "2025-02-14T09:50:30.903Z",
"size": 3630, "size": 3630,
"path": "../public/static/error-404.7fc72018.css" "path": "../public/static/error-404.7fc72018.css"
}, },
"/static/error-404.bc016d38.js": { "/static/error-500.827e61e0.js": {
"type": "application/javascript", "type": "application/javascript",
"etag": "\"18de-VKcojIfTgyEqGkzTdXdSHqew5AU\"", "etag": "\"756-5rCgWtgTtZynfiXJwiLlLCzBsVU\"",
"mtime": "2025-02-14T09:40:51.023Z", "mtime": "2025-02-14T09:50:30.905Z",
"size": 6366,
"path": "../public/static/error-404.bc016d38.js"
},
"/static/error-500.49b57cd0.js": {
"type": "application/javascript",
"etag": "\"756-2Fwb1BLNXGkMorRHiarC6c55dlA\"",
"mtime": "2025-02-14T09:40:51.023Z",
"size": 1878, "size": 1878,
"path": "../public/static/error-500.49b57cd0.js" "path": "../public/static/error-500.827e61e0.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-14T09:40:51.022Z", "mtime": "2025-02-14T09:50:30.905Z",
"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-14T09:40:51.021Z", "mtime": "2025-02-14T09:50:30.903Z",
"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-14T09:40:51.022Z", "mtime": "2025-02-14T09:50:30.903Z",
"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-14T09:40:51.021Z", "mtime": "2025-02-14T09:50:30.903Z",
"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-14T09:40:51.021Z", "mtime": "2025-02-14T09:50:30.903Z",
"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-14T09:40:51.022Z", "mtime": "2025-02-14T09:50:30.903Z",
"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-14T09:40:51.021Z", "mtime": "2025-02-14T09:50:30.903Z",
"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-14T09:40:51.022Z", "mtime": "2025-02-14T09:50:30.903Z",
"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-14T09:40:51.021Z", "mtime": "2025-02-14T09:50:30.903Z",
"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-g3QTQDEskloCsWyLDwF8+f5/fKk\"", "etag": "\"47-sSd8D/QwMs7/pgJLBHszG/QT/8Y\"",
"mtime": "2025-02-14T09:41:02.772Z", "mtime": "2025-02-14T09:50:39.924Z",
"size": 71, "size": 71,
"path": "../public/static/builds/latest.json" "path": "../public/static/builds/latest.json"
}, },
"/static/builds/meta/0f6c3745-a20a-4363-862a-fe943578af6f.json": { "/static/builds/meta/22787980-9b6e-485f-bf7e-d382e93899cf.json": {
"type": "application/json", "type": "application/json",
"etag": "\"8b-ZPITxYNnQFT7PzxspGvD1r1fZc8\"", "etag": "\"8b-G7djVLWYqhCKZ90gbdHWTysbMq0\"",
"mtime": "2025-02-14T09:41:02.772Z", "mtime": "2025-02-14T09:50:39.924Z",
"size": 139, "size": 139,
"path": "../public/static/builds/meta/0f6c3745-a20a-4363-862a-fe943578af6f.json" "path": "../public/static/builds/meta/22787980-9b6e-485f-bf7e-d382e93899cf.json"
} }
}; };

View File

@ -7,7 +7,7 @@
<div class="input-box"> <div class="input-box">
<div class="top flexflex"> <div class="top flexflex">
<img class="avatar" v-if="user.avatar" :src="user.avatar" /> <img class="avatar" v-if="user.avatar" :src="user.avatar" />
<textarea class="input-textarea flex1" maxlength="500" v-model="inputTextarea" @focus="inputFocus" @input="autoResize" @paste="handleInputPaste" placeholder="说说你的看法…"></textarea> <textarea class="input-textarea flex1" maxlength="500" v-model="inputTextarea" @focus="judgeFocus" @input="autoResize" @paste="handleInputPaste" placeholder="说说你的看法…"></textarea>
</div> </div>
<div class="picture-box" v-if="picture.url"> <div class="picture-box" v-if="picture.url">
<div class="picture"> <div class="picture">
@ -24,7 +24,7 @@
<div class="emoji-icon" v-for="item in emojiData" :key="item" @click="selectEmoji(item)">{{ item }}</div> <div class="emoji-icon" v-for="item in emojiData" :key="item" @click="selectEmoji(item)">{{ item }}</div>
</div> </div>
</div> </div>
<div class="item flexacenter"> <div class="item flexacenter" @click="judgeFocus()">
<input class="file" type="file" @change="handleFileUpload($event)" accept=".png, .jpg, .jpeg" /> <input class="file" type="file" @change="handleFileUpload($event)" accept=".png, .jpg, .jpeg" />
<img class="icon" style="border-radius: 0;" src="/img/picture-icon.png" alt="" /> <img class="icon" style="border-radius: 0;" src="/img/picture-icon.png" alt="" />
<span class="file-hint">最多可上传1张图片支持在输入框中直接粘贴图片</span> <span class="file-hint">最多可上传1张图片支持在输入框中直接粘贴图片</span>
@ -73,7 +73,7 @@
<div class="input-box" v-if="item['childState']"> <div class="input-box" v-if="item['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" placeholder="说说你的看法…" v-model="item['commentInput']" @focus="inputFocus" @input="autoResize" @paste="handleInputPaste($event, index)"></textarea> <textarea class="input-textarea flex1" maxlength="500" placeholder="说说你的看法…" v-model="item['commentInput']" @focus="judgeFocus" @input="autoResize" @paste="handleInputPaste($event, index)"></textarea>
</div> </div>
<div class="picture-box" v-if="item.picture?.url"> <div class="picture-box" v-if="item.picture?.url">
<div class="picture"> <div class="picture">
@ -89,7 +89,7 @@
<div class="emoji-icon" v-for="item in emojiData" :key="item" @click="selectEmoji(item, index)">{{ item }}</div> <div class="emoji-icon" v-for="item in emojiData" :key="item" @click="selectEmoji(item, index)">{{ item }}</div>
</div> </div>
</div> </div>
<div class="item flexacenter"> <div class="item flexacenter" @click="judgeFocus()">
<input class="file" type="file" @change="handleFileUpload($event, index)" accept=".png, .jpg, .jpeg" /> <input class="file" type="file" @change="handleFileUpload($event, index)" accept=".png, .jpg, .jpeg" />
<img class="icon" style="border-radius: 0;" src="/img/picture-icon.png" alt="" /> <img class="icon" style="border-radius: 0;" src="/img/picture-icon.png" alt="" />
<span class="file-hint">最多可上传1张图片支持在输入框中直接粘贴图片</span> <span class="file-hint">最多可上传1张图片支持在输入框中直接粘贴图片</span>
@ -144,7 +144,7 @@
<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'] || '匿名用户') + '”:'" @focus="inputFocus" @input="autoResize" @paste="handleInputPaste($event, index, i)"></textarea> <textarea class="input-textarea flex1" maxlength="500" v-model="ite['commentInput']" :placeholder="'回复“' + (ite['nickname'] || '匿名用户') + '”:'" @focus="judgeFocus" @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">
@ -160,7 +160,7 @@
<div class="emoji-icon" v-for="item in emojiData" :key="item" @click="selectEmoji(item, index, i)">{{ item }}</div> <div class="emoji-icon" v-for="item in emojiData" :key="item" @click="selectEmoji(item, index, i)">{{ item }}</div>
</div> </div>
</div> </div>
<div class="item flexacenter"> <div class="item flexacenter" @click="judgeFocus()">
<input class="file" type="file" @change="handleFileUpload($event, index, i)" accept=".png, .jpg, .jpeg" /> <input class="file" type="file" @change="handleFileUpload($event, index, i)" accept=".png, .jpg, .jpeg" />
<img class="icon" style="border-radius: 0;" src="/img/picture-icon.png" alt="" /> <img class="icon" style="border-radius: 0;" src="/img/picture-icon.png" alt="" />
<span class="file-hint">最多可上传1张图片支持在输入框中直接粘贴图片</span> <span class="file-hint">最多可上传1张图片支持在输入框中直接粘贴图片</span>
@ -648,7 +648,7 @@ const closeUserInfo = (index, i) => {
else if (index != undefined) commentList.value[index]["avatarState"] = false else if (index != undefined) commentList.value[index]["avatarState"] = false
} }
const inputFocus = () => { const judgeFocus = () => {
if (isNeedLogin.value) { if (isNeedLogin.value) {
goLogin() goLogin()
return return