问答详情文本换行问题

This commit is contained in:
A1300399510 2024-02-01 14:09:06 +08:00
parent 5322e4d74d
commit a3226a8704
19 changed files with 103 additions and 93 deletions

View File

@ -1,5 +1,5 @@
{
"date": "2024-02-01T04:30:31.834Z",
"date": "2024-02-01T06:08:33.943Z",
"preset": "node-server",
"framework": {
"name": "nuxt",

View File

@ -1 +1 @@
{"id":"8342911d-9a70-4a47-8f0b-0123a4158b02","timestamp":1706761821551}
{"id":"10b6f3c2-aba6-4da2-a12a-9dad57bd44d5","timestamp":1706767702892}

View File

@ -0,0 +1 @@
{"id":"10b6f3c2-aba6-4da2-a12a-9dad57bd44d5","timestamp":1706767702892,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

View File

@ -1 +0,0 @@
{"id":"8342911d-9a70-4a47-8f0b-0123a4158b02","timestamp":1706761821551,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

View File

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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.6c7e78fc.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.1076e635.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

@ -159,7 +159,7 @@ const client_manifest = {
"prefetch": true,
"preload": true,
"css": [],
"file": "error-404.b4f7d32e.js",
"file": "error-404.6b2dea5e.js",
"imports": [
"node_modules/nuxt/dist/app/entry.js"
],
@ -185,7 +185,7 @@ const client_manifest = {
"prefetch": true,
"preload": true,
"css": [],
"file": "error-500.d96028e8.js",
"file": "error-500.5bc6b821.js",
"imports": [
"node_modules/nuxt/dist/app/entry.js"
],
@ -202,7 +202,7 @@ const client_manifest = {
"resourceType": "style",
"prefetch": true,
"preload": true,
"file": "entry.a0698c93.css",
"file": "entry.f35089c9.css",
"src": "node_modules/nuxt/dist/app/entry.css"
},
"node_modules/nuxt/dist/app/entry.js": {
@ -234,19 +234,19 @@ const client_manifest = {
"triangle-icon.c39ff2e7.svg"
],
"css": [
"entry.a0698c93.css"
"entry.f35089c9.css"
],
"dynamicImports": [
"node_modules/@nuxt/ui-templates/dist/templates/error-404.vue",
"node_modules/@nuxt/ui-templates/dist/templates/error-500.vue"
],
"file": "entry.6c7e78fc.js",
"file": "entry.1076e635.js",
"isEntry": true,
"src": "node_modules/nuxt/dist/app/entry.js",
"_globalCSS": true
},
"entry.a0698c93.css": {
"file": "entry.a0698c93.css",
"entry.f35089c9.css": {
"file": "entry.f35089c9.css",
"resourceType": "style",
"prefetch": true,
"preload": true

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"entry-styles.7120ecb9.mjs","sources":["../../../../../.nuxt/dist/server/static/entry-styles-1.mjs-065b7290.js","../../../../../.nuxt/dist/server/static/entry-styles.7120ecb9.mjs"],"sourcesContent":null,"names":["__buildAssetsURL","style_0"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAA,mCAAA,GAAA,q5MAAA,GAAAA,cAAA,CAAA,4BAAA,CAAA,GAAA,4yuCAAA;;ACCA,6BAAe,CAACC,mCAAO;;;;"}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"version":3,"file":"entry-styles.79cbe391.mjs","sources":["../../../../../.nuxt/dist/server/static/entry-styles-1.mjs-14dec9cc.js","../../../../../.nuxt/dist/server/static/entry-styles.79cbe391.mjs"],"sourcesContent":null,"names":["__buildAssetsURL","style_0"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAA,mCAAA,GAAA,q5MAAA,GAAAA,cAAA,CAAA,4BAAA,CAAA,GAAA,uxuCAAA;;ACCA,6BAAe,CAACC,mCAAO;;;;"}

View File

@ -1,8 +1,8 @@
const interopDefault = r => r.default || r || [];
const styles = {
"node_modules/nuxt/dist/app/entry.js": () => import('./static/entry-styles.79cbe391.mjs').then(interopDefault),
"node_modules/@nuxt/ui-templates/dist/templates/error-500.vue": () => import('./static/error-500-styles.cf4b3e80.mjs').then(interopDefault),
"node_modules/@nuxt/ui-templates/dist/templates/error-404.vue": () => import('./static/error-404-styles.1e0dde27.mjs').then(interopDefault)
"node_modules/nuxt/dist/app/entry.js": () => import('./static/entry-styles.7120ecb9.mjs').then(interopDefault),
"node_modules/@nuxt/ui-templates/dist/templates/error-404.vue": () => import('./static/error-404-styles.1e0dde27.mjs').then(interopDefault),
"node_modules/@nuxt/ui-templates/dist/templates/error-500.vue": () => import('./static/error-500-styles.cf4b3e80.mjs').then(interopDefault)
};
export { styles as default };

View File

@ -3059,7 +3059,7 @@ function klona(x) {
const inlineAppConfig = {
"nuxt": {
"buildId": "8342911d-9a70-4a47-8f0b-0123a4158b02"
"buildId": "10b6f3c2-aba6-4da2-a12a-9dad57bd44d5"
}
};
@ -4949,205 +4949,212 @@ const assets = {
"/static/add-icon.0b0b5313.svg": {
"type": "image/svg+xml",
"etag": "\"d67-gajxuGcy6aHIeWAbO0RazX03p90\"",
"mtime": "2024-02-01T04:30:25.612Z",
"mtime": "2024-02-01T06:08:27.259Z",
"size": 3431,
"path": "../public/static/add-icon.0b0b5313.svg"
},
"/static/arrows-icon.271dd0d3.svg": {
"type": "image/svg+xml",
"etag": "\"5a0-yAit7q5lcKJMd35iOMMifZv2uno\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"size": 1440,
"path": "../public/static/arrows-icon.271dd0d3.svg"
},
"/static/close-icon.86743366.svg": {
"type": "image/svg+xml",
"etag": "\"2d4-QYrulZl33jopLCT37UdJfnzXOVg\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"size": 724,
"path": "../public/static/close-icon.86743366.svg"
},
"/static/collect-icon-colours.6d2ade7f.svg": {
"type": "image/svg+xml",
"etag": "\"7ab-av9D1DgxgD5cvY5wd30haD7c1q0\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"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": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"size": 2070,
"path": "../public/static/comment-icon-gray.2c8779f9.svg"
},
"/static/delete-icon.4d386dce.svg": {
"type": "image/svg+xml",
"etag": "\"17fe-RGKa0+MaUqOqlbPlXlig67fGkaY\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.257Z",
"size": 6142,
"path": "../public/static/delete-icon.4d386dce.svg"
},
"/static/dot-gray.86cdd7b5.svg": {
"type": "image/svg+xml",
"etag": "\"2af-sBMsuPZbsh28jzlFWO9lVYMVDk8\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"size": 687,
"path": "../public/static/dot-gray.86cdd7b5.svg"
},
"/static/dot-yellow.4b5e135b.svg": {
"type": "image/svg+xml",
"etag": "\"2af-6L7YsWhGTHBB6NqQztB/l2OFRfE\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"size": 687,
"path": "../public/static/dot-yellow.4b5e135b.svg"
},
"/static/dot.1026a040.svg": {
"type": "image/svg+xml",
"etag": "\"217-dx6xqUT4D9pCoKc6nr20aXeJQXQ\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"size": 535,
"path": "../public/static/dot.1026a040.svg"
},
"/static/edit-icon-white.29b27582.svg": {
"type": "image/svg+xml",
"etag": "\"8be-EnEF3CQI46JkMNAXbPf3H6T7pzU\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"size": 2238,
"path": "../public/static/edit-icon-white.29b27582.svg"
},
"/static/empty-icon.24a01ae2.svg": {
"type": "image/svg+xml",
"etag": "\"d028-Our2UxxUiciRSduORd8JZCt5Prw\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"size": 53288,
"path": "../public/static/empty-icon.24a01ae2.svg"
},
"/static/entry.6c7e78fc.js": {
"/static/entry.1076e635.js": {
"type": "application/javascript",
"etag": "\"3c6bc-pbTT6qOafHdcmyNkUXUfYAXp+Xw\"",
"mtime": "2024-02-01T04:30:25.615Z",
"size": 247484,
"path": "../public/static/entry.6c7e78fc.js"
"etag": "\"3c69b-387pdWb7xZlqsr/7eTzQagjUVSM\"",
"mtime": "2024-02-01T06:08:27.261Z",
"size": 247451,
"path": "../public/static/entry.1076e635.js"
},
"/static/entry.a0698c93.css": {
"/static/entry.f35089c9.css": {
"type": "text/css; charset=utf-8",
"etag": "\"b58b-ePOlisBBH+z45NZhAXbbw3as8ZM\"",
"mtime": "2024-02-01T04:30:25.615Z",
"size": 46475,
"path": "../public/static/entry.a0698c93.css"
"etag": "\"b5a0-jTcoJvsImcgrn/9UZFqvl+QI3oM\"",
"mtime": "2024-02-01T06:08:27.261Z",
"size": 46496,
"path": "../public/static/entry.f35089c9.css"
},
"/static/error-404.6b2dea5e.js": {
"type": "application/javascript",
"etag": "\"18de-Ffpm4f2u9Zx5Q5W6zLVgHdnln6I\"",
"mtime": "2024-02-01T06:08:27.261Z",
"size": 6366,
"path": "../public/static/error-404.6b2dea5e.js"
},
"/static/error-404.7fc72018.css": {
"type": "text/css; charset=utf-8",
"etag": "\"e2e-iNt1cqPQ0WDudfCTZVQd31BeRGs\"",
"mtime": "2024-02-01T04:30:25.615Z",
"mtime": "2024-02-01T06:08:27.261Z",
"size": 3630,
"path": "../public/static/error-404.7fc72018.css"
},
"/static/error-404.b4f7d32e.js": {
"/static/error-500.5bc6b821.js": {
"type": "application/javascript",
"etag": "\"18de-RCmUNVThQJVt5JyzVQnV1UoH5Bo\"",
"mtime": "2024-02-01T04:30:25.615Z",
"size": 6366,
"path": "../public/static/error-404.b4f7d32e.js"
"etag": "\"756-b3EYGntIoD6dIsfFK8RUIcd2eJg\"",
"mtime": "2024-02-01T06:08:27.261Z",
"size": 1878,
"path": "../public/static/error-500.5bc6b821.js"
},
"/static/error-500.c5df6088.css": {
"type": "text/css; charset=utf-8",
"etag": "\"79e-ByRo+49BgcevWdRjJy3CMx2IA5k\"",
"mtime": "2024-02-01T04:30:25.615Z",
"mtime": "2024-02-01T06:08:27.261Z",
"size": 1950,
"path": "../public/static/error-500.c5df6088.css"
},
"/static/error-500.d96028e8.js": {
"type": "application/javascript",
"etag": "\"756-dMd2drdBtNyQrtIIe17dYyTx3Fw\"",
"mtime": "2024-02-01T04:30:25.615Z",
"size": 1878,
"path": "../public/static/error-500.d96028e8.js"
},
"/static/issue-bj.44adad8c.svg": {
"type": "image/svg+xml",
"etag": "\"926-lK6rrraYIC+9Yxyy0subzOK8XpE\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"size": 2342,
"path": "../public/static/issue-bj.44adad8c.svg"
},
"/static/logo.6622f82d.png": {
"type": "image/png",
"etag": "\"843f-FSXGFGigIHmtzjdcQzuMz/a7E+o\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.258Z",
"size": 33855,
"path": "../public/static/logo.6622f82d.png"
},
"/static/menu-icon-gray.d61f02b1.svg": {
"type": "image/svg+xml",
"etag": "\"6de-kmXhltPHfF4W1gmV7wT4aZCZ6gg\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"size": 1758,
"path": "../public/static/menu-icon-gray.d61f02b1.svg"
},
"/static/QRCode-icon.a105d5fc.svg": {
"type": "image/svg+xml",
"etag": "\"9c1-qGg9jZ5wmHJGzh2A00nHIGWHMh4\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"size": 2497,
"path": "../public/static/QRCode-icon.a105d5fc.svg"
},
"/static/tick-no.179037b3.svg": {
"type": "image/svg+xml",
"etag": "\"1ea-YISAWqJD56jxoQT8N812fDJfkMw\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"size": 490,
"path": "../public/static/tick-no.179037b3.svg"
},
"/static/tick-option.e092d22f.svg": {
"type": "image/svg+xml",
"etag": "\"29a-UVjuq3WHs6mhu1KGQ7gQmJH2Bc4\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"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": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"size": 1546,
"path": "../public/static/tick-orange.233abc69.svg"
},
"/static/title.98892974.png": {
"type": "image/png",
"etag": "\"1723-0OwkVass/2nFB99dRT4w0sPUvI0\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"size": 5923,
"path": "../public/static/title.98892974.png"
},
"/static/triangle-icon.c39ff2e7.svg": {
"type": "image/svg+xml",
"etag": "\"446-ylQ81DOJ3joSbsS9atyrW6pZsBY\"",
"mtime": "2024-02-01T04:30:25.615Z",
"mtime": "2024-02-01T06:08:27.260Z",
"size": 1094,
"path": "../public/static/triangle-icon.c39ff2e7.svg"
},
"/static/view-icon.da7fef35.svg": {
"type": "image/svg+xml",
"etag": "\"f39-5Jwx14wB0jgB0Du25KRZbkEEXvI\"",
"mtime": "2024-02-01T04:30:25.614Z",
"mtime": "2024-02-01T06:08:27.259Z",
"size": 3897,
"path": "../public/static/view-icon.da7fef35.svg"
},
"/static/builds/latest.json": {
"type": "application/json",
"etag": "\"47-v8JU/EcTa8o+qXU4RwBoFyRD8xI\"",
"mtime": "2024-02-01T04:30:26.929Z",
"etag": "\"47-Bshj2WPED/GJ/7SfVBTdK/7Uxow\"",
"mtime": "2024-02-01T06:08:28.674Z",
"size": 71,
"path": "../public/static/builds/latest.json"
},
"/static/builds/meta/8342911d-9a70-4a47-8f0b-0123a4158b02.json": {
"/static/builds/meta/10b6f3c2-aba6-4da2-a12a-9dad57bd44d5.json": {
"type": "application/json",
"etag": "\"8b-Txi2AaGZnty261K5WknAUoIJz1w\"",
"mtime": "2024-02-01T04:30:26.930Z",
"etag": "\"8b-0xCu7ExlGqBZquTmK5BbPzrYq5M\"",
"mtime": "2024-02-01T06:08:28.675Z",
"size": 139,
"path": "../public/static/builds/meta/8342911d-9a70-4a47-8f0b-0123a4158b02.json"
"path": "../public/static/builds/meta/10b6f3c2-aba6-4da2-a12a-9dad57bd44d5.json"
},
"/static/builds/meta/dev.json": {
"type": "application/json",
"etag": "\"6a-OYF3P4W1s4t0BrKsNNFrBRWqGH0\"",
"mtime": "2024-02-01T06:08:26.277Z",
"size": 106,
"path": "../public/static/builds/meta/dev.json"
}
};

View File

@ -615,6 +615,7 @@ a {
line-height: 24px;
margin-bottom: 20px;
padding: 0 24px;
white-space: pre-line;
}
#answer-app .main .details-area-box .details-box .details-issue .operate-box .answer-btn {
width: 120px;

View File

@ -782,6 +782,7 @@ a {
line-height: 24px;
margin-bottom: 20px;
padding: 0 24px;
white-space: pre-line;
}