推荐阅读和问答混淆问题

This commit is contained in:
A1300399510 2025-02-06 17:01:19 +08:00
parent 5f0c7df52d
commit 01c04d5ccf
22 changed files with 141 additions and 171 deletions

View File

@ -1,5 +1,5 @@
{
"date": "2025-02-06T04:20:15.785Z",
"date": "2025-02-06T09:01:14.941Z",
"preset": "node-server",
"framework": {
"name": "nuxt",

View File

@ -1 +1 @@
{"id":"16225946-d1bf-403e-81c7-226706130b56","timestamp":1738815587562}
{"id":"e46ce153-0177-43c0-9b52-5127aacae349","timestamp":1738832448449}

View File

@ -1 +0,0 @@
{"id":"16225946-d1bf-403e-81c7-226706130b56","timestamp":1738815587562,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}

View File

@ -0,0 +1 @@
{"id":"e46ce153-0177-43c0-9b52-5127aacae349","timestamp":1738832448449,"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

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.12786b65.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.f07b1c52.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,
"preload": true,
"css": [],
"file": "error-404.ca0054a0.js",
"file": "error-404.75f86135.js",
"imports": [
"node_modules/nuxt/dist/app/entry.js"
],
@ -164,7 +164,7 @@ const client_manifest = {
"prefetch": true,
"preload": true,
"css": [],
"file": "error-500.8af0f07c.js",
"file": "error-500.0b5d35b4.js",
"imports": [
"node_modules/nuxt/dist/app/entry.js"
],
@ -181,7 +181,7 @@ const client_manifest = {
"resourceType": "style",
"prefetch": true,
"preload": true,
"file": "entry.d99ea467.css",
"file": "entry.fba17ee3.css",
"src": "node_modules/nuxt/dist/app/entry.css"
},
"node_modules/nuxt/dist/app/entry.js": {
@ -210,19 +210,19 @@ const client_manifest = {
"triangle-icon.c39ff2e7.svg"
],
"css": [
"entry.d99ea467.css"
"entry.fba17ee3.css"
],
"dynamicImports": [
"node_modules/@nuxt/ui-templates/dist/templates/error-404.vue",
"node_modules/@nuxt/ui-templates/dist/templates/error-500.vue"
],
"file": "entry.12786b65.js",
"file": "entry.f07b1c52.js",
"isEntry": true,
"src": "node_modules/nuxt/dist/app/entry.js",
"_globalCSS": true
},
"entry.d99ea467.css": {
"file": "entry.d99ea467.css",
"entry.fba17ee3.css": {
"file": "entry.fba17ee3.css",
"resourceType": "style",
"prefetch": true,
"preload": true

View File

@ -1067,8 +1067,6 @@ const _sfc_main$3 = {
token: String
},
setup(__props, { expose: __expose }) {
const aaa = inject("TAHomePag");
console.log("aaa", aaa);
const $ajax = inject("$ajax");
inject("$ajaxGET");
const detailsToken = inject("detailsToken");
@ -2432,7 +2430,6 @@ const _sfc_main$2 = {
keyword.value = params["keyword"];
if (params["tid"])
typePitch.value = params["tid"];
console.log(true);
await $ajax("/api/lists", {
page,
limit: 20,
@ -2471,37 +2468,6 @@ const _sfc_main$2 = {
type.value = "list";
});
});
await $ajax("/api/details/relatedlist", { page: 1, limit: 20 }).then((res) => {
if (res.code != 200)
return;
let obj = {
offer: "Offer",
mj: "面经",
vote: "投票",
thread: "帖子"
};
let data = res.data;
data.forEach((element) => {
element["typename"] = obj[element["type"]];
element["isrecom"] = true;
});
recommendList = recommendList.concat(data);
recommendPage++;
if (params["uniqid"]) {
let target = JSON.parse(JSON.stringify(backupsList));
let result = [];
let j = 0;
for (let i = 0; i < target.length; i++) {
result.push(target[i]);
if ((i + 1) % 4 === 0 && j < recommendList.length) {
result.push(recommendList[j]);
j++;
}
}
list.value = JSON.parse(JSON.stringify(result));
initState.value++;
}
});
} catch (error) {
console.error(error);
}
@ -2772,13 +2738,12 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
}
_push(`</div>`);
if ($setup.type == "details") {
_push(`<div class="details-area-box flexflex">`);
_push(`<div class="details-area-box flexflex"><div class="details-box flexflex">`);
if ($setup.detailLoading) {
_push(`<div class="loading-bj flexcenter"><svg t="1642133548066" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2597" width="200" height="200"><path d="M512 249.5c-22.5 0-37.5-15-37.5-37.5V99.5c0-22.5 15-37.5 37.5-37.5s37.5 15 37.5 37.5V212c0 22.5-15 37.5-37.5 37.5z m0 712.5c-22.5 0-37.5-15-37.5-37.5V812c0-22.5 15-37.5 37.5-37.5s37.5 15 37.5 37.5v112.5c0 22.5-15 37.5-37.5 37.5zM212 549.5H99.5C77 549.5 62 534.5 62 512s15-37.5 37.5-37.5H212c22.5 0 37.5 15 37.5 37.5s-15 37.5-37.5 37.5z m712.5 0H812c-22.5 0-37.5-15-37.5-37.5s15-37.5 37.5-37.5h112.5c22.5 0 37.5 15 37.5 37.5s-15 37.5-37.5 37.5z m-153.75-150c-11.25 0-26.25-7.5-33.75-18.75-11.25-18.75-3.75-41.25 15-52.5L849.5 272c18.75-11.25 41.25-3.75 52.5 15s3.75 41.25-15 52.5l-97.5 56.25c-3.75 3.75-11.25 3.75-18.75 3.75z m-615 356.25c-11.25 0-26.25-7.5-33.75-18.75-11.25-18.75-3.75-41.25 15-52.5l97.5-56.25c18.75-11.25 41.25-3.75 52.5 15s3.75 41.25-15 52.5L174.5 752c-7.5 3.75-15 3.75-18.75 3.75z m506.25-465c-7.5 0-11.25 0-18.75-3.75-18.75-11.25-22.5-33.75-15-52.5L684.5 137c11.25-18.75 33.75-22.5 52.5-15 18.75 11.25 22.5 33.75 15 52.5L695.75 272c-7.5 11.25-22.5 18.75-33.75 18.75z m-356.25 615c-7.5 0-11.25 0-18.75-3.75-18.75-11.25-22.5-33.75-15-52.5l56.25-97.5c11.25-15 33.75-22.5 52.5-11.25s22.5 33.75 15 52.5L339.5 887c-7.5 11.25-22.5 18.75-33.75 18.75z m-52.5-506.25c-7.5 0-15 0-18.75-3.75L137 339.5c-18.75-11.25-26.25-33.75-15-52.5s33.75-22.5 52.5-15l97.5 56.25c18.75 11.25 22.5 33.75 11.25 52.5-3.75 11.25-18.75 18.75-30 18.75z m615 356.25c-7.5 0-11.25 0-18.75-3.75L752 695.75c-18.75-11.25-22.5-33.75-15-52.5 11.25-18.75 33.75-22.5 52.5-15L887 684.5c18.75 11.25 22.5 33.75 15 52.5-7.5 11.25-18.75 18.75-33.75 18.75zM362 290.75c-11.25 0-26.25-7.5-33.75-18.75L272 174.5c-7.5-18.75-3.75-41.25 15-52.5s41.25-3.75 52.5 15l56.25 97.5c7.5 18.75 3.75 41.25-15 48.75-7.5 3.75-11.25 7.5-18.75 7.5z m356.25 615c-11.25 0-26.25-7.5-33.75-18.75l-56.25-97.5c-11.25-18.75-3.75-41.25 15-52.5s41.25-3.75 52.5 15L752 849.5c11.25 18.75 3.75 41.25-15 52.5-7.5 3.75-11.25 3.75-18.75 3.75z" p-id="2598" fill="#26d79f"></path></svg></div>`);
} else {
_push(`<!---->`);
}
_push(`<div class="details-box flexflex">`);
if ($setup.emojiMaskState) {
_push(`<div class="emoji-box-mask"></div>`);
} else {

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"entry-styles.06c0bf37.mjs","sources":["../../../../../.nuxt/dist/server/static/entry-styles-1.mjs-9fc7eefd.js","../../../../../.nuxt/dist/server/static/entry-styles.06c0bf37.mjs"],"sourcesContent":null,"names":["__buildAssetsURL","style_0"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAA,mCAAA,GAAA,g4MAAA,GAAAA,cAAA,CAAA,4BAAA,CAAA,GAAA,uv3DAAA;;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.9da6912d.mjs","sources":["../../../../../.nuxt/dist/server/static/entry-styles-1.mjs-42c77f43.js","../../../../../.nuxt/dist/server/static/entry-styles.9da6912d.mjs"],"sourcesContent":null,"names":["__buildAssetsURL","style_0"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAA,mCAAA,GAAA,g4MAAA,GAAAA,cAAA,CAAA,4BAAA,CAAA,GAAA,+t3DAAA;;ACCA,6BAAe,CAACC,mCAAO;;;;"}

View File

@ -1,6 +1,6 @@
const interopDefault = r => r.default || r || [];
const styles = {
"node_modules/nuxt/dist/app/entry.js": () => import('./static/entry-styles.9da6912d.mjs').then(interopDefault),
"node_modules/nuxt/dist/app/entry.js": () => import('./static/entry-styles.06c0bf37.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)
};

View File

@ -3075,7 +3075,7 @@ function klona(x) {
const inlineAppConfig = {
"nuxt": {
"buildId": "16225946-d1bf-403e-81c7-226706130b56"
"buildId": "e46ce153-0177-43c0-9b52-5127aacae349"
}
};
@ -4965,184 +4965,184 @@ const assets = {
"/static/add-icon.0b0b5313.svg": {
"type": "image/svg+xml",
"etag": "\"d67-gajxuGcy6aHIeWAbO0RazX03p90\"",
"mtime": "2025-02-06T04:19:58.523Z",
"mtime": "2025-02-06T09:00:59.373Z",
"size": 3431,
"path": "../public/static/add-icon.0b0b5313.svg"
},
"/static/arrows-icon.271dd0d3.svg": {
"type": "image/svg+xml",
"etag": "\"5a0-yAit7q5lcKJMd35iOMMifZv2uno\"",
"mtime": "2025-02-06T04:19:58.524Z",
"mtime": "2025-02-06T09:00:59.375Z",
"size": 1440,
"path": "../public/static/arrows-icon.271dd0d3.svg"
},
"/static/close-icon.86743366.svg": {
"type": "image/svg+xml",
"etag": "\"2d4-QYrulZl33jopLCT37UdJfnzXOVg\"",
"mtime": "2025-02-06T04:19:58.524Z",
"mtime": "2025-02-06T09:00:59.375Z",
"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-06T04:19:58.524Z",
"mtime": "2025-02-06T09:00:59.375Z",
"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-06T04:19:58.524Z",
"mtime": "2025-02-06T09:00:59.375Z",
"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-06T04:19:58.524Z",
"mtime": "2025-02-06T09:00:59.375Z",
"size": 6142,
"path": "../public/static/delete-icon.4d386dce.svg"
},
"/static/dot-gray.86cdd7b5.svg": {
"type": "image/svg+xml",
"etag": "\"2af-sBMsuPZbsh28jzlFWO9lVYMVDk8\"",
"mtime": "2025-02-06T04:19:58.524Z",
"mtime": "2025-02-06T09:00:59.375Z",
"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-06T04:19:58.524Z",
"mtime": "2025-02-06T09:00:59.374Z",
"size": 687,
"path": "../public/static/dot-yellow.4b5e135b.svg"
},
"/static/dot.1026a040.svg": {
"type": "image/svg+xml",
"etag": "\"217-dx6xqUT4D9pCoKc6nr20aXeJQXQ\"",
"mtime": "2025-02-06T04:19:58.522Z",
"mtime": "2025-02-06T09:00:59.374Z",
"size": 535,
"path": "../public/static/dot.1026a040.svg"
},
"/static/empty-icon.24a01ae2.svg": {
"type": "image/svg+xml",
"etag": "\"d028-Our2UxxUiciRSduORd8JZCt5Prw\"",
"mtime": "2025-02-06T04:19:58.524Z",
"mtime": "2025-02-06T09:00:59.375Z",
"size": 53288,
"path": "../public/static/empty-icon.24a01ae2.svg"
},
"/static/entry.12786b65.js": {
"/static/entry.f07b1c52.js": {
"type": "application/javascript",
"etag": "\"3d4d7-sOW4bxr70iOqPB+e/ClIorLyQCE\"",
"mtime": "2025-02-06T04:19:58.526Z",
"size": 251095,
"path": "../public/static/entry.12786b65.js"
"etag": "\"3d306-R1O48DVEvI6oraQlEtDXMHIXE70\"",
"mtime": "2025-02-06T09:00:59.384Z",
"size": 250630,
"path": "../public/static/entry.f07b1c52.js"
},
"/static/entry.d99ea467.css": {
"/static/entry.fba17ee3.css": {
"type": "text/css; charset=utf-8",
"etag": "\"10724-vh0DVtSF8t/SQthwB6XFx1UjkcU\"",
"mtime": "2025-02-06T04:19:58.524Z",
"size": 67364,
"path": "../public/static/entry.d99ea467.css"
"etag": "\"1073c-K9oEnzmy0jkFNdGEtt0dVLOGKUA\"",
"mtime": "2025-02-06T09:00:59.372Z",
"size": 67388,
"path": "../public/static/entry.fba17ee3.css"
},
"/static/error-404.75f86135.js": {
"type": "application/javascript",
"etag": "\"18de-wMvriHkFNxLpOy519JlmBnCpEw0\"",
"mtime": "2025-02-06T09:00:59.384Z",
"size": 6366,
"path": "../public/static/error-404.75f86135.js"
},
"/static/error-404.7fc72018.css": {
"type": "text/css; charset=utf-8",
"etag": "\"e2e-iNt1cqPQ0WDudfCTZVQd31BeRGs\"",
"mtime": "2025-02-06T04:19:58.520Z",
"mtime": "2025-02-06T09:00:59.372Z",
"size": 3630,
"path": "../public/static/error-404.7fc72018.css"
},
"/static/error-404.ca0054a0.js": {
"/static/error-500.0b5d35b4.js": {
"type": "application/javascript",
"etag": "\"18de-20xd5cc3MQ+Q5OllTmTxxrHEWuw\"",
"mtime": "2025-02-06T04:19:58.525Z",
"size": 6366,
"path": "../public/static/error-404.ca0054a0.js"
},
"/static/error-500.8af0f07c.js": {
"type": "application/javascript",
"etag": "\"756-x+iIQrJ4iOaQK9w4lHNnmcBzGQg\"",
"mtime": "2025-02-06T04:19:58.525Z",
"etag": "\"756-Wm9FzOqDqVCVknNcGt+0qqi4SoU\"",
"mtime": "2025-02-06T09:00:59.384Z",
"size": 1878,
"path": "../public/static/error-500.8af0f07c.js"
"path": "../public/static/error-500.0b5d35b4.js"
},
"/static/error-500.c5df6088.css": {
"type": "text/css; charset=utf-8",
"etag": "\"79e-ByRo+49BgcevWdRjJy3CMx2IA5k\"",
"mtime": "2025-02-06T04:19:58.525Z",
"mtime": "2025-02-06T09:00:59.376Z",
"size": 1950,
"path": "../public/static/error-500.c5df6088.css"
},
"/static/logo.6622f82d.png": {
"type": "image/png",
"etag": "\"843f-FSXGFGigIHmtzjdcQzuMz/a7E+o\"",
"mtime": "2025-02-06T04:19:58.523Z",
"mtime": "2025-02-06T09:00:59.375Z",
"size": 33855,
"path": "../public/static/logo.6622f82d.png"
},
"/static/menu-icon-gray.d61f02b1.svg": {
"type": "image/svg+xml",
"etag": "\"6de-kmXhltPHfF4W1gmV7wT4aZCZ6gg\"",
"mtime": "2025-02-06T04:19:58.524Z",
"mtime": "2025-02-06T09:00:59.375Z",
"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-06T04:19:58.524Z",
"mtime": "2025-02-06T09:00:59.375Z",
"size": 2497,
"path": "../public/static/QRCode-icon.a105d5fc.svg"
},
"/static/tick-no.179037b3.svg": {
"type": "image/svg+xml",
"etag": "\"1ea-YISAWqJD56jxoQT8N812fDJfkMw\"",
"mtime": "2025-02-06T04:19:58.524Z",
"mtime": "2025-02-06T09:00:59.375Z",
"size": 490,
"path": "../public/static/tick-no.179037b3.svg"
},
"/static/tick-option.e092d22f.svg": {
"type": "image/svg+xml",
"etag": "\"29a-UVjuq3WHs6mhu1KGQ7gQmJH2Bc4\"",
"mtime": "2025-02-06T04:19:58.524Z",
"mtime": "2025-02-06T09:00:59.375Z",
"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-06T04:19:58.524Z",
"mtime": "2025-02-06T09:00:59.375Z",
"size": 1546,
"path": "../public/static/tick-orange.233abc69.svg"
},
"/static/triangle-icon.c39ff2e7.svg": {
"type": "image/svg+xml",
"etag": "\"446-ylQ81DOJ3joSbsS9atyrW6pZsBY\"",
"mtime": "2025-02-06T04:19:58.524Z",
"mtime": "2025-02-06T09:00:59.375Z",
"size": 1094,
"path": "../public/static/triangle-icon.c39ff2e7.svg"
},
"/static/view-icon.da7fef35.svg": {
"type": "image/svg+xml",
"etag": "\"f39-5Jwx14wB0jgB0Du25KRZbkEEXvI\"",
"mtime": "2025-02-06T04:19:58.524Z",
"mtime": "2025-02-06T09:00:59.375Z",
"size": 3897,
"path": "../public/static/view-icon.da7fef35.svg"
},
"/static/builds/latest.json": {
"type": "application/json",
"etag": "\"47-DSYIUd6sSdj79ZOYF8vi1L37FJI\"",
"mtime": "2025-02-06T04:20:08.845Z",
"etag": "\"47-2aeQ9oIBdBK2lXEtvRkclW6SSj8\"",
"mtime": "2025-02-06T09:01:07.519Z",
"size": 71,
"path": "../public/static/builds/latest.json"
},
"/static/builds/meta/16225946-d1bf-403e-81c7-226706130b56.json": {
"/static/builds/meta/e46ce153-0177-43c0-9b52-5127aacae349.json": {
"type": "application/json",
"etag": "\"8b-DUAZPgrhzQAzapNwtfCi0mw/zXA\"",
"mtime": "2025-02-06T04:20:08.845Z",
"etag": "\"8b-Ph2qfObmjGSjWZEY4O62heVvogI\"",
"mtime": "2025-02-06T09:01:07.519Z",
"size": 139,
"path": "../public/static/builds/meta/16225946-d1bf-403e-81c7-226706130b56.json"
"path": "../public/static/builds/meta/e46ce153-0177-43c0-9b52-5127aacae349.json"
}
};

72
app.vue
View File

@ -154,6 +154,7 @@
</div>
<div class="details-area-box flexflex" v-if="type == 'details'" @scroll="handleDetailsScroll">
<div class="details-box flexflex">
<!-- 加载 -->
<div class="loading-bj flexcenter" v-if="detailLoading">
<svg t="1642133548066" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2597" width="200" height="200">
@ -161,7 +162,6 @@
</svg>
</div>
<div class="details-box flexflex">
<div v-if="emojiMaskState" class="emoji-box-mask" @click="closeEmojiMask()"></div>
<div class="close-box">
@ -627,7 +627,10 @@ export default {
const params = route.query
if (params["uniqid"]) getDetails(params["uniqid"])
if (params["uniqid"]) {
type.value = "details"
getDetails(params["uniqid"])
}
// console.log(params);
// getDetails(params.uniqid)
@ -1972,6 +1975,7 @@ export default {
//
const handleInsertRelatedlist = uniqid => {
if (myModelState.value) return
//
@ -2022,7 +2026,7 @@ export default {
const params = route.query
if (params["keyword"]) keyword.value = params["keyword"]
if (params["tid"]) typePitch.value = params["tid"]
console.log(process.server)
// console.log(process.server)
// if (process.server && params["uniqid"]) {
// await axios
@ -2094,43 +2098,43 @@ export default {
})
})
await $ajax("/api/details/relatedlist", { page: 1, limit: 20 }).then(res => {
if (res.code != 200) return
let obj = {
offer: "Offer",
mj: "面经",
vote: "投票",
thread: "帖子",
}
// await $ajax("/api/details/relatedlist", { page: 1, limit: 20 }).then(res => {
// if (res.code != 200) return
// let obj = {
// offer: "Offer",
// mj: "",
// vote: "",
// thread: "",
// }
let data = res.data
// //
data.forEach(element => {
element["typename"] = obj[element["type"]]
element["isrecom"] = true
})
// let data = res.data
// // //
// data.forEach(element => {
// element["typename"] = obj[element["type"]]
// element["isrecom"] = true
// })
recommendList = recommendList.concat(data)
recommendPage++
// recommendList = recommendList.concat(data)
// recommendPage++
if (params["uniqid"]) {
let target = JSON.parse(JSON.stringify(backupsList))
let result = []
let j = 0
// if (params["uniqid"]) {
// let target = JSON.parse(JSON.stringify(backupsList))
// let result = []
// let j = 0
for (let i = 0; i < target.length; i++) {
result.push(target[i])
if ((i + 1) % 4 === 0 && j < recommendList.length) {
result.push(recommendList[j])
j++
}
}
// for (let i = 0; i < target.length; i++) {
// result.push(target[i])
// if ((i + 1) % 4 === 0 && j < recommendList.length) {
// result.push(recommendList[j])
// j++
// }
// }
list.value = JSON.parse(JSON.stringify(result))
// list.value = JSON.parse(JSON.stringify(result))
initState.value++
}
})
// initState.value++
// }
// })
} catch (error) {
console.error(error)
}

View File

@ -192,9 +192,6 @@ onMounted(() => {
// getComment()
})
const aaa = inject("TAHomePag")
console.log("aaa", aaa)
const $ajax = inject("$ajax")
const $ajaxGET = inject("$ajaxGET")
const detailsToken = inject("detailsToken")

View File

@ -527,6 +527,8 @@ a {
#answer-app .main .details-area-box .loading-bj svg {
width: 60px;
animation: spin 2s linear infinite;
position: fixed;
top: calc(100vh / 2);
}
@keyframes spin {
0% {

View File

@ -671,6 +671,8 @@ a {
svg {
width: 60px;
animation: spin 2s linear infinite;
position: fixed;
top: calc(100vh / 2);
}
@keyframes spin {