推荐阅读和问答混淆问题

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

@@ -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)
};