no message

This commit is contained in:
A1300399510 2023-12-07 18:58:40 +08:00
parent e1a3d72c25
commit 067580409c
23 changed files with 471 additions and 375 deletions

2
.gitignore vendored
View File

@ -8,6 +8,7 @@ dist
# Node dependencies
node_modules
/output/*
# Logs
logs
@ -23,4 +24,3 @@ logs
.env.*
!.env.example
.output/*

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"date": "2023-12-07T06:55:49.996Z",
"date": "2023-12-07T10:47:18.748Z",
"preset": "node-server",
"framework": {
"name": "nuxt",

View File

@ -1 +1 @@
{"id":"2ff6a7f4-fc51-4a0e-bbd0-e57a280b6571","timestamp":1701932140420}
{"id":"894fce60-5783-483f-ba0b-a0dbf1fcd146","timestamp":1701946028642}

View File

@ -0,0 +1 @@
{"id":"894fce60-5783-483f-ba0b-a0dbf1fcd146","timestamp":1701946028642,"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

@ -0,0 +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.b30e6479.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};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"entry-styles.e8fccf41.mjs","sources":["../../../../../.nuxt/dist/server/_nuxt/entry-styles-1.mjs-640449ae.js","../../../../../.nuxt/dist/server/_nuxt/entry-styles.e8fccf41.mjs"],"sourcesContent":null,"names":["style_0"],"mappings":"AAAA,MAAM,mCAAsC,GAAA,2izCAAA;;ACC5C,6BAAe,CAACA,mCAAO;;;;"}

View File

@ -97,13 +97,6 @@ const client_manifest = {
"file": "menu-icon-gray.d61f02b1.svg",
"src": "img/menu-icon-gray.svg"
},
"img/mini-code.png": {
"resourceType": "image",
"prefetch": true,
"mimeType": "image/png",
"file": "mini-code.71ebcc53.png",
"src": "img/mini-code.png"
},
"img/tick-no.svg": {
"resourceType": "image",
"prefetch": true,
@ -145,7 +138,7 @@ const client_manifest = {
"prefetch": true,
"preload": true,
"css": [],
"file": "error-404.31b6f4e9.js",
"file": "error-404.89c5fdea.js",
"imports": [
"node_modules/nuxt/dist/app/entry.js"
],
@ -171,7 +164,7 @@ const client_manifest = {
"prefetch": true,
"preload": true,
"css": [],
"file": "error-500.94ef7d80.js",
"file": "error-500.26defbce.js",
"imports": [
"node_modules/nuxt/dist/app/entry.js"
],
@ -188,7 +181,7 @@ const client_manifest = {
"resourceType": "style",
"prefetch": true,
"preload": true,
"file": "entry.7a3b5e14.css",
"file": "entry.f9b16a6a.css",
"src": "node_modules/nuxt/dist/app/entry.css"
},
"node_modules/nuxt/dist/app/entry.js": {
@ -206,7 +199,6 @@ const client_manifest = {
"close-icon.86743366.svg",
"edit-icon-white.29b27582.svg",
"title.98892974.png",
"mini-code.71ebcc53.png",
"menu-icon-gray.d61f02b1.svg",
"comment-icon-gray.2c8779f9.svg",
"tick-no.179037b3.svg",
@ -218,19 +210,19 @@ const client_manifest = {
"issue-bj.44adad8c.svg"
],
"css": [
"entry.7a3b5e14.css"
"entry.f9b16a6a.css"
],
"dynamicImports": [
"node_modules/@nuxt/ui-templates/dist/templates/error-404.vue",
"node_modules/@nuxt/ui-templates/dist/templates/error-500.vue"
],
"file": "entry.33c46080.js",
"file": "entry.b30e6479.js",
"isEntry": true,
"src": "node_modules/nuxt/dist/app/entry.js",
"_globalCSS": true
},
"entry.7a3b5e14.css": {
"file": "entry.7a3b5e14.css",
"entry.f9b16a6a.css": {
"file": "entry.f9b16a6a.css",
"resourceType": "style",
"prefetch": true,
"preload": true
@ -289,12 +281,6 @@ const client_manifest = {
"prefetch": true,
"mimeType": "image/png"
},
"mini-code.71ebcc53.png": {
"file": "mini-code.71ebcc53.png",
"resourceType": "image",
"prefetch": true,
"mimeType": "image/png"
},
"menu-icon-gray.d61f02b1.svg": {
"file": "menu-icon-gray.d61f02b1.svg",
"resourceType": "image",

File diff suppressed because one or more lines are too long

View File

@ -213,8 +213,8 @@ async function applyPlugin(nuxtApp, plugin) {
if (typeof plugin === "function") {
const { provide: provide2 } = await nuxtApp.runWithContext(() => plugin(nuxtApp)) || {};
if (provide2 && typeof provide2 === "object") {
for (const key2 in provide2) {
nuxtApp.provide(key2, provide2[key2]);
for (const key in provide2) {
nuxtApp.provide(key, provide2[key]);
}
}
}
@ -276,8 +276,8 @@ function useNuxtApp() {
function useRuntimeConfig() {
return (/* @__PURE__ */ useNuxtApp()).$config;
}
function defineGetter(obj, key2, val) {
Object.defineProperty(obj, key2, { get: () => val });
function defineGetter(obj, key, val) {
Object.defineProperty(obj, key, { get: () => val });
}
version.startsWith("3");
function resolveUnref(r) {
@ -554,12 +554,12 @@ function createContext(opts = {}) {
function createNamespace(defaultOpts = {}) {
const contexts = {};
return {
get(key2, opts = {}) {
if (!contexts[key2]) {
contexts[key2] = createContext({ ...defaultOpts, ...opts });
get(key, opts = {}) {
if (!contexts[key]) {
contexts[key] = createContext({ ...defaultOpts, ...opts });
}
contexts[key2];
return contexts[key2];
contexts[key];
return contexts[key];
}
};
}
@ -1020,21 +1020,20 @@ const _imports_14 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAA
const _imports_15 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAADbN2wMAAACWUlEQVRoBe2Zyy4sURSGm7QBI2dESI4WyTFhxuQ8BPEQLhPEROI2FzPxHNIJOZwnOE9gSjsuESNDA9f/a7WS1a2LiC69S/ZK/uy1V7H3vy5VvatWofBaumSaE/4KF8Kd8JSCBdk/K6yRtj57w+FQmBU6hTdlSlcvhbQF6+1ZO1C/H85MeA/a3WRJ+q7Q52yhqf0iVBYWjVhbohB5yNscc0XYS8ZbDA3kn2xHDewfMY3oj3+n/AMlMyhMCiXB5FEKnOFXoOZ92TxoviIUhVCkQ0RWBbhZWZ1Lr94T3LBmZIR8qLImYp7rDER52pjxWHpIkYefFzJREYzvATcxNWiyL+XeJgGOPFardZ9wG8WBHkf0zOmhqv8dsV4c8CUTcvSNt+dYxIFcS3Sg1emLGWh1Bjj7VH/NEiLNONtk7dNbZ6es947rxwjECMQI1EWAx+i4sCx0110LfXojgls4wAtCScijVDhK8HaTV3kiA2MCJfQjZ15QQps54xzpxgjECHy7CPAYzf0LjX2mY2zG9/6ss1zTEIkv9VmH+731Ywbei1DW179FBmq+9mYdsSasX/M1nQxcu0V/Oj1UteSIXaHTRLbfghPptHFCFbidCsb3D0TpgJuBkW5gqLIhYp7rNERpVV64C7Qy6QaGlAm4rAu+zXqmeSdnIYT2fVnwT6VTzWn60blsZaN7SPvDb0AwodGNrVpCZlyU4j30qUrTOZd8Vlgjbf1GdjjO26Y+4tsy0r6nnEIVuvNEfscIegew0YP9JXBjHwiXgv+d0PRLhb3hQKlw7B9OdA0v8gypmLKP2lSLggAAAABJRU5ErkJggg==";
const _imports_16 = "" + __buildAssetsURL("title.98892974.png");
const _imports_17 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAA4CAYAAABNGP5yAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAQKADAAQAAAABAAAAOAAAAACP8+m+AAADhUlEQVRoBe2aS4hPURzHZ7zfj4USmTGTkGcodiRRNh5JNsooO7NhgyJSyoayIDbySFlYkLLwyAaRR5Ty2DCTJPIYeYfx+U5z9O/M+f/N/zf3/q//vfdX3+4959zze3zP6557T01NxqU2EP8M8prAPDAaVLN8x/lWcBEcA+9AURlCyVHwG7SnEG3EtAEERcHfAmkM3I9pd4iBUxkJ3pGxwpGgOWAuUOv7cpuM60DjqFplOI4vA2O8AJ6TngB+Kf8QcMy46zbyQhOknq82GYbDV4GLzV0Xu0AeeoV3XUGKrg3E4k/uOxVfL+AvdWIrbfKMgF54QdUrLQL6ewXfvHRakp+8QHorLQIyLTkBmW5+gs98D+jTwx4wivpDe6jDr/6WDL23V0SsBDTi3XkwJSYvr6B3Ofgck/6/aq1DQG+KcQUv5xaB9bqJW6wEdLxExOzc+Jj1d6i3EvCkAs49qoAN8yqwB+cugx8xOPkFnSfBiRh0d1FpnQRfoUm7Kb1OarcVpbyPUtm/dFkJcHq1n66ow85wVFfrHBCV/cT15AQk3gQJO5D3gIQbIHHzme8B1mVQxK0DC8GABJuxFdsHgb75mcRKQDPWDpgsRl9pNSonAdO3TOsQWBJ9HGaNddQ070ytBMSxBzAzQEVT68uglYDj1NWPhv9BbuLEY6sj1jngHAZngwVgoNV4BPVa0HEWmBvDSoB8f9AJ3VetWIdA1QbsO54T4DOStXTeA7LW4n68eQ+AkXaPlb5eOi1Jv7E73h2U+caLcJqXTkNSh6UavEBeu/QZbtQLHPSld74rTMl1X0F8Ls41iq0WrAIioVC+ktgPLgH/aEnhc1Hda3OlP0E/y1SoHqweW2zY1lO2FqwEhfKRRB1oU6Z+buhMoGMmqatOq80E3ZURPHgfWPzd7huZTIbmAouyKOvoUOYO0J09yiajv/r1HtQ/nYKnRqVRkiBdd8BUUEo2Uliu3dPUKbl7HcQDm4G1a5XrUKnn9ZFjK9AQDclgMq+BUjpUJj0XwFLQRTQJFhMdfRkLZChOGYdyzdKNRYzoHHMTCH30kP9a3kaCkHwgswWUO7mGdMWap265t9PRUItqVdoCivUGitIhswjjHgiRoLwbQF+AUy39iG4X0IoQIuIl+XEPS0wkL3rB0QfPEAlzknevMh5ozGu913E5R4R6gFarTMlEoj0MjgC9tEUmfwCaJfF0KbQc/QAAAABJRU5ErkJggg==";
const _imports_18 = "" + __buildAssetsURL("mini-code.71ebcc53.png");
const _imports_19 = "" + __buildAssetsURL("menu-icon-gray.d61f02b1.svg");
const _imports_20 = "" + __buildAssetsURL("comment-icon-gray.2c8779f9.svg");
const _imports_21 = "data:image/png;base64,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";
const _imports_22 = "" + __buildAssetsURL("tick-no.179037b3.svg");
const _imports_23 = "" + __buildAssetsURL("tick-option.e092d22f.svg");
const _imports_24 = "" + __buildAssetsURL("QRCode-icon.a105d5fc.svg");
const _imports_25 = "" + __buildAssetsURL("delete-icon.4d386dce.svg");
const _imports_26 = "" + __buildAssetsURL("arrows-icon.271dd0d3.svg");
const _imports_27 = "" + __buildAssetsURL("tick-orange.233abc69.svg");
const _imports_28 = "" + __buildAssetsURL("issue-bj.44adad8c.svg");
const _imports_18 = "" + __buildAssetsURL("menu-icon-gray.d61f02b1.svg");
const _imports_19 = "" + __buildAssetsURL("comment-icon-gray.2c8779f9.svg");
const _imports_20 = "data:image/png;base64,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";
const _imports_21 = "" + __buildAssetsURL("tick-no.179037b3.svg");
const _imports_22 = "" + __buildAssetsURL("tick-option.e092d22f.svg");
const _imports_23 = "" + __buildAssetsURL("QRCode-icon.a105d5fc.svg");
const _imports_24 = "" + __buildAssetsURL("delete-icon.4d386dce.svg");
const _imports_25 = "" + __buildAssetsURL("arrows-icon.271dd0d3.svg");
const _imports_26 = "" + __buildAssetsURL("tick-orange.233abc69.svg");
const _imports_27 = "" + __buildAssetsURL("issue-bj.44adad8c.svg");
const _export_sfc = (sfc, props) => {
const target = sfc.__vccOpts || sfc;
for (const [key2, val] of props) {
target[key2] = val;
for (const [key, val] of props) {
target[key] = val;
}
return target;
};
@ -1048,14 +1047,17 @@ const _sfc_main$2 = {
emulateJSON: true,
withCredentials: true,
headers: {
// authorization: "017189d7d01fa8ccf649f36e82807937", // 头部标记
// authorization: "ea8fe1b3a61dea36832b9129cdfa8251", // 头部标记
authorization: "production" !== "production"
// 头部标记 ada
// authorization: "2e25ccc21d5f86b670e7476f3b58ea5d", // 头部标记
}
}).then(function(res) {
var data2 = null;
try {
data2 = typeof res.data == "string" ? JSON.parse(res.data) : res.data;
if (data2["code"] == 401)
islogin = false;
isNeedLogin.value = true;
if (data2["code"] != 200)
handleMsg("error", data2["message"] || "报错了,请重试!!!");
} catch (error) {
@ -1063,12 +1065,12 @@ const _sfc_main$2 = {
resolve(data2);
}).catch((err) => {
if (err.response.status == 401)
islogin = false;
isNeedLogin.value = true;
resolve(err);
});
});
};
let islogin = true;
let isNeedLogin = ref(true);
const goLogin = () => ajax_login();
const route = useRoute();
const baseURL2 = "https://ask.gter.net";
@ -1082,10 +1084,8 @@ const _sfc_main$2 = {
return window.location.href;
};
let myCount = ref({});
const getUserData = () => {
const getUserData = (key) => {
$ajax("/api/user").then((res) => {
if (res.code == 401)
islogin = false;
if (res.code != 200)
return;
let data = res.data;
@ -1209,6 +1209,7 @@ const _sfc_main$2 = {
$ajax("/api/details", { uniqid }).then((res) => {
if (res.code != 200) {
type.value = "list";
pitchIndex.value = null;
return;
}
let data = res.data;
@ -1291,7 +1292,7 @@ const _sfc_main$2 = {
}).finally(() => answerLoading = false);
};
const operateLike = (token, index) => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin();
return;
}
@ -1307,7 +1308,7 @@ const _sfc_main$2 = {
});
};
const operateCollect = (token = detailsToken, index) => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin();
return;
}
@ -1337,7 +1338,7 @@ const _sfc_main$2 = {
let IAnswerEditState = ref(false);
let IAnswerInfo = ref({});
const openIAnswer = (index, type2) => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin();
return;
}
@ -1379,7 +1380,7 @@ const _sfc_main$2 = {
IAnswerInfo.value["anonymous"] = IAnswerInfo.value["anonymous"] == 0 ? 1 : 0;
};
const submitAnswer = (type2) => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin();
return;
}
@ -1455,7 +1456,7 @@ const _sfc_main$2 = {
});
};
const submitAnswerComments = (index, ind, i) => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin();
return;
}
@ -1524,7 +1525,7 @@ const _sfc_main$2 = {
});
};
const operateAnswerCommentsLike = (token, index, ind, i) => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin();
return;
}
@ -1547,7 +1548,7 @@ const _sfc_main$2 = {
});
};
const openAnswerCommentsChild = (index, ind, i) => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin();
return;
}
@ -1593,24 +1594,24 @@ const _sfc_main$2 = {
});
};
let myType = ref("");
const handleMy = (key2) => {
if (!islogin) {
const handleMy = (key) => {
if (isNeedLogin.value) {
goLogin();
return;
}
if (Object.keys(myCount.value).length === 0) {
getUserData();
getUserData(key);
return;
}
if (key2 == "collect") {
if (key == "collect") {
myCollectionList.value = [];
myCollectionPage = 1;
getMyCollection();
} else if (key2 == "answers") {
} else if (key == "answers") {
myAnswerList.value = [];
myAnswerPage = 1;
getMyAnswer();
} else if (key2 == "questions") {
} else if (key == "questions") {
myQuestionsList.value = [];
myQuestionsPage = 1;
getMyQuestions();
@ -1786,7 +1787,7 @@ const _sfc_main$2 = {
anonymous: 0
});
const questionsInit = () => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin();
return;
}
@ -1807,7 +1808,7 @@ const _sfc_main$2 = {
questionsObj.value.anonymous = questionsObj.value.anonymous == 0 ? 1 : 0;
};
const postingIssue = () => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin();
return;
}
@ -2056,8 +2057,12 @@ const _sfc_main$2 = {
const replaceState = (obj = {}) => {
return;
};
const myOpenDetails = (value) => {
getDetails(value.data["uniqid"]);
const myOpenDetails = (uniqid) => {
if (!uniqid) {
handleMsg("error", "没有找到相关提问");
return;
}
getDetails(uniqid);
myType.value = "";
};
const handleDetailsScroll = (e) => {
@ -2089,7 +2094,7 @@ const _sfc_main$2 = {
getList();
};
const handleMenuState = (index, ind, i) => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin();
return;
}
@ -2160,8 +2165,6 @@ const _sfc_main$2 = {
if (res.code != 200)
return;
let data = res.data;
if (true)
console.log("This is on the server side.");
list.value = list.value.concat(data.data || []);
total.value = data.count || 0;
keywordText.value = keyword.value || "";
@ -2180,9 +2183,9 @@ const _sfc_main$2 = {
const setItemUrl = (uniqid) => {
let url = `./index.html?uniqid=${uniqid}`;
let query = route.query;
for (const key2 in query) {
if (key2 != "uniqid")
url += `&${key2}=${query[key2]}`;
for (const key in query) {
if (key != "uniqid")
url += `&${key}=${query[key]}`;
}
return url;
};
@ -2197,7 +2200,7 @@ const _sfc_main$2 = {
yourAnswer.value["anonymous"] = yourAnswer.value["anonymous"] ? 0 : 1;
};
const handleYourAnswer = () => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin();
return;
}
@ -2210,6 +2213,10 @@ const _sfc_main$2 = {
};
let isDirectlyListIAnswer = false;
const openListIAnswer = (index) => {
if (isNeedLogin.value) {
goLogin();
return;
}
let targetData = list.value[index];
IAnswerInfo.value = {
title: targetData["title"],
@ -2224,6 +2231,7 @@ const _sfc_main$2 = {
nextTick(() => handleInput());
};
return {
isNeedLogin,
handleInputYou,
openListIAnswer,
isListEmptyState,
@ -2418,11 +2426,11 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
});
_push(`<!--]--></div></div></header><div class="${ssrRenderClass([{ "mode-list": $setup.type == "list" }, "main flexflex"])}"><div class="list-box"><div class="main-header" style="${ssrRenderStyle({ paddingLeft: $setup.type == "list" ? 0 : "calc((100vw - 1200px) / 2)" })}">`);
if ($setup.isSearchMode) {
_push(`<div class="search-keyword flexacenter"><div class="ellipsis">${ssrInterpolate($setup.keywordText)}</div><img class="search-keyword-cross"${ssrRenderAttr("src", _imports_4)}></div>`);
_push(`<!--[--><div class="search-keyword flexacenter"><div class="ellipsis">${ssrInterpolate($setup.keywordText)}</div><img class="search-keyword-cross"${ssrRenderAttr("src", _imports_4)}></div><div class="total grid-item">共 ${ssrInterpolate($setup.total)} 搜索结果</div><!--]-->`);
} else {
_push(`<!---->`);
_push(`<div class="total grid-item">共 ${ssrInterpolate($setup.total)} 条问答</div>`);
}
_push(`<div class="total grid-item">共${ssrInterpolate($setup.total)}条问答</div></div><div class="list" id="list" style="${ssrRenderStyle($setup.listStyle())}"><!--[-->`);
_push(`</div><div class="list" id="list" style="${ssrRenderStyle($setup.listStyle())}"><!--[-->`);
ssrRenderList($setup.list, (item, index) => {
_push(`<a style="${ssrRenderStyle($setup.itemStyle(index, item["content"]))}" class="${ssrRenderClass([{ pitch: index === $setup.pitchIndex, upLevel: index === $setup.pitchIndex - 1 }, "item grid-item flexflex"])}"${ssrRenderAttr("href", $setup.setItemUrl(item["uniqid"]))}><img class="dot"${ssrRenderAttr("src", _imports_5)}><div class="content" style="${ssrRenderStyle({ width: $setup.type == "list" ? "531px" : "430px" })}"><div class="issue-title flexcenter">`);
if (item["ishot"] == 1) {
@ -2457,7 +2465,7 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
} else {
_push(`<!---->`);
}
_push(`<div class="details-box flexflex"><div class="close-box"><div class="close-circle flexcenter"><img class="close-icon"${ssrRenderAttr("src", _imports_10)}><img class="details-cross-icon"${ssrRenderAttr("src", _imports_11)}></div></div><div class="details-issue"><div class="icon q flexcenter">Q</div><div class="title">${ssrInterpolate($setup.detailsInfo["title"])}</div><div class="hint">${$setup.detailsInfo["content"]}</div><div class="info-box flexacenter"><div class="user-info flexacenter">`);
_push(`<div class="details-box flexflex"><div class="close-box"><div class="close-circle flexcenter"><img class="close-icon"${ssrRenderAttr("src", _imports_10)}><img class="details-cross-icon"${ssrRenderAttr("src", _imports_11)}></div></div><div class="details-issue"><div class="icon q flexcenter">Q</div><div class="titletitle">${ssrInterpolate($setup.detailsInfo["title"])}</div><div class="hint">${$setup.detailsInfo["content"]}</div><div class="info-box flexacenter"><div class="user-info flexacenter">`);
if ($setup.detailsInfo["avatar"]) {
_push(`<img class="avatar"${ssrRenderAttr("src", $setup.detailsInfo["avatar"])}>`);
} else {
@ -2485,7 +2493,7 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
}
_push(`</div><div class="operate-list flexacenter"><div class="operate-item flexacenter"><img class="operate-icon operate-like-icon"${ssrRenderAttr("src", item["islike"] == 1 ? "./img/like-icon-colours.png" : "./img/like-icon.png")}> ${ssrInterpolate(item["likenum"])}</div><div class="${ssrRenderClass([{ commentnum: item["commentState"] }, "operate-item flexacenter"])}"><img class="operate-icon operate-comment-icon"${ssrRenderAttr("src", _imports_17)}> ${ssrInterpolate(item["commentnum"])}</div><div class="operate-item flexacenter"><img class="operate-icon operate-collect-icon"${ssrRenderAttr("src", item["iscollection"] == 1 ? "./img/collect-icon-colours.svg" : "./img/collect-icon.png")}> ${ssrInterpolate(item["collectionnum"] == 0 ? "收藏" : item["collectionnum"])}</div><div class="operate-item operate-transmit flexacenter"><img class="operate-icon operate-transmit-icon"${ssrRenderAttr("src", _imports_14)}> 转发 `);
if (item["transmitState"]) {
_push(`<div class="transmit-box flexflex"><img class="cross-icon"${ssrRenderAttr("src", _imports_11)}><div class="transmit-left transmit-web"><div class="transmit-title">转发网页版</div><div class="transmit-content"><div class="transmit-headline">${ssrInterpolate($setup.detailsInfo["title"])}</div><div class="transmit-url">${ssrInterpolate($setup.getCurrentUrl())}</div></div><div class="transmit-web-btn flexcenter">复制链接</div></div><div class="transmit-right transmit-mini"><div class="transmit-title">转发小程序版</div><div class="transmit-content flexcenter"><img class="transmit-mini-img"${ssrRenderAttr("src", _imports_18)}><div class="flexcenter"><img class="give-sweep"${ssrRenderAttr("src", _imports_15)}> 扫码转发该问答 </div></div></div></div>`);
_push(`<div class="transmit-box flexflex"><img class="cross-icon"${ssrRenderAttr("src", _imports_11)}><div class="transmit-left transmit-web"><div class="transmit-title">转发网页版</div><div class="transmit-content"><div class="transmit-headline">${ssrInterpolate($setup.detailsInfo["title"])}</div><div class="transmit-url">${ssrInterpolate($setup.getCurrentUrl())}</div></div><div class="transmit-web-btn flexcenter">复制链接</div></div><div class="transmit-right transmit-mini"><div class="transmit-title">转发小程序版</div><div class="transmit-content flexcenter"><img class="transmit-mini-img"${ssrRenderAttr("src", item["share"]["qrcode"])}><div class="flexcenter"><img class="give-sweep"${ssrRenderAttr("src", _imports_15)}> 扫码转发该问答 </div></div></div></div>`);
} else {
_push(`<!---->`);
}
@ -2503,7 +2511,7 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
} else {
_push(`<!---->`);
}
_push(`</div><div class="comments-header-right flexacenter"><div class="menu-box flexacenter"><img class="menu-icon"${ssrRenderAttr("src", _imports_19)}><div class="report-box flexcenter">举报</div></div><img class="comment-icon"${ssrRenderAttr("src", _imports_20)}><div class="flexacenter like-box"><img class="like-icon"${ssrRenderAttr("src", it["islike"] == 0 ? "./img/like-icon-gray.png" : "./img/like-icon-colours.png")}><div class="like-quantity">${ssrInterpolate(it["likenum"] || 0)}</div></div></div></div><div class="comments-content"><div class="comments-text">${ssrInterpolate(it["content"])}</div>`);
_push(`</div><div class="comments-header-right flexacenter"><div class="menu-box flexacenter"><img class="menu-icon"${ssrRenderAttr("src", _imports_18)}><div class="report-box flexcenter">举报</div></div><img class="comment-icon"${ssrRenderAttr("src", _imports_19)}><div class="flexacenter like-box"><img class="like-icon"${ssrRenderAttr("src", it["islike"] == 0 ? "./img/like-icon-gray.png" : "./img/like-icon-colours.png")}><div class="like-quantity">${ssrInterpolate(it["likenum"] || 0)}</div></div></div></div><div class="comments-content"><div class="comments-text">${ssrInterpolate(it["content"])}</div>`);
if (it["childState"]) {
_push(`<div class="comments-input-box flexacenter"><div class="comments-input flexflex"><textarea class="flex1" placeholder="回复">${ssrInterpolate(it["commentInput"])}</textarea><div class="comments-btn flexcenter">发送</div></div><img class="forkfork"${ssrRenderAttr("src", _imports_11)}></div>`);
} else {
@ -2521,7 +2529,7 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
} else {
_push(`<!---->`);
}
_push(`</div><div class="comments-header-right flexacenter"><div class="menu-box flexacenter"><img class="menu-icon"${ssrRenderAttr("src", _imports_19)}><div class="report-box flexcenter">举报</div></div><img class="comment-icon"${ssrRenderAttr("src", _imports_20)}><div class="flexacenter like-box"><img class="like-icon"${ssrRenderAttr("src", ite["islike"] == 0 ? "./img/like-icon-gray.png" : "./img/like-icon-colours.png")}><div class="like-quantity">${ssrInterpolate(ite["likenum"] || 0)}</div></div></div></div><div class="comments-content"><div class="comments-text">`);
_push(`</div><div class="comments-header-right flexacenter"><div class="menu-box flexacenter"><img class="menu-icon"${ssrRenderAttr("src", _imports_18)}><div class="report-box flexcenter">举报</div></div><img class="comment-icon"${ssrRenderAttr("src", _imports_19)}><div class="flexacenter like-box"><img class="like-icon"${ssrRenderAttr("src", ite["islike"] == 0 ? "./img/like-icon-gray.png" : "./img/like-icon-colours.png")}><div class="like-quantity">${ssrInterpolate(ite["likenum"] || 0)}</div></div></div></div><div class="comments-content"><div class="comments-text">`);
if (JSON.stringify(ite["reply"]) != "[]") {
_push(`<div class="comments-reply">@${ssrInterpolate(ite["reply"]["nickname"])}</div>`);
} else {
@ -2537,7 +2545,7 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
});
_push(`<!--]-->`);
if (it["childnum"] >= 3 && it["childnum"] > it["child"].length) {
_push(`<div class="comments-also flexacenter"><div class="">还有${ssrInterpolate(it["childnum"] - 1)}条回复</div><img class="also-icon"${ssrRenderAttr("src", _imports_21)}></div>`);
_push(`<div class="comments-also flexacenter"><div class="">还有${ssrInterpolate(it["childnum"] - 1)}条回复</div><img class="also-icon"${ssrRenderAttr("src", _imports_20)}></div>`);
} else {
_push(`<!---->`);
}
@ -2549,7 +2557,7 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
});
_push(`<!--]-->`);
if (item["commentCount"] != item["commentList"].length) {
_push(`<div class="reverl-all flexcenter"> 显示全部 <img class="arrow-circular"${ssrRenderAttr("src", _imports_21)}></div>`);
_push(`<div class="reverl-all flexcenter"> 显示全部 <img class="arrow-circular"${ssrRenderAttr("src", _imports_20)}></div>`);
} else {
_push(`<!---->`);
}
@ -2577,19 +2585,37 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
} else {
_push(`<!---->`);
}
_push(`<div class="your-answer-box"><div class="your-answer-header flexacenter">您的答案</div><div class="${ssrRenderClass([{ placeholder: $setup.yourAnswerPlaceholderState }, "your-answer-textarea"])}" contenteditable="true">${$setup.yourAnswer["text"]}</div><div class="flexacenter your-answer-bottom"><div class="option-box flexacenter">`);
if ($setup.yourAnswer["anonymous"] == 0) {
_push(`<img class="option-icon"${ssrRenderAttr("src", _imports_22)}>`);
if (!$setup.isNeedLogin) {
_push(`<div class="your-answer-box"><div class="your-answer-header flexacenter">您的答案</div><div class="${ssrRenderClass([{ placeholder: $setup.yourAnswerPlaceholderState }, "your-answer-textarea"])}" contenteditable="true">${$setup.yourAnswer["text"]}</div><div class="flexacenter your-answer-bottom"><div class="option-box flexacenter">`);
if ($setup.yourAnswer["anonymous"] == 0) {
_push(`<img class="option-icon"${ssrRenderAttr("src", _imports_21)}>`);
} else {
_push(`<img class="option-icon"${ssrRenderAttr("src", _imports_22)}>`);
}
_push(` 匿名发表 </div><div class="your-answer-submit flexcenter">提交回答</div></div></div>`);
} else {
_push(`<img class="option-icon"${ssrRenderAttr("src", _imports_23)}>`);
_push(`<!---->`);
}
_push(` 匿名发表 </div><div class="your-answer-submit flexcenter">提交回答</div></div></div><div class="mobile-phone-check flexcenter"><img class="QRCode-icon"${ssrRenderAttr("src", _imports_24)} alt=""> 手机查看该问答 <div class="QRCode-pop flexcenter"><img class="offer-mini-QRcode"${ssrRenderAttr("src", $setup.detailShare["qrcode"])}><div class="QRCode-hint flexacenter"><img class="QRCode-img"${ssrRenderAttr("src", _imports_15)}> 微信扫一扫 </div></div></div></div></div>`);
if ($setup.isNeedLogin && $setup.answerList.length == 0) {
_push(`<div class="answer-empty-box flexcenter"><div class="empty-box flexcenter"><div class="dot-list flexacenter"><!--[-->`);
ssrRenderList(3, (item) => {
_push(`<img class="dot-item"${ssrRenderAttr("src", _imports_7)}>`);
});
_push(`<!--]--><!--[-->`);
ssrRenderList(3, (item) => {
_push(`<img class="dot-item"${ssrRenderAttr("src", _imports_8)}>`);
});
_push(`<!--]--></div><img class="empty-icon"${ssrRenderAttr("src", _imports_9)}></div><div class="empty-hint">我在等待你的回答</div></div>`);
} else {
_push(`<!---->`);
}
_push(`<div class="mobile-phone-check flexcenter"><img class="QRCode-icon"${ssrRenderAttr("src", _imports_23)} alt=""> 手机查看该问答 <div class="QRCode-pop flexcenter"><img class="offer-mini-QRcode"${ssrRenderAttr("src", $setup.detailShare["qrcode"])}><div class="QRCode-hint flexacenter"><img class="QRCode-img"${ssrRenderAttr("src", _imports_15)}> 微信扫一扫 </div></div></div></div></div>`);
} else {
_push(`<!---->`);
}
_push(`</div>`);
if ($setup.myType) {
_push(`<div class="popover-mask my-popover flexcenter"><div class="popover-box flexflex"><img class="cross-icon"${ssrRenderAttr("src", _imports_11)}><div class="tab-list flexcenter"><div class="${ssrRenderClass([{ pitch: $setup.myType == "collect" }, "tab-item flexacenter"])}"> 我的收藏 <div class="quantity">${ssrInterpolate($setup.myCollectionCount || $setup.myCount["collect"] || 0)}</div></div><div class="long-string"></div><div class="${ssrRenderClass([{ pitch: $setup.myType == "answers" }, "tab-item flexacenter"])}"> 我的回答 <div class="quantity">${ssrInterpolate($setup.myAnswerCount || $setup.myCount["answer"] || 0)}</div></div><div class="long-string"></div><div class="${ssrRenderClass([{ pitch: $setup.myType == "questions" }, "tab-item flexacenter"])}"> 我的提问 <div class="quantity">${ssrInterpolate($setup.myQuestionsCount || $setup.myCount["questions"] || 0)}</div></div></div>`);
_push(`<div class="popover-mask my-popover flexcenter"><div class="popover-box flexflex"><img class="cross-icon"${ssrRenderAttr("src", _imports_11)}><div class="tab-list flexcenter"><div class="${ssrRenderClass([{ pitch: $setup.myType == "collect" }, "tab-item flexacenter"])}"> 我的收藏 <div class="quantity">${ssrInterpolate($setup.myCollectionCount || $setup.myCount["collect"] || 0)}</div></div><div class="long-string"></div><div class="${ssrRenderClass([{ pitch: $setup.myType == "questions" }, "tab-item flexacenter"])}"> 我的提问 <div class="quantity">${ssrInterpolate($setup.myQuestionsCount || $setup.myCount["questions"] || 0)}</div></div><div class="long-string"></div><div class="${ssrRenderClass([{ pitch: $setup.myType == "answers" }, "tab-item flexacenter"])}"> 我的回答 <div class="quantity">${ssrInterpolate($setup.myAnswerCount || $setup.myCount["answer"] || 0)}</div></div></div>`);
if ($setup.myType == "collect" && $setup.myCollectionList.length == 0 || $setup.myType == "answers" && $setup.myAnswerList.length == 0 || $setup.myType == "questions" && $setup.myQuestionsList.length == 0) {
_push(`<div class="empty-box flexcenter"><div class="dot-list flexacenter"><img class="item"${ssrRenderAttr("src", _imports_7)}><img class="item"${ssrRenderAttr("src", _imports_7)}><img class="item"${ssrRenderAttr("src", _imports_7)}><img class="item"${ssrRenderAttr("src", _imports_8)}><img class="item"${ssrRenderAttr("src", _imports_8)}><img class="item"${ssrRenderAttr("src", _imports_8)}></div><img class="empty-icon"${ssrRenderAttr("src", _imports_9)}><div class="empty-hint">暂无内容</div></div>`);
} else {
@ -2600,9 +2626,9 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
ssrRenderList($setup.myCollectionList, (item, index) => {
_push(`<div class="item flexflex">`);
if (item.type == "askanswercollection") {
_push(`<!--[--><div class="icon a flexcenter">A</div><div class="centre flexflex flex1"><div class="title ellipsis">${item["data"]["content"]}</div><div class="text ellipsis">提问:${ssrInterpolate(item["data"]["title"])}</div></div><div class="delete-box flexacenter"><img class="delete-icon"${ssrRenderAttr("src", _imports_25)}></div><!--]-->`);
_push(`<!--[--><div class="icon a flexcenter">A</div><div class="centre flexflex flex1"><div class="titletitle ellipsis">${item["data"]["content"]}</div><div class="text ellipsis">提问:${ssrInterpolate(item["data"]["title"])}</div></div><div class="delete-box flexacenter"><img class="delete-icon"${ssrRenderAttr("src", _imports_24)}></div><!--]-->`);
} else {
_push(`<!--[--><div class="icon q flexcenter">Q</div><div class="centre flexflex flex1"><div class="title ellipsis">${ssrInterpolate(item["data"]["title"])}</div><div class="text ellipsis">${ssrInterpolate(item["data"]["answers"] > 0 ? "共" + item["data"]["answers"] + "个回答" : "暂无回答")}</div></div><div class="delete-box flexacenter"><img class="delete-icon"${ssrRenderAttr("src", _imports_25)}></div><!--]-->`);
_push(`<!--[--><div class="icon q flexcenter">Q</div><div class="centre flexflex flex1"><div class="titletitle ellipsis">${ssrInterpolate(item["data"]["title"])}</div><div class="text ellipsis">${ssrInterpolate(item["data"]["answers"] > 0 ? "共" + item["data"]["answers"] + "个回答" : "暂无回答")}</div></div><div class="delete-box flexacenter"><img class="delete-icon"${ssrRenderAttr("src", _imports_24)}></div><!--]-->`);
}
_push(`</div>`);
});
@ -2613,9 +2639,9 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
if ($setup.myType == "answers" && $setup.myAnswerList.length != 0) {
_push(`<div class="content-box answers-list"><!--[-->`);
ssrRenderList($setup.myAnswerList, (item, index) => {
_push(`<div class="item flexflex"><div class="icon a flexcenter">A</div><div class="centre flexflex flex1"><div class="info flexacenter"><div class="name">${ssrInterpolate(item["nickname"])}</div><div class="time">${ssrInterpolate($setup.handleDate(item["publicationdate"]))}</div></div><div class="title ellipsis">${item["content"]}</div><div class="text ellipsis">提问:${ssrInterpolate(item["title"])}</div></div><div class="operate-box flexacenter"><div class="state-box flexacenter"><div class="text">${ssrInterpolate(item["anonymous"] == 0 ? "公开" : "匿名")}</div><img class="arrows"${ssrRenderAttr("src", _imports_26)}>`);
_push(`<div class="item flexflex"><div class="icon a flexcenter">A</div><div class="centre flexflex flex1"><div class="info flexacenter"><div class="name">${ssrInterpolate(item["nickname"])}</div><div class="time">${ssrInterpolate($setup.handleDate(item["publicationdate"]))}</div></div><div class="titletitle ellipsis">${item["content"]}</div><div class="text ellipsis">提问:${ssrInterpolate(item["title"])}</div></div><div class="operate-box flexacenter"><div class="state-box flexacenter"><div class="text">${ssrInterpolate(item["anonymous"] == 0 ? "公开" : "匿名")}</div><img class="arrows"${ssrRenderAttr("src", _imports_25)}>`);
if (item["popupState"]) {
_push(`<div class="state-popup flexflex"><div class="state-popup-mask"></div><div class="${ssrRenderClass([{ pitch: item["anonymous"] == 0 }, "state-popup-item flexacenter flex1"])}"><div class="">公开发表</div><img class="state-popup-icon"${ssrRenderAttr("src", _imports_27)}></div><div class="${ssrRenderClass([{ pitch: item["anonymous"] == 1 }, "state-popup-item flexacenter flex1"])}"><div class="">匿名发表</div><img class="state-popup-icon"${ssrRenderAttr("src", _imports_27)}></div></div>`);
_push(`<div class="state-popup flexflex"><div class="state-popup-mask"></div><div class="${ssrRenderClass([{ pitch: item["anonymous"] == 0 }, "state-popup-item flexacenter flex1"])}"><div class="">公开发表</div><img class="state-popup-icon"${ssrRenderAttr("src", _imports_26)}></div><div class="${ssrRenderClass([{ pitch: item["anonymous"] == 1 }, "state-popup-item flexacenter flex1"])}"><div class="">匿名发表</div><img class="state-popup-icon"${ssrRenderAttr("src", _imports_26)}></div></div>`);
} else {
_push(`<!---->`);
}
@ -2628,15 +2654,15 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
if ($setup.myType == "questions" && $setup.myQuestionsList.length != 0) {
_push(`<div class="content-box questions-list"><!--[-->`);
ssrRenderList($setup.myQuestionsList, (item, index) => {
_push(`<div class="item flexflex"><div class="icon q flexcenter">Q</div><div class="centre flexflex flex1"><div class="info flexacenter"><div class="name">${ssrInterpolate(item["nickname"])}</div><div class="time">${ssrInterpolate($setup.handleDate(item["publicationdate"]))}</div></div><div class="title ellipsis">${ssrInterpolate(item["title"])}</div><div class="text flexacenter">`);
_push(`<div class="item flexflex"><div class="icon q flexcenter">Q</div><div class="centre flexflex flex1"><div class="info flexacenter"><div class="name">${ssrInterpolate(item["nickname"])}</div><div class="time">${ssrInterpolate($setup.handleDate(item["publicationdate"]))}</div></div><div class="titletitle ellipsis">${ssrInterpolate(item["title"])}</div><div class="text flexacenter">`);
if (item["authornewnum"] > 0) {
_push(`<div class="new-answer flexacenter"> 有${ssrInterpolate(item["authornewnum"])}个新回答 <div class="long-string"></div></div>`);
} else {
_push(`<!---->`);
}
_push(` ${ssrInterpolate(item["answers"] == 0 ? "暂无回答" : "共" + item["answers"] + "个回答")}</div></div><div class="operate-box flexacenter"><div class="state-box flexacenter"><div class="text">${ssrInterpolate(item["anonymous"] == 0 ? "公开" : "匿名")}</div><img class="arrows"${ssrRenderAttr("src", _imports_26)}>`);
_push(` ${ssrInterpolate(item["answers"] == 0 ? "暂无回答" : "共" + item["answers"] + "个回答")}</div></div><div class="operate-box flexacenter"><div class="state-box flexacenter"><div class="text">${ssrInterpolate(item["anonymous"] == 0 ? "公开" : "匿名")}</div><img class="arrows"${ssrRenderAttr("src", _imports_25)}>`);
if (item["popupState"]) {
_push(`<div class="state-popup flexflex"><div class="${ssrRenderClass([{ pitch: item["anonymous"] == 0 }, "state-popup-item flexacenter flex1"])}"><div class="">公开发表</div><img class="state-popup-icon"${ssrRenderAttr("src", _imports_27)}></div><div class="${ssrRenderClass([{ pitch: item["anonymous"] == 1 }, "state-popup-item flexacenter flex1"])}"><div class="">匿名发表</div><img class="state-popup-icon"${ssrRenderAttr("src", _imports_27)}></div></div>`);
_push(`<div class="state-popup flexflex"><div class="${ssrRenderClass([{ pitch: item["anonymous"] == 0 }, "state-popup-item flexacenter flex1"])}"><div class="">公开发表</div><img class="state-popup-icon"${ssrRenderAttr("src", _imports_26)}></div><div class="${ssrRenderClass([{ pitch: item["anonymous"] == 1 }, "state-popup-item flexacenter flex1"])}"><div class="">匿名发表</div><img class="state-popup-icon"${ssrRenderAttr("src", _imports_26)}></div></div>`);
} else {
_push(`<!---->`);
}
@ -2653,7 +2679,7 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
if ($setup.questionsSetp) {
_push(`<div class="popover-mask flexcenter issue-box">`);
if ($setup.questionsSetp == 1) {
_push(`<div class="choosing-theme"><div class="title"> 选择提问所属主题 </div><div class="theme-list flexflex"><!--[-->`);
_push(`<div class="choosing-theme"><div class="titletitle"> 选择提问所属主题 </div><div class="theme-list flexflex"><!--[-->`);
ssrRenderList($setup.questionsTypeList, (item, index) => {
_push(`<div class="theme-stair-box flexflex"><!--[-->`);
ssrRenderList(item, (item2) => {
@ -2663,11 +2689,11 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
});
_push(`<!--]--></div></div>`);
} else {
_push(`<div class="issue-form"><img class="issue-bj"${ssrRenderAttr("src", _imports_28)}><div class="flexcenter q">Q</div><img class="cross-icon"${ssrRenderAttr("src", _imports_11)}><div class="issue-input"><textarea placeholder="一句话描述问题,以问号结尾">${ssrInterpolate($setup.questionsObj.title)}</textarea></div><textarea class="issue-replenish" placeholder="欢迎补充,清晰表达问题的关键点,可获得更有效的解答(非必填;请正确填写,发布后将不能修改)">${ssrInterpolate($setup.questionsObj.content)}</textarea><div class="issue-bottom flexacenter"><div class="option-box flexacenter" style="${ssrRenderStyle({ "color": "#333" })}">`);
_push(`<div class="issue-form"><img class="issue-bj"${ssrRenderAttr("src", _imports_27)}><div class="flexcenter q">Q</div><img class="cross-icon"${ssrRenderAttr("src", _imports_11)}><div class="issue-input"><textarea placeholder="一句话描述问题,以问号结尾">${ssrInterpolate($setup.questionsObj.title)}</textarea></div><textarea class="issue-replenish" placeholder="欢迎补充,清晰表达问题的关键点,可获得更有效的解答(非必填;请正确填写,发布后将不能修改)">${ssrInterpolate($setup.questionsObj.content)}</textarea><div class="issue-bottom flexacenter"><div class="option-box flexacenter" style="${ssrRenderStyle({ "color": "#333" })}">`);
if ($setup.questionsObj.anonymous == 0) {
_push(`<img class="option-icon"${ssrRenderAttr("src", _imports_22)}>`);
_push(`<img class="option-icon"${ssrRenderAttr("src", _imports_21)}>`);
} else {
_push(`<img class="option-icon"${ssrRenderAttr("src", _imports_23)}>`);
_push(`<img class="option-icon"${ssrRenderAttr("src", _imports_22)}>`);
}
_push(` 匿名发表 <div class="" style="${ssrRenderStyle({ "color": "#aaa" })}">(发布后可修改)</div></div><div class="issue-btn flexcenter">发布问题</div></div></div>`);
}
@ -2676,18 +2702,18 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
_push(`<!---->`);
}
if ($setup.IAnswerEditState) {
_push(`<div class="popover-mask flexcenter"><div class="edit-answers"><img class="close-icon"${ssrRenderAttr("src", _imports_11)}><div class="title">编辑回答</div><div class="${ssrRenderClass([{ placeholder: $setup.questionPlaceholderState }, "question-textarea"])}" contenteditable="true">${$setup.IAnswerInfo["text"]}</div><div class="issue-bottom flexacenter"><div class="option-box flexacenter">`);
_push(`<div class="popover-mask flexcenter"><div class="edit-answers"><img class="close-icon"${ssrRenderAttr("src", _imports_11)}><div class="titletitle">编辑回答</div><div class="${ssrRenderClass([{ placeholder: $setup.questionPlaceholderState }, "question-textarea"])}" contenteditable="true">${$setup.IAnswerInfo["text"]}</div><div class="issue-bottom flexacenter"><div class="option-box flexacenter">`);
if ($setup.IAnswerInfo["anonymous"] == 0) {
_push(`<img class="option-icon"${ssrRenderAttr("src", _imports_22)}>`);
_push(`<img class="option-icon"${ssrRenderAttr("src", _imports_21)}>`);
} else {
_push(`<img class="option-icon"${ssrRenderAttr("src", _imports_23)}>`);
_push(`<img class="option-icon"${ssrRenderAttr("src", _imports_22)}>`);
}
_push(` 匿名发表 </div><div class="issue-btn flexcenter">提交回答</div></div></div></div>`);
} else {
_push(`<!---->`);
}
if ($setup.IAnswerState) {
_push(`<div class="popover-mask flexcenter"><div class="i-answer-box flexflex"><img class="close-icon"${ssrRenderAttr("src", _imports_11)}><div class="question-header"><div class="question-title flexflex"><div class="question-icon flexcenter">Q</div><div class="flex1">${ssrInterpolate($setup.IAnswerInfo["title"])}</div></div>`);
_push(`<div class="popover-mask flexcenter"><div class="i-answer-box flexflex"><img class="close-icon"${ssrRenderAttr("src", _imports_11)}><div class="question-header"><div class="question-title flexflex"><div class="question-icon flexcenter">Q</div><div class="flex1">${$setup.IAnswerInfo["title"]}</div></div>`);
if ($setup.IAnswerInfo["content"]) {
_push(`<div class="question-replenish">${$setup.IAnswerInfo["content"]}</div>`);
} else {
@ -2695,9 +2721,9 @@ function _sfc_ssrRender(_ctx, _push, _parent, _attrs, $props, $setup, $data, $op
}
_push(`</div><div class="question-middle flexflex"><div class="question-icon flexcenter">A</div><div class="${ssrRenderClass([{ placeholder: $setup.questionPlaceholderState }, "question-textarea"])}" contenteditable="true">${$setup.IAnswerInfo["text"]}</div></div><div class="issue-bottom flexacenter"><div class="option-box flexacenter">`);
if ($setup.IAnswerInfo["anonymous"] == 0) {
_push(`<img class="option-icon"${ssrRenderAttr("src", _imports_22)}>`);
_push(`<img class="option-icon"${ssrRenderAttr("src", _imports_21)}>`);
} else {
_push(`<img class="option-icon"${ssrRenderAttr("src", _imports_23)}>`);
_push(`<img class="option-icon"${ssrRenderAttr("src", _imports_22)}>`);
}
_push(` 匿名发表 </div><div class="issue-btn flexcenter">提交回答</div></div></div></div>`);
} else {

View File

@ -1,6 +1,6 @@
const interopDefault = r => r.default || r || [];
const styles = {
"node_modules/nuxt/dist/app/entry.js": () => import('./_nuxt/entry-styles.8c34e645.mjs').then(interopDefault),
"node_modules/nuxt/dist/app/entry.js": () => import('./_nuxt/entry-styles.e8fccf41.mjs').then(interopDefault),
"node_modules/@nuxt/ui-templates/dist/templates/error-404.vue": () => import('./_nuxt/error-404-styles.1e0dde27.mjs').then(interopDefault),
"node_modules/@nuxt/ui-templates/dist/templates/error-500.vue": () => import('./_nuxt/error-500-styles.cf4b3e80.mjs').then(interopDefault)
};

View File

@ -99,7 +99,7 @@ function createServerHead(options = {}) {
const unheadPlugins = [];
const appHead = {"meta":[{"name":"viewport","content":"width=device-width, initial-scale=1"},{"charset":"utf-8"}],"link":[{"rel":"stylesheet","href":"//bbs.gter.net/data/cache/style_2_common.css?Z62"}],"style":[],"script":[{"src":"https://app.gter.net/bottom?tpl=header&menukey=ask"},{"src":"https://app.gter.net/bottom?tpl=footer","body":true},{"src":"//bbs.gter.net/static/js/common.js","body":true,"charset":"gb2312"},{"innerHTML":"\n window.userInfoWin = {}\n STYLEID = \"2\";\n STATICURL = \"static/\";\n IMGDIR = \"https://bbs.gter.net/template/archy_plt8/image\";\n VERHASH = \"Z62\";\n charset = \"gbk\";\n discuz_uid = \"0\";\n cookiepre = \"4B5x_c0ae_\";\n cookiedomain = \"gter.net\";\n cookiepath = \"/\";\n showusercard = \"1\";\n attackevasive = \"0\";\n disallowfloat = \"\";\n creditnotice = \",\";\n defaultstyle = \"\";\n REPORTURL = \"aHR0cDovL2Jicy5ndGVyLm5ldC9mb3J1bS5waHA/dGlkPTI0MDYzNTYmZ290bz1sYXN0cG9zdA==\";\n SITEURL = \"https://ask.gter.net/\";\n JSPATH = \"static/js/\";\n ","type":"text/javascript","charset":"utf-8"}],"noscript":[]};
const appHead = {"meta":[{"name":"viewport","content":"width=device-width, initial-scale=1"},{"charset":"utf-8"}],"link":[{"rel":"stylesheet","href":"//bbs.gter.net/data/cache/style_2_common.css?Z62"}],"style":[],"script":[{"src":"https://app.gter.net/bottom?tpl=header&menukey=ask"},{"src":"https://app.gter.net/bottom?tpl=footer","body":true},{"src":"//bbs.gter.net/static/js/common.js","body":true,"charset":"gb2312"},{"innerHTML":"\n window.userInfoWin = {}\n STYLEID = \"2\";\n STATICURL = \"static/\";\n IMGDIR = \"https://bbs.gter.net/template/archy_plt8/image\";\n VERHASH = \"Z62\";\n charset = \"gbk\";\n discuz_uid = \"0\";\n cookiepre = \"4B5x_c0ae_\";\n cookiedomain = \"gter.net\";\n cookiepath = \"/\";\n showusercard = \"1\";\n attackevasive = \"0\";\n disallowfloat = \"\";\n creditnotice = \",\";\n defaultstyle = \"\";\n REPORTURL = \"aHR0cDovL2Jicy5ndGVyLm5ldC9mb3J1bS5waHA/dGlkPTI0MDYzNTYmZ290bz1sYXN0cG9zdA==\";\n SITEURL = \"https://ask.gter.net/\";\n JSPATH = \"static/js/\";","type":"text/javascript","charset":"utf-8"}],"noscript":[]};
const appRootId = "__nuxt";

View File

@ -3059,7 +3059,7 @@ function klona(x) {
const inlineAppConfig = {
"nuxt": {
"buildId": "2ff6a7f4-fc51-4a0e-bbd0-e57a280b6571"
"buildId": "894fce60-5783-483f-ba0b-a0dbf1fcd146"
}
};
@ -4946,6 +4946,174 @@ const assets = {
"size": 2238,
"path": "../public/favicon.ico"
},
"/_nuxt/add-icon.0b0b5313.svg": {
"type": "image/svg+xml",
"etag": "\"d67-gajxuGcy6aHIeWAbO0RazX03p90\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 3431,
"path": "../public/_nuxt/add-icon.0b0b5313.svg"
},
"/_nuxt/arrows-icon.271dd0d3.svg": {
"type": "image/svg+xml",
"etag": "\"5a0-yAit7q5lcKJMd35iOMMifZv2uno\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 1440,
"path": "../public/_nuxt/arrows-icon.271dd0d3.svg"
},
"/_nuxt/close-icon.86743366.svg": {
"type": "image/svg+xml",
"etag": "\"2d4-QYrulZl33jopLCT37UdJfnzXOVg\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 724,
"path": "../public/_nuxt/close-icon.86743366.svg"
},
"/_nuxt/comment-icon-gray.2c8779f9.svg": {
"type": "image/svg+xml",
"etag": "\"816-HEGvNjvS0TeA/3uJweilvZfCqlk\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 2070,
"path": "../public/_nuxt/comment-icon-gray.2c8779f9.svg"
},
"/_nuxt/delete-icon.4d386dce.svg": {
"type": "image/svg+xml",
"etag": "\"17fe-RGKa0+MaUqOqlbPlXlig67fGkaY\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 6142,
"path": "../public/_nuxt/delete-icon.4d386dce.svg"
},
"/_nuxt/dot-gray.86cdd7b5.svg": {
"type": "image/svg+xml",
"etag": "\"2af-sBMsuPZbsh28jzlFWO9lVYMVDk8\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 687,
"path": "../public/_nuxt/dot-gray.86cdd7b5.svg"
},
"/_nuxt/dot-yellow.4b5e135b.svg": {
"type": "image/svg+xml",
"etag": "\"2af-6L7YsWhGTHBB6NqQztB/l2OFRfE\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 687,
"path": "../public/_nuxt/dot-yellow.4b5e135b.svg"
},
"/_nuxt/dot.1026a040.svg": {
"type": "image/svg+xml",
"etag": "\"217-dx6xqUT4D9pCoKc6nr20aXeJQXQ\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 535,
"path": "../public/_nuxt/dot.1026a040.svg"
},
"/_nuxt/edit-icon-white.29b27582.svg": {
"type": "image/svg+xml",
"etag": "\"8be-EnEF3CQI46JkMNAXbPf3H6T7pzU\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 2238,
"path": "../public/_nuxt/edit-icon-white.29b27582.svg"
},
"/_nuxt/empty-icon.24a01ae2.svg": {
"type": "image/svg+xml",
"etag": "\"d028-Our2UxxUiciRSduORd8JZCt5Prw\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 53288,
"path": "../public/_nuxt/empty-icon.24a01ae2.svg"
},
"/_nuxt/entry.b30e6479.js": {
"type": "application/javascript",
"etag": "\"363ca-C9Uq61R9JLnTHNnE+miljlrOpHQ\"",
"mtime": "2023-12-07T10:47:12.614Z",
"size": 222154,
"path": "../public/_nuxt/entry.b30e6479.js"
},
"/_nuxt/entry.f9b16a6a.css": {
"type": "text/css; charset=utf-8",
"etag": "\"a55e-MZ8vEKgpwS82xeoQgfc/9fzMgCc\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 42334,
"path": "../public/_nuxt/entry.f9b16a6a.css"
},
"/_nuxt/error-404.7fc72018.css": {
"type": "text/css; charset=utf-8",
"etag": "\"e2e-iNt1cqPQ0WDudfCTZVQd31BeRGs\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 3630,
"path": "../public/_nuxt/error-404.7fc72018.css"
},
"/_nuxt/error-404.89c5fdea.js": {
"type": "application/javascript",
"etag": "\"18de-gopbGA28p2nKiy7iGy53WvvhUGk\"",
"mtime": "2023-12-07T10:47:12.614Z",
"size": 6366,
"path": "../public/_nuxt/error-404.89c5fdea.js"
},
"/_nuxt/error-500.26defbce.js": {
"type": "application/javascript",
"etag": "\"756-uBaZ20RastVAbCW4TnuaK4/e/LI\"",
"mtime": "2023-12-07T10:47:12.614Z",
"size": 1878,
"path": "../public/_nuxt/error-500.26defbce.js"
},
"/_nuxt/error-500.c5df6088.css": {
"type": "text/css; charset=utf-8",
"etag": "\"79e-ByRo+49BgcevWdRjJy3CMx2IA5k\"",
"mtime": "2023-12-07T10:47:12.613Z",
"size": 1950,
"path": "../public/_nuxt/error-500.c5df6088.css"
},
"/_nuxt/issue-bj.44adad8c.svg": {
"type": "image/svg+xml",
"etag": "\"926-lK6rrraYIC+9Yxyy0subzOK8XpE\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 2342,
"path": "../public/_nuxt/issue-bj.44adad8c.svg"
},
"/_nuxt/logo.6622f82d.png": {
"type": "image/png",
"etag": "\"843f-FSXGFGigIHmtzjdcQzuMz/a7E+o\"",
"mtime": "2023-12-07T10:47:12.610Z",
"size": 33855,
"path": "../public/_nuxt/logo.6622f82d.png"
},
"/_nuxt/menu-icon-gray.d61f02b1.svg": {
"type": "image/svg+xml",
"etag": "\"6de-kmXhltPHfF4W1gmV7wT4aZCZ6gg\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 1758,
"path": "../public/_nuxt/menu-icon-gray.d61f02b1.svg"
},
"/_nuxt/QRCode-icon.a105d5fc.svg": {
"type": "image/svg+xml",
"etag": "\"9c1-qGg9jZ5wmHJGzh2A00nHIGWHMh4\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 2497,
"path": "../public/_nuxt/QRCode-icon.a105d5fc.svg"
},
"/_nuxt/tick-no.179037b3.svg": {
"type": "image/svg+xml",
"etag": "\"1ea-YISAWqJD56jxoQT8N812fDJfkMw\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 490,
"path": "../public/_nuxt/tick-no.179037b3.svg"
},
"/_nuxt/tick-option.e092d22f.svg": {
"type": "image/svg+xml",
"etag": "\"29a-UVjuq3WHs6mhu1KGQ7gQmJH2Bc4\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 666,
"path": "../public/_nuxt/tick-option.e092d22f.svg"
},
"/_nuxt/tick-orange.233abc69.svg": {
"type": "image/svg+xml",
"etag": "\"60a-VrP9K+TQp6JbNcrU5k1Dor/Kq/E\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 1546,
"path": "../public/_nuxt/tick-orange.233abc69.svg"
},
"/_nuxt/title.98892974.png": {
"type": "image/png",
"etag": "\"1723-0OwkVass/2nFB99dRT4w0sPUvI0\"",
"mtime": "2023-12-07T10:47:12.612Z",
"size": 5923,
"path": "../public/_nuxt/title.98892974.png"
},
"/img/add-icon.svg": {
"type": "image/svg+xml",
"etag": "\"d67-gajxuGcy6aHIeWAbO0RazX03p90\"",
@ -5212,194 +5380,19 @@ const assets = {
"size": 207187,
"path": "../public/img/u4494.png"
},
"/_nuxt/add-icon.0b0b5313.svg": {
"type": "image/svg+xml",
"etag": "\"d67-gajxuGcy6aHIeWAbO0RazX03p90\"",
"mtime": "2023-12-07T06:55:43.900Z",
"size": 3431,
"path": "../public/_nuxt/add-icon.0b0b5313.svg"
},
"/_nuxt/arrows-icon.271dd0d3.svg": {
"type": "image/svg+xml",
"etag": "\"5a0-yAit7q5lcKJMd35iOMMifZv2uno\"",
"mtime": "2023-12-07T06:55:43.901Z",
"size": 1440,
"path": "../public/_nuxt/arrows-icon.271dd0d3.svg"
},
"/_nuxt/close-icon.86743366.svg": {
"type": "image/svg+xml",
"etag": "\"2d4-QYrulZl33jopLCT37UdJfnzXOVg\"",
"mtime": "2023-12-07T06:55:43.900Z",
"size": 724,
"path": "../public/_nuxt/close-icon.86743366.svg"
},
"/_nuxt/comment-icon-gray.2c8779f9.svg": {
"type": "image/svg+xml",
"etag": "\"816-HEGvNjvS0TeA/3uJweilvZfCqlk\"",
"mtime": "2023-12-07T06:55:43.901Z",
"size": 2070,
"path": "../public/_nuxt/comment-icon-gray.2c8779f9.svg"
},
"/_nuxt/delete-icon.4d386dce.svg": {
"type": "image/svg+xml",
"etag": "\"17fe-RGKa0+MaUqOqlbPlXlig67fGkaY\"",
"mtime": "2023-12-07T06:55:43.901Z",
"size": 6142,
"path": "../public/_nuxt/delete-icon.4d386dce.svg"
},
"/_nuxt/dot-gray.86cdd7b5.svg": {
"type": "image/svg+xml",
"etag": "\"2af-sBMsuPZbsh28jzlFWO9lVYMVDk8\"",
"mtime": "2023-12-07T06:55:43.900Z",
"size": 687,
"path": "../public/_nuxt/dot-gray.86cdd7b5.svg"
},
"/_nuxt/dot-yellow.4b5e135b.svg": {
"type": "image/svg+xml",
"etag": "\"2af-6L7YsWhGTHBB6NqQztB/l2OFRfE\"",
"mtime": "2023-12-07T06:55:43.900Z",
"size": 687,
"path": "../public/_nuxt/dot-yellow.4b5e135b.svg"
},
"/_nuxt/dot.1026a040.svg": {
"type": "image/svg+xml",
"etag": "\"217-dx6xqUT4D9pCoKc6nr20aXeJQXQ\"",
"mtime": "2023-12-07T06:55:43.900Z",
"size": 535,
"path": "../public/_nuxt/dot.1026a040.svg"
},
"/_nuxt/edit-icon-white.29b27582.svg": {
"type": "image/svg+xml",
"etag": "\"8be-EnEF3CQI46JkMNAXbPf3H6T7pzU\"",
"mtime": "2023-12-07T06:55:43.901Z",
"size": 2238,
"path": "../public/_nuxt/edit-icon-white.29b27582.svg"
},
"/_nuxt/empty-icon.24a01ae2.svg": {
"type": "image/svg+xml",
"etag": "\"d028-Our2UxxUiciRSduORd8JZCt5Prw\"",
"mtime": "2023-12-07T06:55:43.900Z",
"size": 53288,
"path": "../public/_nuxt/empty-icon.24a01ae2.svg"
},
"/_nuxt/entry.33c46080.js": {
"type": "application/javascript",
"etag": "\"35fd4-zakxaHI2Wvb5rkTag4vnKLGdUn8\"",
"mtime": "2023-12-07T06:55:43.902Z",
"size": 221140,
"path": "../public/_nuxt/entry.33c46080.js"
},
"/_nuxt/entry.7a3b5e14.css": {
"type": "text/css; charset=utf-8",
"etag": "\"a464-QLZTDzJX2913JeUgOcQW9vrN3Ac\"",
"mtime": "2023-12-07T06:55:43.898Z",
"size": 42084,
"path": "../public/_nuxt/entry.7a3b5e14.css"
},
"/_nuxt/error-404.31b6f4e9.js": {
"type": "application/javascript",
"etag": "\"18de-PN+7R9LQBRowF7NvBJt12TaR9Ds\"",
"mtime": "2023-12-07T06:55:43.902Z",
"size": 6366,
"path": "../public/_nuxt/error-404.31b6f4e9.js"
},
"/_nuxt/error-404.7fc72018.css": {
"type": "text/css; charset=utf-8",
"etag": "\"e2e-iNt1cqPQ0WDudfCTZVQd31BeRGs\"",
"mtime": "2023-12-07T06:55:43.901Z",
"size": 3630,
"path": "../public/_nuxt/error-404.7fc72018.css"
},
"/_nuxt/error-500.94ef7d80.js": {
"type": "application/javascript",
"etag": "\"756-2Dbg8BDI6OSYoF7bJ7Y3gv2yWao\"",
"mtime": "2023-12-07T06:55:43.902Z",
"size": 1878,
"path": "../public/_nuxt/error-500.94ef7d80.js"
},
"/_nuxt/error-500.c5df6088.css": {
"type": "text/css; charset=utf-8",
"etag": "\"79e-ByRo+49BgcevWdRjJy3CMx2IA5k\"",
"mtime": "2023-12-07T06:55:43.902Z",
"size": 1950,
"path": "../public/_nuxt/error-500.c5df6088.css"
},
"/_nuxt/issue-bj.44adad8c.svg": {
"type": "image/svg+xml",
"etag": "\"926-lK6rrraYIC+9Yxyy0subzOK8XpE\"",
"mtime": "2023-12-07T06:55:43.901Z",
"size": 2342,
"path": "../public/_nuxt/issue-bj.44adad8c.svg"
},
"/_nuxt/logo.6622f82d.png": {
"type": "image/png",
"etag": "\"843f-FSXGFGigIHmtzjdcQzuMz/a7E+o\"",
"mtime": "2023-12-07T06:55:43.899Z",
"size": 33855,
"path": "../public/_nuxt/logo.6622f82d.png"
},
"/_nuxt/menu-icon-gray.d61f02b1.svg": {
"type": "image/svg+xml",
"etag": "\"6de-kmXhltPHfF4W1gmV7wT4aZCZ6gg\"",
"mtime": "2023-12-07T06:55:43.901Z",
"size": 1758,
"path": "../public/_nuxt/menu-icon-gray.d61f02b1.svg"
},
"/_nuxt/mini-code.71ebcc53.png": {
"type": "image/png",
"etag": "\"27ef-bwkVF55+sU0FBZ7eCqai2Zd0ZQs\"",
"mtime": "2023-12-07T06:55:43.901Z",
"size": 10223,
"path": "../public/_nuxt/mini-code.71ebcc53.png"
},
"/_nuxt/QRCode-icon.a105d5fc.svg": {
"type": "image/svg+xml",
"etag": "\"9c1-qGg9jZ5wmHJGzh2A00nHIGWHMh4\"",
"mtime": "2023-12-07T06:55:43.901Z",
"size": 2497,
"path": "../public/_nuxt/QRCode-icon.a105d5fc.svg"
},
"/_nuxt/tick-no.179037b3.svg": {
"type": "image/svg+xml",
"etag": "\"1ea-YISAWqJD56jxoQT8N812fDJfkMw\"",
"mtime": "2023-12-07T06:55:43.901Z",
"size": 490,
"path": "../public/_nuxt/tick-no.179037b3.svg"
},
"/_nuxt/tick-option.e092d22f.svg": {
"type": "image/svg+xml",
"etag": "\"29a-UVjuq3WHs6mhu1KGQ7gQmJH2Bc4\"",
"mtime": "2023-12-07T06:55:43.901Z",
"size": 666,
"path": "../public/_nuxt/tick-option.e092d22f.svg"
},
"/_nuxt/tick-orange.233abc69.svg": {
"type": "image/svg+xml",
"etag": "\"60a-VrP9K+TQp6JbNcrU5k1Dor/Kq/E\"",
"mtime": "2023-12-07T06:55:43.901Z",
"size": 1546,
"path": "../public/_nuxt/tick-orange.233abc69.svg"
},
"/_nuxt/title.98892974.png": {
"type": "image/png",
"etag": "\"1723-0OwkVass/2nFB99dRT4w0sPUvI0\"",
"mtime": "2023-12-07T06:55:43.901Z",
"size": 5923,
"path": "../public/_nuxt/title.98892974.png"
},
"/_nuxt/builds/latest.json": {
"type": "application/json",
"etag": "\"47-5NIP5UjrzxwCbvBDxjd+8Z3/aTo\"",
"mtime": "2023-12-07T06:55:45.075Z",
"etag": "\"47-reo65Of1GfYmSzQy9F8SbQbcIHI\"",
"mtime": "2023-12-07T10:47:13.814Z",
"size": 71,
"path": "../public/_nuxt/builds/latest.json"
},
"/_nuxt/builds/meta/2ff6a7f4-fc51-4a0e-bbd0-e57a280b6571.json": {
"/_nuxt/builds/meta/894fce60-5783-483f-ba0b-a0dbf1fcd146.json": {
"type": "application/json",
"etag": "\"8b-H2mR0oAfBDEACOjjKAVW3Ux7NEk\"",
"mtime": "2023-12-07T06:55:45.076Z",
"etag": "\"8b-+Wp4gbedkhgC8drPB3Zt/0cM7sU\"",
"mtime": "2023-12-07T10:47:13.814Z",
"size": 139,
"path": "../public/_nuxt/builds/meta/2ff6a7f4-fc51-4a0e-bbd0-e57a280b6571.json"
"path": "../public/_nuxt/builds/meta/894fce60-5783-483f-ba0b-a0dbf1fcd146.json"
}
};

27
app.html Normal file
View File

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>问答</title>
</head>
<body>
<div style="display:none;">
<script type="text/javascript" src="//v1.cnzz.com/z_stat.php?id=1281224882&amp;web_id=1281224882"></script>
<script type="text/javascript">
let _hmt = _hmt || [];
let hmthmt = 11
(function () {
let hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?4bd66cbe45a640b607fe46c48f658746";
let s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</div>
</body>
</html>

138
app.vue
View File

@ -61,11 +61,15 @@
<div class="main flexflex" :class="{'mode-list': type == 'list'}">
<div class="list-box" @scroll="handleListScroll">
<div class="main-header" :style="{paddingLeft: type == 'list' ? 0 : 'calc((100vw - 1200px) / 2)'}">
<div class="search-keyword flexacenter" v-if="isSearchMode" @click="handleClickClear()">
<div class="ellipsis">{{ keywordText }}</div>
<img class="search-keyword-cross" src="./img/cross-circle-icon.png" />
</div>
<div class="total grid-item" @click="cut">{{ total }}条问答</div>
<template v-if="isSearchMode">
<div class="search-keyword flexacenter" @click="handleClickClear()">
<div class="ellipsis">{{ keywordText }}</div>
<img class="search-keyword-cross" src="./img/cross-circle-icon.png" />
</div>
<div class="total grid-item" @click="cut"> {{ total }} 搜索结果</div>
</template>
<div v-else class="total grid-item" @click="cut"> {{ total }} 条问答</div>
</div>
<div class="list" id="list" :style="listStyle()">
<a class="item grid-item flexflex" v-for="(item, index) in list" :key="index" :style="itemStyle(index, item['content'])" :class="{pitch: index === pitchIndex, upLevel: index === pitchIndex - 1}" :href="setItemUrl(item['uniqid'])" @click.stop.prevent="getDetails(item['uniqid'], index)">
@ -109,7 +113,6 @@
<div class="details-box flexflex">
<!-- 转发的蒙版 -->
<!-- <div class="transmit-mask" v-if="questionsTransmitMaskState" @click="closeAllTransmitState()"></div> -->
<div class="close-box">
<div class="close-circle flexcenter" @click="closeDetailMode()">
@ -120,7 +123,7 @@
<!-- 提问信息 -->
<div class="details-issue">
<div class="icon q flexcenter">Q</div>
<div class="title">{{ detailsInfo["title"] }}</div>
<div class="titletitle">{{ detailsInfo["title"] }}</div>
<div class="hint" @click="handleAnswerText" v-html="detailsInfo['content']"></div>
<div class="info-box flexacenter">
<div class="user-info flexacenter">
@ -223,7 +226,7 @@
<div class="transmit-right transmit-mini">
<div class="transmit-title">转发小程序版</div>
<div class="transmit-content flexcenter">
<img class="transmit-mini-img" src="./img/mini-code.png" />
<img class="transmit-mini-img" :src="item['share']['qrcode']" />
<div class="flexcenter">
<img class="give-sweep" src="./img/give-sweep.png" />
扫码转发该问答
@ -342,7 +345,7 @@
<div class="copyright flexcenter" v-if="answerList.length > 0">· 著作权归作者所有 ·</div>
<!-- 你的答案 -->
<div class="your-answer-box">
<div class="your-answer-box" v-if="!isNeedLogin">
<div class="your-answer-header flexacenter">您的答案</div>
<div class="your-answer-textarea" :class="{placeholder: yourAnswerPlaceholderState}" contenteditable="true" @paste="handlePaste($event, 'you')" v-html="yourAnswer['text']" @input="handleInputYou"></div>
@ -355,6 +358,17 @@
<div class="your-answer-submit flexcenter" @click="handleYourAnswer">提交回答</div>
</div>
</div>
<!-- 回答-没有数据 -->
<div class="answer-empty-box flexcenter" v-if="isNeedLogin && answerList.length == 0">
<div class="empty-box flexcenter">
<div class="dot-list flexacenter">
<img class="dot-item" src="./img/dot-yellow.svg" v-for="item in 3" :key="item" />
<img class="dot-item" src="./img/dot-gray.svg" v-for="item in 3" :key="item" />
</div>
<img class="empty-icon" src="./img/empty-icon.svg" />
</div>
<div class="empty-hint">我在等待你的回答</div>
</div>
<div class="mobile-phone-check flexcenter">
<img class="QRCode-icon" src="./img/QRCode-icon.svg" alt="" />
@ -382,15 +396,15 @@
<div class="quantity">{{ myCollectionCount || myCount["collect"] || 0 }}</div>
</div>
<div class="long-string"></div>
<div class="tab-item flexacenter" :class="{pitch: myType == 'answers'}" @click="handleMy('answers')">
我的回答
<div class="quantity">{{ myAnswerCount || myCount["answer"] || 0 }}</div>
</div>
<div class="long-string"></div>
<div class="tab-item flexacenter" :class="{pitch: myType == 'questions'}" @click="handleMy('questions')">
我的提问
<div class="quantity">{{ myQuestionsCount || myCount["questions"] || 0 }}</div>
</div>
<div class="long-string"></div>
<div class="tab-item flexacenter" :class="{pitch: myType == 'answers'}" @click="handleMy('answers')">
我的回答
<div class="quantity">{{ myAnswerCount || myCount["answer"] || 0 }}</div>
</div>
</div>
<div class="empty-box flexcenter" v-if="(myType == 'collect' && myCollectionList.length == 0) || (myType == 'answers' && myAnswerList.length == 0) || (myType == 'questions' && myQuestionsList.length == 0)">
<div class="dot-list flexacenter">
@ -405,11 +419,11 @@
<div class="empty-hint">暂无内容</div>
</div>
<div class="content-box collect-list" v-if="myType == 'collect' && myCollectionList.length != 0" @scroll="handleCollectionScroll">
<div class="item flexflex" v-for="(item, index) in myCollectionList" :key="item" @click.stop="myOpenDetails(item)">
<div class="item flexflex" v-for="(item, index) in myCollectionList" :key="item" @click.stop="myOpenDetails(item.data['uniqid'])">
<template v-if="item.type == 'askanswercollection'">
<div class="icon a flexcenter">A</div>
<div class="centre flexflex flex1">
<div class="title ellipsis" v-html="item['data']['content']"></div>
<div class="titletitle ellipsis" v-html="item['data']['content']"></div>
<div class="text ellipsis">提问{{ item["data"]["title"] }}</div>
</div>
<div class="delete-box flexacenter">
@ -419,7 +433,7 @@
<template v-else>
<div class="icon q flexcenter">Q</div>
<div class="centre flexflex flex1">
<div class="title ellipsis">{{ item["data"]["title"] }}</div>
<div class="titletitle ellipsis">{{ item["data"]["title"] }}</div>
<div class="text ellipsis">{{ item["data"]["answers"] > 0 ? "共" + item["data"]["answers"] + "个回答" : "暂无回答" }}</div>
</div>
<div class="delete-box flexacenter">
@ -429,14 +443,14 @@
</div>
</div>
<div class="content-box answers-list" v-if="myType == 'answers' && myAnswerList.length != 0" @scroll="handleAnswersScroll">
<div class="item flexflex" v-for="(item, index) in myAnswerList" :key="item" @click.stop="myOpenDetails(item)">
<div class="item flexflex" v-for="(item, index) in myAnswerList" :key="item" @click.stop="myOpenDetails(item['uniqid'])">
<div class="icon a flexcenter">A</div>
<div class="centre flexflex flex1">
<div class="info flexacenter">
<div class="name">{{ item["nickname"] }}</div>
<div class="time">{{ handleDate(item["publicationdate"]) }}</div>
</div>
<div class="title ellipsis" v-html="item['content']"></div>
<div class="titletitle ellipsis" v-html="item['content']"></div>
<div class="text ellipsis">提问{{ item["title"] }}</div>
</div>
<div class="operate-box flexacenter">
@ -460,14 +474,14 @@
</div>
</div>
<div class="content-box questions-list" v-if="myType == 'questions' && myQuestionsList.length != 0" @scroll="handleQuestionsScroll">
<div class="item flexflex" v-for="(item, index) in myQuestionsList" :key="item" @click.stop="myOpenDetails(item)">
<div class="item flexflex" v-for="(item, index) in myQuestionsList" :key="item" @click.stop="myOpenDetails(item['uniqid'])">
<div class="icon q flexcenter">Q</div>
<div class="centre flexflex flex1">
<div class="info flexacenter">
<div class="name">{{ item["nickname"] }}</div>
<div class="time">{{ handleDate(item["publicationdate"]) }}</div>
</div>
<div class="title ellipsis">{{ item["title"] }}</div>
<div class="titletitle ellipsis">{{ item["title"] }}</div>
<div class="text flexacenter">
<div class="new-answer flexacenter" v-if="item['authornewnum'] > 0">
{{ item["authornewnum"] }}个新回答
@ -501,7 +515,7 @@
<div class="popover-mask flexcenter issue-box" v-if="questionsSetp" @click="cutQuestionsSetp(0)">
<!-- 第一步 -->
<div class="choosing-theme" v-if="questionsSetp == 1" @click.stop="">
<div class="title">
<div class="titletitle">
选择提问所属主题
</div>
<div class="theme-list flexflex">
@ -537,7 +551,7 @@
<div class="popover-mask flexcenter" v-if="IAnswerEditState">
<div class="edit-answers">
<img class="close-icon" src="./img/cross-icon.png" @click="closeIAnswer" />
<div class="title">编辑回答</div>
<div class="titletitle">编辑回答</div>
<div class="question-textarea" :class="{placeholder: questionPlaceholderState}" contenteditable="true" @paste="handlePaste($event)" v-html="IAnswerInfo['text']" @input="handleInput"></div>
<div class="issue-bottom flexacenter">
<div class="option-box flexacenter" @click="amendIAnswer">
@ -557,7 +571,7 @@
<div class="question-header">
<div class="question-title flexflex">
<div class="question-icon flexcenter">Q</div>
<div class="flex1">{{ IAnswerInfo["title"] }}</div>
<div class="flex1" v-html="IAnswerInfo['title']"></div>
</div>
<div class="question-replenish" v-if="IAnswerInfo['content']" v-html="IAnswerInfo['content']"></div>
</div>
@ -635,14 +649,16 @@ export default {
emulateJSON: true,
withCredentials: true,
headers: {
// authorization: "017189d7d01fa8ccf649f36e82807937", //
// authorization: "ea8fe1b3a61dea36832b9129cdfa8251", //
authorization: process.env.NODE_ENV !== "production" && "0h870ovk2xckoqfsh8a3t3sg4sg5z7eg", // ada
// authorization: "2e25ccc21d5f86b670e7476f3b58ea5d", //
},
})
.then(function (res) {
var data = null
try {
data = typeof res.data == "string" ? JSON.parse(res.data) : res.data
if (data["code"] == 401) islogin = false
if (data["code"] == 401) isNeedLogin.value = true
if (data["code"] != 200) handleMsg("error", data["message"] || "报错了,请重试!!!")
// if (data["code"] == 401) window.location.href = "https://passport.gter.net"
@ -651,14 +667,14 @@ export default {
})
.catch(err => {
// if (err.response.status == 401) window.location.href = "https://passport.gter.net"
if (err.response.status == 401) islogin = false
if (err.response.status == 401) isNeedLogin.value = true
resolve(err)
})
})
}
let islogin = true // 401
let isNeedLogin = ref(true) //
//
const goLogin = () => ajax_login()
@ -671,7 +687,9 @@ export default {
onMounted(() => {
// getUrlParams()
// getUserData()
determineIsLogin()
if (process.env.NODE_ENV !== "production") isNeedLogin.value = false
else determineIsLogin()
getListClass()
window.addEventListener("scroll", handleScroll)
getHistoricalSearchList()
@ -686,14 +704,11 @@ export default {
let timer = setInterval(() => {
if (Object.keys(window["userInfoWin"]).length !== 0) {
clearInterval(timer)
if (!window["userInfoWin"]["uid"]) islogin = false
if (window["userInfoWin"]["uid"]) isNeedLogin.value = false
}
count++
if (count >= 3) {
clearInterval(timer)
islogin = false
}
}, 1000)
if (count >= 20) clearInterval(timer)
}, 100)
}
let originUrl = ref("")
@ -712,9 +727,8 @@ export default {
let myCount = ref({}) //
//
const getUserData = () => {
const getUserData = key => {
$ajax("/api/user").then(res => {
if (res.code == 401) islogin = false
if (res.code != 200) return
let data = res.data
myCount.value = data.count
@ -798,7 +812,6 @@ export default {
const clientHeight = document.documentElement.clientHeight
//
// console.log("type.value == 'list'", type.value == 'list', scrollTop + clientHeight, scrollHeight);
// if (scrollTop + clientHeight >= scrollHeight - 40 && type.value == 'list') getList()
//
@ -898,6 +911,7 @@ export default {
.then(res => {
if (res.code != 200) {
type.value = "list"
pitchIndex.value = null
return
}
let data = res.data
@ -995,7 +1009,7 @@ export default {
// -
const operateLike = (token, index) => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin()
return
}
@ -1015,7 +1029,7 @@ export default {
// -
const operateCollect = (token = detailsToken, index) => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin()
return
}
@ -1049,7 +1063,7 @@ export default {
let IAnswerInfo = ref({}) // -
// type: my
const openIAnswer = (index, type) => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin()
return
}
@ -1102,7 +1116,7 @@ export default {
//
const submitAnswer = type => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin()
return
}
@ -1140,7 +1154,6 @@ export default {
//
const openCommentState = index => {
if (answerList.value[index]["commentState"]) answerList.value[index]["commentState"] = false
else answerList.value[index]["commentState"] = true
@ -1190,7 +1203,7 @@ export default {
// -
const submitAnswerComments = (index, ind, i) => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin()
return
}
@ -1269,7 +1282,7 @@ export default {
// -
const operateAnswerCommentsLike = (token, index, ind, i) => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin()
return
}
@ -1297,7 +1310,7 @@ export default {
// -
const openAnswerCommentsChild = (index, ind, i) => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin()
return
}
@ -1354,7 +1367,7 @@ export default {
let myType = ref("") // collect answers questions
//
const handleMy = key => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin()
return
}
@ -1575,7 +1588,7 @@ export default {
//
const questionsInit = () => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin()
return
}
@ -1603,7 +1616,7 @@ export default {
//
const postingIssue = () => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin()
return
}
@ -1909,6 +1922,13 @@ export default {
// URL
if (window.location.pathname.indexOf("index.html") == -1) window.history.replaceState({}, "", `${window.location.pathname}index.html?${params}`)
else window.history.replaceState({}, "", `${window.location.pathname}?${params}`)
let location = window.location
let contentUrl = location.hash + location.search
if (window._hmt) window._hmt.push(["_trackPageview", location.pathname + location.search])
// URLPV
if (window._czc) window._czc.push(["_trackPageview", contentUrl])
}
// url key
const deleteState = (keys = []) => {
@ -1922,8 +1942,12 @@ export default {
}
//
const myOpenDetails = value => {
getDetails(value.data["uniqid"])
const myOpenDetails = uniqid => {
if (!uniqid) {
handleMsg("error", "没有找到相关提问")
return
}
getDetails(uniqid)
myType.value = ""
}
@ -1972,7 +1996,7 @@ export default {
//
const handleMenuState = (index, ind, i) => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin()
return
}
@ -2057,8 +2081,6 @@ export default {
if (res.code != 200) return
let data = res.data
if (process.server) console.log("This is on the server side.")
else if (process.client) console.log("This is on the client side.")
list.value = list.value.concat(data.data || [])
total.value = data.count || 0
@ -2102,7 +2124,7 @@ export default {
//
const handleYourAnswer = () => {
if (!islogin) {
if (isNeedLogin.value) {
goLogin()
return
}
@ -2119,6 +2141,11 @@ export default {
let isDirectlyListIAnswer = false //
//
const openListIAnswer = index => {
if (isNeedLogin.value) {
goLogin()
return
}
let targetData = list.value[index]
IAnswerInfo.value = {
title: targetData["title"],
@ -2134,6 +2161,7 @@ export default {
}
return {
isNeedLogin,
handleInputYou,
openListIAnswer,
isListEmptyState,

View File

@ -89,6 +89,21 @@ a {
overflow-x: hidden;
word-break: break-all;
}
#answer-app .answer-empty-box {
height: 321px;
flex-direction: column;
justify-content: center;
background-color: #fff;
width: 626px;
height: 300px;
background-color: #ffffff;
border: 1px solid #ebebeb;
border-radius: 10px;
-moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.11764706);
-webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.11764706);
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.11764706);
margin-bottom: 21px;
}
#answer-app header {
background: #f6f6f6;
height: 150px;
@ -533,7 +548,7 @@ a {
top: -4px;
left: -4px;
}
#answer-app .main .details-area-box .details-box .details-issue .title {
#answer-app .main .details-area-box .details-box .details-issue .titletitle {
font-weight: 650;
font-size: 18px;
line-height: 22px;
@ -1239,6 +1254,7 @@ a {
#answer-app .my-popover .popover-box .content-box .item {
padding: 20px 0;
border-bottom: 1px dotted #ebebeb;
cursor: pointer;
}
#answer-app .my-popover .popover-box .content-box .item .centre {
flex-direction: column;
@ -1252,10 +1268,9 @@ a {
color: #aaa;
margin-left: 8px;
}
#answer-app .my-popover .popover-box .content-box .item .centre .title {
#answer-app .my-popover .popover-box .content-box .item .centre .titletitle {
color: #333333;
font-size: 14px;
line-height: 22px;
margin-bottom: 10px;
width: 532px;
}
@ -1367,14 +1382,14 @@ a {
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.11764706);
padding: 30px 36px 45px;
}
#answer-app .issue-box .choosing-theme .title {
#answer-app .issue-box .choosing-theme .titletitle {
font-size: 14px;
font-weight: 650;
color: #000000;
position: relative;
margin-bottom: 30px;
}
#answer-app .issue-box .choosing-theme .title::before {
#answer-app .issue-box .choosing-theme .titletitle::before {
content: "";
width: 5px;
height: 12px;
@ -1497,7 +1512,7 @@ a {
right: 12px;
cursor: pointer;
}
#answer-app .edit-answers .title {
#answer-app .edit-answers .titletitle {
height: 64px;
border-bottom: 1px solid #ebebeb;
font-size: 14px;

View File

@ -112,6 +112,22 @@ a {
overflow-x: hidden;
word-break: break-all;
.answer-empty-box {
height: 321px;
flex-direction: column;
justify-content: center;
background-color: #fff;
width: 626px;
height: 300px;
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(235, 235, 235, 1);
border-radius: 10px;
-moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.117647058823529);
-webkit-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.117647058823529);
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.117647058823529);
margin-bottom: 21px;
}
header {
background: rgba(246, 246, 246, 1);
height: 150px;
@ -662,15 +678,6 @@ a {
position: relative;
word-break: break-all;
// .icon-boxb {
// border: 4px solid #fbfbfb;
// position: absolute;
// top: -5px;
// left: -5px;
// width: 28px;
// height: 28px;
.icon {
background-color: #72db86;
font-family: 'PingFangSC-Semibold', 'PingFang SC Semibold', 'PingFang SC', sans-serif;
@ -678,21 +685,17 @@ a {
font-size: 13px;
width: 28px;
height: 28px;
// width: 20px;
// height: 20px;
line-height: 20px;
border-radius: 50%;
color: #fff;
border: 4px solid #fbfbfb;
position: absolute;
// margin-right: 17px;
top: -4px;
left: -4px;
}
// }
.title {
.titletitle {
font-weight: 650;
font-size: 18px;
line-height: 22px;
@ -1577,6 +1580,7 @@ a {
.item {
padding: 20px 0;
border-bottom: 1px dotted #ebebeb;
cursor: pointer;
.centre {
.info {
@ -1590,10 +1594,10 @@ a {
}
}
.title {
.titletitle {
color: #333333;
font-size: 14px;
line-height: 22px;
// line-height: 22px;
margin-bottom: 10px;
width: 532px;
}
@ -1754,7 +1758,7 @@ a {
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.117647058823529);
padding: 30px 36px 45px;
.title {
.titletitle {
font-size: 14px;
font-weight: 650;
color: #000000;
@ -1920,7 +1924,7 @@ a {
cursor: pointer;
}
.title {
.titletitle {
height: 64px;
border-bottom: 1px solid #ebebeb;
font-size: 14px;

View File

@ -40,8 +40,7 @@ export default defineNuxtConfig({
defaultstyle = "";
REPORTURL = "aHR0cDovL2Jicy5ndGVyLm5ldC9mb3J1bS5waHA/dGlkPTI0MDYzNTYmZ290bz1sYXN0cG9zdA==";
SITEURL = "https://ask.gter.net/";
JSPATH = "static/js/";
`,
JSPATH = "static/js/";`,
type: "text/javascript",
charset: "utf-8",
},