entry-server.js 92 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790
  1. import { defineComponent, ref, resolveComponent, mergeProps, unref, withCtx, createVNode, toDisplayString, createTextVNode, openBlock, createBlock, Fragment, renderList, useSSRContext, getCurrentInstance, createSSRApp } from "vue";
  2. import { ssrRenderAttrs, ssrRenderAttr, ssrRenderList, ssrRenderClass, ssrInterpolate, ssrRenderStyle, ssrRenderComponent, renderToString } from "vue/server-renderer";
  3. import { useStore, createStore } from "vuex";
  4. import { useRoute, createRouter, createMemoryHistory } from "vue-router";
  5. import ElementPlus, { ElMessage } from "element-plus";
  6. import axios from "axios";
  7. import lazyPlugin from "vue3-lazy";
  8. const _imports_0$2 = "/assets/logo-white-Cthg1NVg.png";
  9. const _sfc_main$4 = /* @__PURE__ */ defineComponent({
  10. __name: "header",
  11. __ssrInlineRender: true,
  12. setup(__props) {
  13. const store2 = useStore();
  14. const route = useRoute();
  15. const currentPagePath = ref(route.path);
  16. const mobilelistboolean = ref(false);
  17. if (route.path.indexOf("_")) {
  18. currentPagePath.value = route.path.split("_")[0];
  19. }
  20. const pathTemplateQuery = ref();
  21. if (route.query && route.query.dup) {
  22. pathTemplateQuery.value = route.query.dup;
  23. }
  24. function handleOpen() {
  25. }
  26. function handleClose() {
  27. }
  28. if (typeof window !== "undefined" && typeof window.globalThis.addEventListener === "function") {
  29. globalThis.addEventListener("scroll", function() {
  30. var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
  31. var element = document.getElementById("scroll-up");
  32. var stickyHeader = document.getElementsByClassName("sticky-header")[0];
  33. if (scrollTop > 770) {
  34. element.style.opacity = 1;
  35. } else {
  36. element.style.opacity = 0;
  37. }
  38. if (scrollTop > 110) {
  39. stickyHeader.classList.add("sticky");
  40. } else {
  41. stickyHeader.classList.remove("sticky");
  42. }
  43. });
  44. }
  45. return (_ctx, _push, _parent, _attrs) => {
  46. const _component_el_row = resolveComponent("el-row");
  47. const _component_el_col = resolveComponent("el-col");
  48. const _component_el_menu = resolveComponent("el-menu");
  49. const _component_el_sub_menu = resolveComponent("el-sub-menu");
  50. const _component_location = resolveComponent("location");
  51. const _component_el_menu_item_group = resolveComponent("el-menu-item-group");
  52. const _component_el_menu_item = resolveComponent("el-menu-item");
  53. const _component_icon_menu = resolveComponent("icon-menu");
  54. _push(`<header${ssrRenderAttrs(mergeProps({ class: "header-absolute sticky-header" }, _attrs))}><div class="custom-container-one"><div class="mainmenu-area d-flex align-items-center justify-content-center"><div class="logo"><a href="/index"><img${ssrRenderAttr("src", _imports_0$2)} alt="uskylogo"></a></div><div class="d-flex align-items-center"><nav class="main-menu"><div class="menu-items">`);
  55. if (unref(store2).state.menuList.length > 0) {
  56. _push(`<ul><!--[-->`);
  57. ssrRenderList(unref(store2).state.menuList, (item) => {
  58. _push(`<li class="${ssrRenderClass(item.sname ? `${currentPagePath.value}?dup=${item.sname}` == `${item.path}?dup=${item.sname}` && pathTemplateQuery.value ? "active" : " " : currentPagePath.value == item.path && !pathTemplateQuery.value ? "active" : " ")}"><a${ssrRenderAttr(
  59. "href",
  60. item.sname ? `${item.path}?dup=${item.sname}` : item.path
  61. )}>${ssrInterpolate(item.categoryName)}</a><ul class="submenu">`);
  62. if (item.children) {
  63. _push(`<!--[-->`);
  64. ssrRenderList(item.children, (children) => {
  65. _push(`<li><a${ssrRenderAttr("href", item.sname ? `${item.path}?dup=${item.sname}&categoryid=${children.id}&isUrlId=1` : `${item.path}?categoryid=${children.id}&isUrlId=1`)}><span style="${ssrRenderStyle({ "font-weight": "bold", "margin-right": "10px" })}">·</span> ${ssrInterpolate(children.categoryName)}</a></li>`);
  66. });
  67. _push(`<!--]-->`);
  68. } else {
  69. _push(`<!---->`);
  70. }
  71. _push(`</ul></li>`);
  72. });
  73. _push(`<!--]--></ul>`);
  74. } else {
  75. _push(`<!---->`);
  76. }
  77. _push(`</div></nav>`);
  78. if (unref(store2).state.menuList.length > 0) {
  79. _push(`<div class="apply-expre">申请体验</div>`);
  80. } else {
  81. _push(`<!---->`);
  82. }
  83. _push(`</div></div><div class="mobile-menu mean-container mobileIcon"><div class="mean-bar"><a href="#nav" class="meanmenu-reveal" style="${ssrRenderStyle({ "right": "0px", "left": "auto", "text-align": "center", "text-indent": "0px", "font-size": "18px" })}"><span></span><span></span><span></span></a></div></div>`);
  84. if (mobilelistboolean.value) {
  85. _push(ssrRenderComponent(_component_el_row, {
  86. class: ["tac mobileMenuBox", [mobilelistboolean.value ? "active" : ""]]
  87. }, {
  88. default: withCtx((_, _push2, _parent2, _scopeId) => {
  89. if (_push2) {
  90. _push2(ssrRenderComponent(_component_el_col, { span: 24 }, {
  91. default: withCtx((_2, _push3, _parent3, _scopeId2) => {
  92. if (_push3) {
  93. _push3(ssrRenderComponent(_component_el_menu, {
  94. "active-text-color": "#ffd04b",
  95. "background-color": "#0c1923",
  96. class: "el-menu-vertical-demo",
  97. "default-active": "2",
  98. "text-color": "#fff",
  99. onOpen: handleOpen,
  100. onClose: handleClose
  101. }, {
  102. default: withCtx((_3, _push4, _parent4, _scopeId3) => {
  103. if (_push4) {
  104. _push4(`<!--[-->`);
  105. ssrRenderList(unref(store2).state.menuList, (item) => {
  106. _push4(`<!--[-->`);
  107. if (item.children.length > 0) {
  108. _push4(ssrRenderComponent(_component_el_sub_menu, {
  109. index: item.id
  110. }, {
  111. title: withCtx((_4, _push5, _parent5, _scopeId4) => {
  112. if (_push5) {
  113. _push5(ssrRenderComponent(_component_location, null, null, _parent5, _scopeId4));
  114. _push5(`<span${_scopeId4}><a${ssrRenderAttr("href", item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1`)}${_scopeId4}>${ssrInterpolate(item.categoryName)}</a></span>`);
  115. } else {
  116. return [
  117. createVNode(_component_location),
  118. createVNode("span", null, [
  119. createVNode("a", {
  120. href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1`
  121. }, toDisplayString(item.categoryName), 9, ["href"])
  122. ])
  123. ];
  124. }
  125. }),
  126. default: withCtx((_4, _push5, _parent5, _scopeId4) => {
  127. if (_push5) {
  128. _push5(`<!--[-->`);
  129. ssrRenderList(item.children, (aa) => {
  130. _push5(ssrRenderComponent(_component_el_menu_item_group, {
  131. title: "",
  132. key: aa.id
  133. }, {
  134. default: withCtx((_5, _push6, _parent6, _scopeId5) => {
  135. if (_push6) {
  136. _push6(ssrRenderComponent(_component_el_menu_item, {
  137. index: item.id + "-" + aa.id
  138. }, {
  139. default: withCtx((_6, _push7, _parent7, _scopeId6) => {
  140. if (_push7) {
  141. _push7(`<a${ssrRenderAttr("href", item.sname ? `${item.path}?dup=${item.sname}&categoryid=${aa.id}&isUrlId=1` : `${item.path}?categoryid=${aa.id}&isUrlId=1`)}${_scopeId6}><span style="${ssrRenderStyle({ "font-weight": "bold", "margin-right": "10px" })}"${_scopeId6}>·</span>${ssrInterpolate(aa.categoryName)}</a>`);
  142. } else {
  143. return [
  144. createVNode("a", {
  145. href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${aa.id}&isUrlId=1` : `${item.path}?categoryid=${aa.id}&isUrlId=1`
  146. }, [
  147. createVNode("span", { style: { "font-weight": "bold", "margin-right": "10px" } }, "·"),
  148. createTextVNode(toDisplayString(aa.categoryName), 1)
  149. ], 8, ["href"])
  150. ];
  151. }
  152. }),
  153. _: 2
  154. }, _parent6, _scopeId5));
  155. } else {
  156. return [
  157. createVNode(_component_el_menu_item, {
  158. index: item.id + "-" + aa.id
  159. }, {
  160. default: withCtx(() => [
  161. createVNode("a", {
  162. href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${aa.id}&isUrlId=1` : `${item.path}?categoryid=${aa.id}&isUrlId=1`
  163. }, [
  164. createVNode("span", { style: { "font-weight": "bold", "margin-right": "10px" } }, "·"),
  165. createTextVNode(toDisplayString(aa.categoryName), 1)
  166. ], 8, ["href"])
  167. ]),
  168. _: 2
  169. }, 1032, ["index"])
  170. ];
  171. }
  172. }),
  173. _: 2
  174. }, _parent5, _scopeId4));
  175. });
  176. _push5(`<!--]-->`);
  177. } else {
  178. return [
  179. (openBlock(true), createBlock(Fragment, null, renderList(item.children, (aa) => {
  180. return openBlock(), createBlock(_component_el_menu_item_group, {
  181. title: "",
  182. key: aa.id
  183. }, {
  184. default: withCtx(() => [
  185. createVNode(_component_el_menu_item, {
  186. index: item.id + "-" + aa.id
  187. }, {
  188. default: withCtx(() => [
  189. createVNode("a", {
  190. href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${aa.id}&isUrlId=1` : `${item.path}?categoryid=${aa.id}&isUrlId=1`
  191. }, [
  192. createVNode("span", { style: { "font-weight": "bold", "margin-right": "10px" } }, "·"),
  193. createTextVNode(toDisplayString(aa.categoryName), 1)
  194. ], 8, ["href"])
  195. ]),
  196. _: 2
  197. }, 1032, ["index"])
  198. ]),
  199. _: 2
  200. }, 1024);
  201. }), 128))
  202. ];
  203. }
  204. }),
  205. _: 2
  206. }, _parent4, _scopeId3));
  207. } else {
  208. _push4(ssrRenderComponent(_component_el_menu_item, {
  209. index: item.index
  210. }, {
  211. default: withCtx((_4, _push5, _parent5, _scopeId4) => {
  212. if (_push5) {
  213. _push5(ssrRenderComponent(_component_icon_menu, null, null, _parent5, _scopeId4));
  214. _push5(`<span${_scopeId4}><a style="${ssrRenderStyle({ "color": "#fff" })}"${ssrRenderAttr("href", item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1`)}${_scopeId4}>${ssrInterpolate(item.categoryName)}</a></span>`);
  215. } else {
  216. return [
  217. createVNode(_component_icon_menu),
  218. createVNode("span", null, [
  219. createVNode("a", {
  220. style: { "color": "#fff" },
  221. href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1`
  222. }, toDisplayString(item.categoryName), 9, ["href"])
  223. ])
  224. ];
  225. }
  226. }),
  227. _: 2
  228. }, _parent4, _scopeId3));
  229. }
  230. _push4(`<!--]-->`);
  231. });
  232. _push4(`<!--]-->`);
  233. } else {
  234. return [
  235. (openBlock(true), createBlock(Fragment, null, renderList(unref(store2).state.menuList, (item) => {
  236. return openBlock(), createBlock(Fragment, {
  237. key: item.id
  238. }, [
  239. item.children.length > 0 ? (openBlock(), createBlock(_component_el_sub_menu, {
  240. key: 0,
  241. index: item.id
  242. }, {
  243. title: withCtx(() => [
  244. createVNode(_component_location),
  245. createVNode("span", null, [
  246. createVNode("a", {
  247. href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1`
  248. }, toDisplayString(item.categoryName), 9, ["href"])
  249. ])
  250. ]),
  251. default: withCtx(() => [
  252. (openBlock(true), createBlock(Fragment, null, renderList(item.children, (aa) => {
  253. return openBlock(), createBlock(_component_el_menu_item_group, {
  254. title: "",
  255. key: aa.id
  256. }, {
  257. default: withCtx(() => [
  258. createVNode(_component_el_menu_item, {
  259. index: item.id + "-" + aa.id
  260. }, {
  261. default: withCtx(() => [
  262. createVNode("a", {
  263. href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${aa.id}&isUrlId=1` : `${item.path}?categoryid=${aa.id}&isUrlId=1`
  264. }, [
  265. createVNode("span", { style: { "font-weight": "bold", "margin-right": "10px" } }, "·"),
  266. createTextVNode(toDisplayString(aa.categoryName), 1)
  267. ], 8, ["href"])
  268. ]),
  269. _: 2
  270. }, 1032, ["index"])
  271. ]),
  272. _: 2
  273. }, 1024);
  274. }), 128))
  275. ]),
  276. _: 2
  277. }, 1032, ["index"])) : (openBlock(), createBlock(_component_el_menu_item, {
  278. key: 1,
  279. index: item.index
  280. }, {
  281. default: withCtx(() => [
  282. createVNode(_component_icon_menu),
  283. createVNode("span", null, [
  284. createVNode("a", {
  285. style: { "color": "#fff" },
  286. href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1`
  287. }, toDisplayString(item.categoryName), 9, ["href"])
  288. ])
  289. ]),
  290. _: 2
  291. }, 1032, ["index"]))
  292. ], 64);
  293. }), 128))
  294. ];
  295. }
  296. }),
  297. _: 1
  298. }, _parent3, _scopeId2));
  299. } else {
  300. return [
  301. createVNode(_component_el_menu, {
  302. "active-text-color": "#ffd04b",
  303. "background-color": "#0c1923",
  304. class: "el-menu-vertical-demo",
  305. "default-active": "2",
  306. "text-color": "#fff",
  307. onOpen: handleOpen,
  308. onClose: handleClose
  309. }, {
  310. default: withCtx(() => [
  311. (openBlock(true), createBlock(Fragment, null, renderList(unref(store2).state.menuList, (item) => {
  312. return openBlock(), createBlock(Fragment, {
  313. key: item.id
  314. }, [
  315. item.children.length > 0 ? (openBlock(), createBlock(_component_el_sub_menu, {
  316. key: 0,
  317. index: item.id
  318. }, {
  319. title: withCtx(() => [
  320. createVNode(_component_location),
  321. createVNode("span", null, [
  322. createVNode("a", {
  323. href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1`
  324. }, toDisplayString(item.categoryName), 9, ["href"])
  325. ])
  326. ]),
  327. default: withCtx(() => [
  328. (openBlock(true), createBlock(Fragment, null, renderList(item.children, (aa) => {
  329. return openBlock(), createBlock(_component_el_menu_item_group, {
  330. title: "",
  331. key: aa.id
  332. }, {
  333. default: withCtx(() => [
  334. createVNode(_component_el_menu_item, {
  335. index: item.id + "-" + aa.id
  336. }, {
  337. default: withCtx(() => [
  338. createVNode("a", {
  339. href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${aa.id}&isUrlId=1` : `${item.path}?categoryid=${aa.id}&isUrlId=1`
  340. }, [
  341. createVNode("span", { style: { "font-weight": "bold", "margin-right": "10px" } }, "·"),
  342. createTextVNode(toDisplayString(aa.categoryName), 1)
  343. ], 8, ["href"])
  344. ]),
  345. _: 2
  346. }, 1032, ["index"])
  347. ]),
  348. _: 2
  349. }, 1024);
  350. }), 128))
  351. ]),
  352. _: 2
  353. }, 1032, ["index"])) : (openBlock(), createBlock(_component_el_menu_item, {
  354. key: 1,
  355. index: item.index
  356. }, {
  357. default: withCtx(() => [
  358. createVNode(_component_icon_menu),
  359. createVNode("span", null, [
  360. createVNode("a", {
  361. style: { "color": "#fff" },
  362. href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1`
  363. }, toDisplayString(item.categoryName), 9, ["href"])
  364. ])
  365. ]),
  366. _: 2
  367. }, 1032, ["index"]))
  368. ], 64);
  369. }), 128))
  370. ]),
  371. _: 1
  372. })
  373. ];
  374. }
  375. }),
  376. _: 1
  377. }, _parent2, _scopeId));
  378. } else {
  379. return [
  380. createVNode(_component_el_col, { span: 24 }, {
  381. default: withCtx(() => [
  382. createVNode(_component_el_menu, {
  383. "active-text-color": "#ffd04b",
  384. "background-color": "#0c1923",
  385. class: "el-menu-vertical-demo",
  386. "default-active": "2",
  387. "text-color": "#fff",
  388. onOpen: handleOpen,
  389. onClose: handleClose
  390. }, {
  391. default: withCtx(() => [
  392. (openBlock(true), createBlock(Fragment, null, renderList(unref(store2).state.menuList, (item) => {
  393. return openBlock(), createBlock(Fragment, {
  394. key: item.id
  395. }, [
  396. item.children.length > 0 ? (openBlock(), createBlock(_component_el_sub_menu, {
  397. key: 0,
  398. index: item.id
  399. }, {
  400. title: withCtx(() => [
  401. createVNode(_component_location),
  402. createVNode("span", null, [
  403. createVNode("a", {
  404. href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1`
  405. }, toDisplayString(item.categoryName), 9, ["href"])
  406. ])
  407. ]),
  408. default: withCtx(() => [
  409. (openBlock(true), createBlock(Fragment, null, renderList(item.children, (aa) => {
  410. return openBlock(), createBlock(_component_el_menu_item_group, {
  411. title: "",
  412. key: aa.id
  413. }, {
  414. default: withCtx(() => [
  415. createVNode(_component_el_menu_item, {
  416. index: item.id + "-" + aa.id
  417. }, {
  418. default: withCtx(() => [
  419. createVNode("a", {
  420. href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${aa.id}&isUrlId=1` : `${item.path}?categoryid=${aa.id}&isUrlId=1`
  421. }, [
  422. createVNode("span", { style: { "font-weight": "bold", "margin-right": "10px" } }, "·"),
  423. createTextVNode(toDisplayString(aa.categoryName), 1)
  424. ], 8, ["href"])
  425. ]),
  426. _: 2
  427. }, 1032, ["index"])
  428. ]),
  429. _: 2
  430. }, 1024);
  431. }), 128))
  432. ]),
  433. _: 2
  434. }, 1032, ["index"])) : (openBlock(), createBlock(_component_el_menu_item, {
  435. key: 1,
  436. index: item.index
  437. }, {
  438. default: withCtx(() => [
  439. createVNode(_component_icon_menu),
  440. createVNode("span", null, [
  441. createVNode("a", {
  442. style: { "color": "#fff" },
  443. href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1`
  444. }, toDisplayString(item.categoryName), 9, ["href"])
  445. ])
  446. ]),
  447. _: 2
  448. }, 1032, ["index"]))
  449. ], 64);
  450. }), 128))
  451. ]),
  452. _: 1
  453. })
  454. ]),
  455. _: 1
  456. })
  457. ];
  458. }
  459. }),
  460. _: 1
  461. }, _parent));
  462. } else {
  463. _push(`<!---->`);
  464. }
  465. _push(`</div></header>`);
  466. };
  467. }
  468. });
  469. const _sfc_setup$4 = _sfc_main$4.setup;
  470. _sfc_main$4.setup = (props, ctx) => {
  471. const ssrContext = useSSRContext();
  472. (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/components/layout/header.vue");
  473. return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0;
  474. };
  475. const _imports_0$1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAA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97c9sefObd64smXl55aaw93C00QxRIhIJaga+AFEk0TWIZGFEs0ITB1QRBJIqmwDZ0wkjiWxvHbCjNfOTn13cdOjl8D+PcAASxOot7wFxsAAAAASUVORK5CYII=";
  476. const _sfc_main$3 = /* @__PURE__ */ defineComponent({
  477. __name: "footer",
  478. __ssrInlineRender: true,
  479. setup(__props) {
  480. const store2 = useStore();
  481. const status = ref(false);
  482. setTimeout(() => {
  483. status.value = true;
  484. }, 200);
  485. return (_ctx, _push, _parent, _attrs) => {
  486. if (status.value) {
  487. _push(`<footer${ssrRenderAttrs(_attrs)} data-v-14b49d7e><div class="footer-widget-area" style="${ssrRenderStyle({ "position": "relative", "clear": "both" })}" data-v-14b49d7e><div class="container" data-v-14b49d7e><div class="row footerOne" data-v-14b49d7e><div class="col-lg-2 col-md-6 col-sm-6 footerWidth" data-v-14b49d7e><div class="copyrigt-or-code d-flex flex-column align-items-center" data-v-14b49d7e><img width="130 " height="130 " src="https://aiot.usky.cn/uskyq/assets/img/qr_code.png" data-v-14b49d7e><span style="${ssrRenderStyle({ "text-align": "left", "color": "#fff", "margin-top": "10px" })}" data-v-14b49d7e>微信公众号</span></div></div><!--[-->`);
  488. ssrRenderList(unref(store2).state.menuList, (item) => {
  489. _push(`<div class="footerNone" style="${ssrRenderStyle({ "width": 0.8 / unref(store2).state.menuList.length * 100 + "%" })}" data-v-14b49d7e><div class="widget nav-widget d-flex justify-content-center" data-v-14b49d7e><div data-v-14b49d7e><h5 class="widget-title" data-v-14b49d7e>`);
  490. if (item.sname) {
  491. _push(`<a${ssrRenderAttr("href", `${item.path}?dup=${item.sname}`)} data-v-14b49d7e>${ssrInterpolate(item.categoryName)}</a>`);
  492. } else {
  493. _push(`<a${ssrRenderAttr("href", item.path)} data-v-14b49d7e>${ssrInterpolate(item.categoryName)}</a>`);
  494. }
  495. _push(`</h5><ul data-v-14b49d7e>`);
  496. if (item.children) {
  497. _push(`<!--[-->`);
  498. ssrRenderList(item.children, (children) => {
  499. _push(`<li style="${ssrRenderStyle({ "text-align": "left" })}" data-v-14b49d7e><a${ssrRenderAttr("href", item.sname ? `${item.path}?dup=${item.sname}&categoryid=${children.id}&isUrlId=1` : `${item.path}?categoryid=${children.id}&isUrlId=1`)} data-v-14b49d7e>${ssrInterpolate(children.categoryName)}</a></li>`);
  500. });
  501. _push(`<!--]-->`);
  502. } else {
  503. _push(`<!---->`);
  504. }
  505. _push(`</ul></div></div></div>`);
  506. });
  507. _push(`<!--]--></div></div></div><div class="copy-right-area" data-v-14b49d7e><div class="container" data-v-14b49d7e><div class="row copyrigt-text" data-v-14b49d7e><div class="col-lg-12" data-v-14b49d7e><p data-v-14b49d7e>Copyright © 2001- 2024 Usky. All Rights Reserved. 永天股份 版权所有</p><p data-v-14b49d7e>增值电信业务经营许可证(IDC、ISP)编号B2-20080010</p><p style="${ssrRenderStyle({ "margin-top": "10px" })}" data-v-14b49d7e><a target="_blank" href="https://wap.scjgj.sh.gov.cn/businessCheck/verifKey.do?showType=extShow&amp;serial=9031000020180517151815000002552816-SAIC_SHOW_310000-C5DE2EFE9AD14E94923F7AC487AA7077105&amp;signData=MEYCIQDqmcH8RWjPwf4id/UFCbng+HLdnF21HDjoUikAjkdiKQIhAOrQRYz74d3T5P03DL6OW10HBRktOYPenEbcmn1gCweV" data-v-14b49d7e><img${ssrRenderAttr("src", _imports_0$1)} alt="1" width="20" data-v-14b49d7e> 沪公网安备 31010802001185号 </a></p></div></div></div></div></footer>`);
  508. } else {
  509. _push(`<!---->`);
  510. }
  511. };
  512. }
  513. });
  514. const _export_sfc = (sfc, props) => {
  515. const target = sfc.__vccOpts || sfc;
  516. for (const [key, val] of props) {
  517. target[key] = val;
  518. }
  519. return target;
  520. };
  521. const _sfc_setup$3 = _sfc_main$3.setup;
  522. _sfc_main$3.setup = (props, ctx) => {
  523. const ssrContext = useSSRContext();
  524. (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/components/layout/footer.vue");
  525. return _sfc_setup$3 ? _sfc_setup$3(props, ctx) : void 0;
  526. };
  527. const footerCommon = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-14b49d7e"]]);
  528. const _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABLlJREFUWEfVmV1MXEUUgL+5y+4ChYJWatTWRE2j1caktFprAiwxRm1NSIVqaiMNSyOR9MXYqLF9ICkvptaqNRgSd1vaxKYBVKT2wTSy2LRUK8b0B4kPYo3GFE1KKZGy7N4xs7DgsnfvXOASdR7vnDnnmzlzzpyZK5hjK2mRD3pibMBgLZL7gGUI8qQkLmAYuIKgH5Nv41mcOLVNnJ+LKTGbQYH9spDF7EZQb/jIMccBqdEgwPCCGWUUSRPDNEZeFkNO7ToCXNMsvflZfODJpjY+5lS1tZzHD/EbhK7HeKm3Tqgp2jYtYPkhWSlNWgGtrM7YzH4hqeqqFe1242yNloVli8dLdcKVC9CU6+U4h7uCYlsm9RkBy0LyjGGwXur22DzBhQDTpKe7VjxqpcoSMBCWZxCs1wbAPOGmhisKSU8kmA6ZBqjcagiqF3rl0vajWknJ4e4Z7k4BLA/JSuGjbaH2nG7BE3symho4U4CJVOIlqlOi+sfjEI1DjhcM12MbBn/B39cgEixT6gMh+SGCWh2g1wNvPwGrboVjF+HAWVDfXG2SUKRWbJ8CXNMsCwrzGNIlYQXS9hws9k/j/HQVgp+Aika3mkrmQyMU9taJawm1gbDcC+y0M6BceqQS7r4pXerSIGzvgOwstxATevZFgmJnEvAvICeTelPCjnWw+YHMAPtOw/EfXQUcjQRFrihtkauzPHxn2oTHSBTO1dkbvzwEW1rB79IqGj6IxSkWgbDchaDRLimPxuDzrbAkNzPk97/DjhPgNVxaxYnkvVsBfgpU2KlVLn69BJ5aYS117jd49QuXwFLVdCjAPmClTv3KImh6Ol3qzVPQ0e+ea2dY+EEBquKxQAc4Og6dW6FoUarkpqMwdEM3eo79kmsKMAY4SrWP3wNvlK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hBDu5dA4McExge5+uEiEOXFxlYAqpc1yEzoGoPF+oYL7fQwM0wr0UoBF6aihNSj/CPW5UskQX+sNpBeD4aIzrauCxoBk//Knuv7QxSQHrsqUv8S9ttIZVgEagSYPcmuR+hQfDJK8I2qEc9Y4ibDg7k41VnQZ5ovI39+msZuishkTc56Dv1U6x49Cccoesj8CpI6CRCt7iszT+MQLlNlU6RLzQ4rA3UVXZK+ZjBMLOuvsYQT7+xkjRrCxOCddm+RyGCTMZCzU5df6davITHPP2qunPYUSUd88Ju4vJNGlxHEwS9T+fRbnipeVLrwAAAABJRU5ErkJggg==";
  530. const _imports_2 = "/assets/qr_codeF1-D9vSfJeP.png";
  531. const _imports_3 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAA8dJREFUWEfVmVtolFcQx3+z7kYpSSkiYiDal9CaekEbA5IUd/WhLUipSK2o9VKTmmrQF6kvDe1K+6KlBStV02RXqBVFivaiYF5qIiYWNV7wkgZ80QSUFqwkUuJustOedTfXzX6X7K76vX7/+c//XGbOnDmCmy+onjdmUOZVFiOUAjOBIqBAoR+lW4T7wJ8obX3CmXN3uUhQYk7diROD8gZ92edhC8paEQqd2KpyD+FQNMa+1iq5Y9fWlsDy/TrVm8dOESoFfHbJU+EUoiKEIr183rpZ/rLishS4KKRrBL4VYbIVmZP/Cg9U2Xa2Ug6nsxtTYGmd+vK9fCfCR04cO8WKUN8doaatWqKpbFMKLK3TFwp8HAfecurQJb6xJ8rytmr5d6T9KIFm5gp8/JZDcUlNRuQ7I2dylEB/SL/P9rKONcuq1DdXyqah/4cJNAHhEX50uUwZMYspHwwNnAGBJpX4JtL+f8RmNFqdqjbRHX1MSTIFDQgMhPUAUJ2O8MyHTt2NjV98MC1XXdNG+dgg4gIr6nSG18dtqyScK4EmmfdFKW6plrtxgf6w7hLYYTU/uRJodKjyVXOl7BCC6vFPp8vO2ZqfZzUE+/8fRdJjzdnd3EmRLApruQda7FOnRxa9CF3dmWGLQYUEwvop8GUmKN+dCdsWwp7z8GtHJhiplUBITyAsGy/de7NgSxmIxPcP+y7AT7fGyar8LP6w3hR4bTxUq+dA1YJESkgQKVB/CY5cd8+sSrtZ4n+Al9zSrJ8HG+aPbX3wCvxw1S07D41AU+Z43VBUlcKaudaWh69Bw2VrXApEvxHYC0x0am7224rZ9q2O3YD9F+3jE8i4wL+BKXZNTWY3kbqsxK7FIO5EO+z9A8z+tPk9dBQkRtz2Clj6ik36FLCTHfBNqz2RT4LEQZpZNQfeLB70OskL0/Ktxd5/BL19g7jG23DUXnT/Ypa4FvjC2s1oxOuF8PXb1pbbT8Ple9a4FIjacR112RYYP+qcFAsjR5hNgQPFgnHqD+luET5xughZFpgotxwUrLmawXjBOoHilvWJgtU4tlPy50ogMLzkN46fqUuTl5LWdU/6Ns/PtTO5fE/14g4NzRtlWC/o+Wt9mJmMN4/yOIay1GnqcYUXTvVEeN9W8yjpIBBUL9PZixC/QGftUw7QydamoAw5rQe9WTYwA2Fdaa4YmW6JmBaHxKhpqpKj6QZvKTCZgvImsVM1Qy1gCEce81lGWsBDR/fMNtFHLUHiGWJCjCViniGEV5PPEAlsD9CF0qFKW7+H390+Q/wHWj122PL+dwcAAAAASUVORK5CYII=";
  532. const _sfc_main$2 = /* @__PURE__ */ defineComponent({
  533. __name: "feedFix",
  534. __ssrInlineRender: true,
  535. setup(__props) {
  536. if (typeof window !== "undefined" && typeof window.globalThis.addEventListener === "function") {
  537. globalThis.addEventListener("scroll", function() {
  538. var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
  539. var element = document.getElementById("scroll-up");
  540. if (scrollTop > 770) {
  541. element.style.opacity = 1;
  542. } else {
  543. element.style.opacity = 0;
  544. }
  545. });
  546. }
  547. return (_ctx, _push, _parent, _attrs) => {
  548. _push(`<div${ssrRenderAttrs(mergeProps({ class: "feedBackBox" }, _attrs))}><div class="contactOne"><img${ssrRenderAttr("src", _imports_0)} alt=""><ul class="contactInner"><li style="${ssrRenderStyle({ "font-size": "25px", "margin-bottom": "5px" })}">合作共赢</li><li><span>智  慧  消   防:</span><span>李先生 18621761642</span></li><li><span>人脸识别系统:</span><span>李先生 18621761642</span></li><li><span>弱 电 智 能 化:</span><span>李先生 13918571231</span></li><li><span>质量 监督投诉:</span><span>孙先生 17721169552</span></li><li style="${ssrRenderStyle({ "margin-top": "10px" })}">其他智慧城市相关应用合作: 021-65376655</li></ul></div><div class="contactQr"><img${ssrRenderAttr("src", _imports_1)} alt=""><div class=""><img${ssrRenderAttr("src", _imports_2)} alt=""></div></div><div id="scroll-up" style="${ssrRenderStyle({ "opacity": "0" })}"><img${ssrRenderAttr("src", _imports_3)} alt=""></div></div>`);
  549. };
  550. }
  551. });
  552. const _sfc_setup$2 = _sfc_main$2.setup;
  553. _sfc_main$2.setup = (props, ctx) => {
  554. const ssrContext = useSSRContext();
  555. (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/components/layout/feedFix.vue");
  556. return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
  557. };
  558. function tansParams(params) {
  559. let result = "";
  560. for (const propName of Object.keys(params)) {
  561. const value = params[propName];
  562. var part = encodeURIComponent(propName) + "=";
  563. if (value !== null && value !== "" && typeof value !== "undefined") {
  564. if (typeof value === "object") {
  565. for (const key of Object.keys(value)) {
  566. if (value[key] !== null && value[key] !== "" && typeof value[key] !== "undefined") {
  567. let params2 = propName + "[" + key + "]";
  568. var subPart = encodeURIComponent(params2) + "=";
  569. result += subPart + encodeURIComponent(value[key]) + "&";
  570. }
  571. }
  572. } else {
  573. result += part + encodeURIComponent(value) + "&";
  574. }
  575. }
  576. }
  577. return result;
  578. }
  579. const service = axios.create({
  580. // axios中请求配置有baseURL选项,表示请求URL公共部分
  581. baseURL: "http://gateWay.usky.cn/",
  582. // 超时
  583. timeout: 3e5
  584. });
  585. service.interceptors.request.use((config) => {
  586. const isRepeatSubmit = (config.headers || {}).repeatSubmit === false;
  587. if (config.method === "get" && config.data) {
  588. let url = config.url + "?" + tansParams(config.data);
  589. url = url.slice(0, -1);
  590. config.params = {};
  591. config.url = url;
  592. }
  593. if (!isRepeatSubmit && (config.method === "post" || config.method === "put")) {
  594. ({
  595. url: config.url,
  596. data: typeof config.data === "object" ? JSON.stringify(config.data) : config.data,
  597. time: (/* @__PURE__ */ new Date()).getTime()
  598. });
  599. }
  600. config.headers["Content-Type"] = "application/json;charset=utf-8";
  601. return config;
  602. }, (error) => {
  603. Promise.reject(error);
  604. });
  605. service.interceptors.response.use(
  606. (res) => {
  607. const code = res.data.status;
  608. if (res.request.responseType === "blob" || res.request.responseType === "arraybuffer") {
  609. return res.data;
  610. }
  611. if (code == "SUCCESS" || res.data.msg == "操作成功") {
  612. return res.headers["content-type"].indexOf("application/vnd.ms-excel") != -1 ? res : res.data;
  613. } else if (res.data.code == 200) {
  614. return res.data;
  615. } else
  616. ;
  617. },
  618. (error) => {
  619. let message = error.response.data.msg;
  620. if (message == "Network Error") {
  621. message = "后端接口连接异常";
  622. } else if (message.includes("timeout")) {
  623. message = "系统接口请求超时";
  624. } else if (message.includes("Request failed with status code")) {
  625. message = "系统接口" + message.substr(message.length - 3) + "异常";
  626. }
  627. return Promise.reject(error);
  628. }
  629. );
  630. function getMenu() {
  631. return service({
  632. url: `prod-api/service-website/siteCategory/siteCategoryList`,
  633. method: "get"
  634. });
  635. }
  636. function getPageContent(params) {
  637. return service({
  638. url: `prod-api/service-website/siteArticle/siteArticleList`,
  639. method: "get",
  640. data: params
  641. });
  642. }
  643. function siteReview(data) {
  644. return service({
  645. url: `prod-api/service-website/siteReview`,
  646. method: "post",
  647. data
  648. });
  649. }
  650. const _sfc_main$1 = /* @__PURE__ */ defineComponent({
  651. __name: "dialogPersonal",
  652. __ssrInlineRender: true,
  653. setup(__props) {
  654. const { proxy } = getCurrentInstance();
  655. const store2 = useStore();
  656. const platName = ref("智慧安防");
  657. let consultationType = ref([]);
  658. store2.state.menuList.map((item) => {
  659. if (item.path == "/cases") {
  660. platName.value = item.children[0].categoryName;
  661. return consultationType.value = item.children;
  662. }
  663. });
  664. let ruleform = ref({
  665. platName: platName.value,
  666. consultName: "",
  667. consultPhone: "",
  668. mail: "",
  669. company: "",
  670. consultContent: ""
  671. });
  672. let rules = ref({
  673. platName: [{
  674. required: true,
  675. message: "请选择类型",
  676. trigger: "change"
  677. }],
  678. consultName: [{
  679. required: true,
  680. message: "请输入姓名",
  681. trigger: "blur"
  682. }],
  683. consultPhone: [{
  684. required: true,
  685. message: "请输入正确的电话号码",
  686. pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
  687. trigger: "change"
  688. }],
  689. mail: [{
  690. required: false,
  691. type: "email",
  692. message: "请输入正确的邮箱地址",
  693. trigger: "blur"
  694. }]
  695. });
  696. function ruleformNull() {
  697. ruleform.value = {
  698. platName: platName.value,
  699. consultName: "",
  700. consultPhone: "",
  701. mail: "",
  702. company: "",
  703. consultContent: ""
  704. };
  705. platName.value = consultationType.value[0];
  706. }
  707. function handle(type, e) {
  708. if (type == "close") {
  709. store2.commit("setDialogPersonalStatus", false);
  710. ruleformNull();
  711. }
  712. if (type == "submit") {
  713. platName.value = consultationType.value[0];
  714. proxy.$refs["form"].validate((valid) => {
  715. if (valid) {
  716. siteReview(ruleform.value).then((res) => {
  717. if ((res == null ? void 0 : res.status) == "SUCCESS") {
  718. ElMessage({
  719. message: "提交成功",
  720. type: "success"
  721. });
  722. handle("close");
  723. ruleformNull();
  724. } else {
  725. ElMessage.error(res.msg);
  726. }
  727. });
  728. }
  729. });
  730. }
  731. }
  732. return (_ctx, _push, _parent, _attrs) => {
  733. const _component_el_dialog = resolveComponent("el-dialog");
  734. const _component_el_form = resolveComponent("el-form");
  735. const _component_el_form_item = resolveComponent("el-form-item");
  736. const _component_el_radio_group = resolveComponent("el-radio-group");
  737. const _component_el_radio_button = resolveComponent("el-radio-button");
  738. const _component_el_row = resolveComponent("el-row");
  739. const _component_el_col = resolveComponent("el-col");
  740. const _component_el_input = resolveComponent("el-input");
  741. const _component_el_button = resolveComponent("el-button");
  742. _push(ssrRenderComponent(_component_el_dialog, mergeProps({
  743. title: "项目咨询",
  744. onClose: ($event) => handle("close"),
  745. modelValue: unref(store2).state.dialogPersonalStatus,
  746. "onUpdate:modelValue": ($event) => unref(store2).state.dialogPersonalStatus = $event,
  747. width: "700px",
  748. center: "",
  749. class: "feedBackDialog",
  750. "lock-scroll": false
  751. }, _attrs), {
  752. default: withCtx((_, _push2, _parent2, _scopeId) => {
  753. if (_push2) {
  754. _push2(ssrRenderComponent(_component_el_form, {
  755. model: unref(ruleform),
  756. rules: unref(rules),
  757. ref: "form",
  758. "label-width": "80px",
  759. class: "demo-ruleform"
  760. }, {
  761. default: withCtx((_2, _push3, _parent3, _scopeId2) => {
  762. if (_push3) {
  763. _push3(ssrRenderComponent(_component_el_form_item, {
  764. label: "",
  765. prop: "ruleform.platName",
  766. style: {},
  767. class: "dialogTypeLabel"
  768. }, {
  769. default: withCtx((_3, _push4, _parent4, _scopeId3) => {
  770. if (_push4) {
  771. _push4(ssrRenderComponent(_component_el_radio_group, {
  772. modelValue: platName.value,
  773. "onUpdate:modelValue": ($event) => platName.value = $event
  774. }, {
  775. default: withCtx((_4, _push5, _parent5, _scopeId4) => {
  776. if (_push5) {
  777. _push5(`<!--[-->`);
  778. ssrRenderList(unref(consultationType), (item, index2) => {
  779. _push5(ssrRenderComponent(_component_el_radio_button, {
  780. label: item.categoryName,
  781. value: item.categoryName,
  782. key: index2
  783. }, null, _parent5, _scopeId4));
  784. });
  785. _push5(`<!--]-->`);
  786. } else {
  787. return [
  788. (openBlock(true), createBlock(Fragment, null, renderList(unref(consultationType), (item, index2) => {
  789. return openBlock(), createBlock(_component_el_radio_button, {
  790. label: item.categoryName,
  791. value: item.categoryName,
  792. key: index2
  793. }, null, 8, ["label", "value"]);
  794. }), 128))
  795. ];
  796. }
  797. }),
  798. _: 1
  799. }, _parent4, _scopeId3));
  800. } else {
  801. return [
  802. createVNode(_component_el_radio_group, {
  803. modelValue: platName.value,
  804. "onUpdate:modelValue": ($event) => platName.value = $event
  805. }, {
  806. default: withCtx(() => [
  807. (openBlock(true), createBlock(Fragment, null, renderList(unref(consultationType), (item, index2) => {
  808. return openBlock(), createBlock(_component_el_radio_button, {
  809. label: item.categoryName,
  810. value: item.categoryName,
  811. key: index2
  812. }, null, 8, ["label", "value"]);
  813. }), 128))
  814. ]),
  815. _: 1
  816. }, 8, ["modelValue", "onUpdate:modelValue"])
  817. ];
  818. }
  819. }),
  820. _: 1
  821. }, _parent3, _scopeId2));
  822. _push3(ssrRenderComponent(_component_el_row, { gutter: 20 }, {
  823. default: withCtx((_3, _push4, _parent4, _scopeId3) => {
  824. if (_push4) {
  825. _push4(ssrRenderComponent(_component_el_col, { span: 12 }, {
  826. default: withCtx((_4, _push5, _parent5, _scopeId4) => {
  827. if (_push5) {
  828. _push5(ssrRenderComponent(_component_el_form_item, {
  829. label: "姓名",
  830. prop: "consultName"
  831. }, {
  832. default: withCtx((_5, _push6, _parent6, _scopeId5) => {
  833. if (_push6) {
  834. _push6(ssrRenderComponent(_component_el_input, {
  835. modelValue: unref(ruleform).consultName,
  836. "onUpdate:modelValue": ($event) => unref(ruleform).consultName = $event
  837. }, null, _parent6, _scopeId5));
  838. } else {
  839. return [
  840. createVNode(_component_el_input, {
  841. modelValue: unref(ruleform).consultName,
  842. "onUpdate:modelValue": ($event) => unref(ruleform).consultName = $event
  843. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  844. ];
  845. }
  846. }),
  847. _: 1
  848. }, _parent5, _scopeId4));
  849. } else {
  850. return [
  851. createVNode(_component_el_form_item, {
  852. label: "姓名",
  853. prop: "consultName"
  854. }, {
  855. default: withCtx(() => [
  856. createVNode(_component_el_input, {
  857. modelValue: unref(ruleform).consultName,
  858. "onUpdate:modelValue": ($event) => unref(ruleform).consultName = $event
  859. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  860. ]),
  861. _: 1
  862. })
  863. ];
  864. }
  865. }),
  866. _: 1
  867. }, _parent4, _scopeId3));
  868. _push4(ssrRenderComponent(_component_el_col, { span: 12 }, {
  869. default: withCtx((_4, _push5, _parent5, _scopeId4) => {
  870. if (_push5) {
  871. _push5(ssrRenderComponent(_component_el_form_item, {
  872. label: "联系电话",
  873. prop: "consultPhone"
  874. }, {
  875. default: withCtx((_5, _push6, _parent6, _scopeId5) => {
  876. if (_push6) {
  877. _push6(ssrRenderComponent(_component_el_input, {
  878. modelValue: unref(ruleform).consultPhone,
  879. "onUpdate:modelValue": ($event) => unref(ruleform).consultPhone = $event
  880. }, null, _parent6, _scopeId5));
  881. } else {
  882. return [
  883. createVNode(_component_el_input, {
  884. modelValue: unref(ruleform).consultPhone,
  885. "onUpdate:modelValue": ($event) => unref(ruleform).consultPhone = $event
  886. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  887. ];
  888. }
  889. }),
  890. _: 1
  891. }, _parent5, _scopeId4));
  892. } else {
  893. return [
  894. createVNode(_component_el_form_item, {
  895. label: "联系电话",
  896. prop: "consultPhone"
  897. }, {
  898. default: withCtx(() => [
  899. createVNode(_component_el_input, {
  900. modelValue: unref(ruleform).consultPhone,
  901. "onUpdate:modelValue": ($event) => unref(ruleform).consultPhone = $event
  902. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  903. ]),
  904. _: 1
  905. })
  906. ];
  907. }
  908. }),
  909. _: 1
  910. }, _parent4, _scopeId3));
  911. _push4(ssrRenderComponent(_component_el_col, { span: 12 }, {
  912. default: withCtx((_4, _push5, _parent5, _scopeId4) => {
  913. if (_push5) {
  914. _push5(ssrRenderComponent(_component_el_form_item, {
  915. label: "邮箱",
  916. prop: "mail"
  917. }, {
  918. default: withCtx((_5, _push6, _parent6, _scopeId5) => {
  919. if (_push6) {
  920. _push6(ssrRenderComponent(_component_el_input, {
  921. modelValue: unref(ruleform).mail,
  922. "onUpdate:modelValue": ($event) => unref(ruleform).mail = $event
  923. }, null, _parent6, _scopeId5));
  924. } else {
  925. return [
  926. createVNode(_component_el_input, {
  927. modelValue: unref(ruleform).mail,
  928. "onUpdate:modelValue": ($event) => unref(ruleform).mail = $event
  929. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  930. ];
  931. }
  932. }),
  933. _: 1
  934. }, _parent5, _scopeId4));
  935. } else {
  936. return [
  937. createVNode(_component_el_form_item, {
  938. label: "邮箱",
  939. prop: "mail"
  940. }, {
  941. default: withCtx(() => [
  942. createVNode(_component_el_input, {
  943. modelValue: unref(ruleform).mail,
  944. "onUpdate:modelValue": ($event) => unref(ruleform).mail = $event
  945. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  946. ]),
  947. _: 1
  948. })
  949. ];
  950. }
  951. }),
  952. _: 1
  953. }, _parent4, _scopeId3));
  954. _push4(ssrRenderComponent(_component_el_col, { span: 12 }, {
  955. default: withCtx((_4, _push5, _parent5, _scopeId4) => {
  956. if (_push5) {
  957. _push5(ssrRenderComponent(_component_el_form_item, {
  958. label: "公司",
  959. prop: "company"
  960. }, {
  961. default: withCtx((_5, _push6, _parent6, _scopeId5) => {
  962. if (_push6) {
  963. _push6(ssrRenderComponent(_component_el_input, {
  964. modelValue: unref(ruleform).company,
  965. "onUpdate:modelValue": ($event) => unref(ruleform).company = $event
  966. }, null, _parent6, _scopeId5));
  967. } else {
  968. return [
  969. createVNode(_component_el_input, {
  970. modelValue: unref(ruleform).company,
  971. "onUpdate:modelValue": ($event) => unref(ruleform).company = $event
  972. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  973. ];
  974. }
  975. }),
  976. _: 1
  977. }, _parent5, _scopeId4));
  978. } else {
  979. return [
  980. createVNode(_component_el_form_item, {
  981. label: "公司",
  982. prop: "company"
  983. }, {
  984. default: withCtx(() => [
  985. createVNode(_component_el_input, {
  986. modelValue: unref(ruleform).company,
  987. "onUpdate:modelValue": ($event) => unref(ruleform).company = $event
  988. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  989. ]),
  990. _: 1
  991. })
  992. ];
  993. }
  994. }),
  995. _: 1
  996. }, _parent4, _scopeId3));
  997. } else {
  998. return [
  999. createVNode(_component_el_col, { span: 12 }, {
  1000. default: withCtx(() => [
  1001. createVNode(_component_el_form_item, {
  1002. label: "姓名",
  1003. prop: "consultName"
  1004. }, {
  1005. default: withCtx(() => [
  1006. createVNode(_component_el_input, {
  1007. modelValue: unref(ruleform).consultName,
  1008. "onUpdate:modelValue": ($event) => unref(ruleform).consultName = $event
  1009. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  1010. ]),
  1011. _: 1
  1012. })
  1013. ]),
  1014. _: 1
  1015. }),
  1016. createVNode(_component_el_col, { span: 12 }, {
  1017. default: withCtx(() => [
  1018. createVNode(_component_el_form_item, {
  1019. label: "联系电话",
  1020. prop: "consultPhone"
  1021. }, {
  1022. default: withCtx(() => [
  1023. createVNode(_component_el_input, {
  1024. modelValue: unref(ruleform).consultPhone,
  1025. "onUpdate:modelValue": ($event) => unref(ruleform).consultPhone = $event
  1026. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  1027. ]),
  1028. _: 1
  1029. })
  1030. ]),
  1031. _: 1
  1032. }),
  1033. createVNode(_component_el_col, { span: 12 }, {
  1034. default: withCtx(() => [
  1035. createVNode(_component_el_form_item, {
  1036. label: "邮箱",
  1037. prop: "mail"
  1038. }, {
  1039. default: withCtx(() => [
  1040. createVNode(_component_el_input, {
  1041. modelValue: unref(ruleform).mail,
  1042. "onUpdate:modelValue": ($event) => unref(ruleform).mail = $event
  1043. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  1044. ]),
  1045. _: 1
  1046. })
  1047. ]),
  1048. _: 1
  1049. }),
  1050. createVNode(_component_el_col, { span: 12 }, {
  1051. default: withCtx(() => [
  1052. createVNode(_component_el_form_item, {
  1053. label: "公司",
  1054. prop: "company"
  1055. }, {
  1056. default: withCtx(() => [
  1057. createVNode(_component_el_input, {
  1058. modelValue: unref(ruleform).company,
  1059. "onUpdate:modelValue": ($event) => unref(ruleform).company = $event
  1060. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  1061. ]),
  1062. _: 1
  1063. })
  1064. ]),
  1065. _: 1
  1066. })
  1067. ];
  1068. }
  1069. }),
  1070. _: 1
  1071. }, _parent3, _scopeId2));
  1072. _push3(ssrRenderComponent(_component_el_form_item, {
  1073. label: "需求描述",
  1074. prop: "consultContent"
  1075. }, {
  1076. default: withCtx((_3, _push4, _parent4, _scopeId3) => {
  1077. if (_push4) {
  1078. _push4(ssrRenderComponent(_component_el_input, {
  1079. type: "textarea",
  1080. modelValue: unref(ruleform).consultContent,
  1081. "onUpdate:modelValue": ($event) => unref(ruleform).consultContent = $event
  1082. }, null, _parent4, _scopeId3));
  1083. } else {
  1084. return [
  1085. createVNode(_component_el_input, {
  1086. type: "textarea",
  1087. modelValue: unref(ruleform).consultContent,
  1088. "onUpdate:modelValue": ($event) => unref(ruleform).consultContent = $event
  1089. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  1090. ];
  1091. }
  1092. }),
  1093. _: 1
  1094. }, _parent3, _scopeId2));
  1095. } else {
  1096. return [
  1097. createVNode(_component_el_form_item, {
  1098. label: "",
  1099. prop: "ruleform.platName",
  1100. style: {},
  1101. class: "dialogTypeLabel"
  1102. }, {
  1103. default: withCtx(() => [
  1104. createVNode(_component_el_radio_group, {
  1105. modelValue: platName.value,
  1106. "onUpdate:modelValue": ($event) => platName.value = $event
  1107. }, {
  1108. default: withCtx(() => [
  1109. (openBlock(true), createBlock(Fragment, null, renderList(unref(consultationType), (item, index2) => {
  1110. return openBlock(), createBlock(_component_el_radio_button, {
  1111. label: item.categoryName,
  1112. value: item.categoryName,
  1113. key: index2
  1114. }, null, 8, ["label", "value"]);
  1115. }), 128))
  1116. ]),
  1117. _: 1
  1118. }, 8, ["modelValue", "onUpdate:modelValue"])
  1119. ]),
  1120. _: 1
  1121. }),
  1122. createVNode(_component_el_row, { gutter: 20 }, {
  1123. default: withCtx(() => [
  1124. createVNode(_component_el_col, { span: 12 }, {
  1125. default: withCtx(() => [
  1126. createVNode(_component_el_form_item, {
  1127. label: "姓名",
  1128. prop: "consultName"
  1129. }, {
  1130. default: withCtx(() => [
  1131. createVNode(_component_el_input, {
  1132. modelValue: unref(ruleform).consultName,
  1133. "onUpdate:modelValue": ($event) => unref(ruleform).consultName = $event
  1134. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  1135. ]),
  1136. _: 1
  1137. })
  1138. ]),
  1139. _: 1
  1140. }),
  1141. createVNode(_component_el_col, { span: 12 }, {
  1142. default: withCtx(() => [
  1143. createVNode(_component_el_form_item, {
  1144. label: "联系电话",
  1145. prop: "consultPhone"
  1146. }, {
  1147. default: withCtx(() => [
  1148. createVNode(_component_el_input, {
  1149. modelValue: unref(ruleform).consultPhone,
  1150. "onUpdate:modelValue": ($event) => unref(ruleform).consultPhone = $event
  1151. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  1152. ]),
  1153. _: 1
  1154. })
  1155. ]),
  1156. _: 1
  1157. }),
  1158. createVNode(_component_el_col, { span: 12 }, {
  1159. default: withCtx(() => [
  1160. createVNode(_component_el_form_item, {
  1161. label: "邮箱",
  1162. prop: "mail"
  1163. }, {
  1164. default: withCtx(() => [
  1165. createVNode(_component_el_input, {
  1166. modelValue: unref(ruleform).mail,
  1167. "onUpdate:modelValue": ($event) => unref(ruleform).mail = $event
  1168. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  1169. ]),
  1170. _: 1
  1171. })
  1172. ]),
  1173. _: 1
  1174. }),
  1175. createVNode(_component_el_col, { span: 12 }, {
  1176. default: withCtx(() => [
  1177. createVNode(_component_el_form_item, {
  1178. label: "公司",
  1179. prop: "company"
  1180. }, {
  1181. default: withCtx(() => [
  1182. createVNode(_component_el_input, {
  1183. modelValue: unref(ruleform).company,
  1184. "onUpdate:modelValue": ($event) => unref(ruleform).company = $event
  1185. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  1186. ]),
  1187. _: 1
  1188. })
  1189. ]),
  1190. _: 1
  1191. })
  1192. ]),
  1193. _: 1
  1194. }),
  1195. createVNode(_component_el_form_item, {
  1196. label: "需求描述",
  1197. prop: "consultContent"
  1198. }, {
  1199. default: withCtx(() => [
  1200. createVNode(_component_el_input, {
  1201. type: "textarea",
  1202. modelValue: unref(ruleform).consultContent,
  1203. "onUpdate:modelValue": ($event) => unref(ruleform).consultContent = $event
  1204. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  1205. ]),
  1206. _: 1
  1207. })
  1208. ];
  1209. }
  1210. }),
  1211. _: 1
  1212. }, _parent2, _scopeId));
  1213. _push2(`<span slot="footer" class="dialog-footer" style="${ssrRenderStyle({ "width": "100%", "text-align": "center" })}"${_scopeId}>`);
  1214. _push2(ssrRenderComponent(_component_el_button, {
  1215. onClick: ($event) => handle("close")
  1216. }, {
  1217. default: withCtx((_2, _push3, _parent3, _scopeId2) => {
  1218. if (_push3) {
  1219. _push3(`取 消`);
  1220. } else {
  1221. return [
  1222. createTextVNode("取 消")
  1223. ];
  1224. }
  1225. }),
  1226. _: 1
  1227. }, _parent2, _scopeId));
  1228. _push2(ssrRenderComponent(_component_el_button, {
  1229. type: "primary",
  1230. onClick: ($event) => handle("submit")
  1231. }, {
  1232. default: withCtx((_2, _push3, _parent3, _scopeId2) => {
  1233. if (_push3) {
  1234. _push3(`提 交`);
  1235. } else {
  1236. return [
  1237. createTextVNode("提 交")
  1238. ];
  1239. }
  1240. }),
  1241. _: 1
  1242. }, _parent2, _scopeId));
  1243. _push2(`</span>`);
  1244. } else {
  1245. return [
  1246. createVNode(_component_el_form, {
  1247. model: unref(ruleform),
  1248. rules: unref(rules),
  1249. ref: "form",
  1250. "label-width": "80px",
  1251. class: "demo-ruleform"
  1252. }, {
  1253. default: withCtx(() => [
  1254. createVNode(_component_el_form_item, {
  1255. label: "",
  1256. prop: "ruleform.platName",
  1257. style: {},
  1258. class: "dialogTypeLabel"
  1259. }, {
  1260. default: withCtx(() => [
  1261. createVNode(_component_el_radio_group, {
  1262. modelValue: platName.value,
  1263. "onUpdate:modelValue": ($event) => platName.value = $event
  1264. }, {
  1265. default: withCtx(() => [
  1266. (openBlock(true), createBlock(Fragment, null, renderList(unref(consultationType), (item, index2) => {
  1267. return openBlock(), createBlock(_component_el_radio_button, {
  1268. label: item.categoryName,
  1269. value: item.categoryName,
  1270. key: index2
  1271. }, null, 8, ["label", "value"]);
  1272. }), 128))
  1273. ]),
  1274. _: 1
  1275. }, 8, ["modelValue", "onUpdate:modelValue"])
  1276. ]),
  1277. _: 1
  1278. }),
  1279. createVNode(_component_el_row, { gutter: 20 }, {
  1280. default: withCtx(() => [
  1281. createVNode(_component_el_col, { span: 12 }, {
  1282. default: withCtx(() => [
  1283. createVNode(_component_el_form_item, {
  1284. label: "姓名",
  1285. prop: "consultName"
  1286. }, {
  1287. default: withCtx(() => [
  1288. createVNode(_component_el_input, {
  1289. modelValue: unref(ruleform).consultName,
  1290. "onUpdate:modelValue": ($event) => unref(ruleform).consultName = $event
  1291. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  1292. ]),
  1293. _: 1
  1294. })
  1295. ]),
  1296. _: 1
  1297. }),
  1298. createVNode(_component_el_col, { span: 12 }, {
  1299. default: withCtx(() => [
  1300. createVNode(_component_el_form_item, {
  1301. label: "联系电话",
  1302. prop: "consultPhone"
  1303. }, {
  1304. default: withCtx(() => [
  1305. createVNode(_component_el_input, {
  1306. modelValue: unref(ruleform).consultPhone,
  1307. "onUpdate:modelValue": ($event) => unref(ruleform).consultPhone = $event
  1308. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  1309. ]),
  1310. _: 1
  1311. })
  1312. ]),
  1313. _: 1
  1314. }),
  1315. createVNode(_component_el_col, { span: 12 }, {
  1316. default: withCtx(() => [
  1317. createVNode(_component_el_form_item, {
  1318. label: "邮箱",
  1319. prop: "mail"
  1320. }, {
  1321. default: withCtx(() => [
  1322. createVNode(_component_el_input, {
  1323. modelValue: unref(ruleform).mail,
  1324. "onUpdate:modelValue": ($event) => unref(ruleform).mail = $event
  1325. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  1326. ]),
  1327. _: 1
  1328. })
  1329. ]),
  1330. _: 1
  1331. }),
  1332. createVNode(_component_el_col, { span: 12 }, {
  1333. default: withCtx(() => [
  1334. createVNode(_component_el_form_item, {
  1335. label: "公司",
  1336. prop: "company"
  1337. }, {
  1338. default: withCtx(() => [
  1339. createVNode(_component_el_input, {
  1340. modelValue: unref(ruleform).company,
  1341. "onUpdate:modelValue": ($event) => unref(ruleform).company = $event
  1342. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  1343. ]),
  1344. _: 1
  1345. })
  1346. ]),
  1347. _: 1
  1348. })
  1349. ]),
  1350. _: 1
  1351. }),
  1352. createVNode(_component_el_form_item, {
  1353. label: "需求描述",
  1354. prop: "consultContent"
  1355. }, {
  1356. default: withCtx(() => [
  1357. createVNode(_component_el_input, {
  1358. type: "textarea",
  1359. modelValue: unref(ruleform).consultContent,
  1360. "onUpdate:modelValue": ($event) => unref(ruleform).consultContent = $event
  1361. }, null, 8, ["modelValue", "onUpdate:modelValue"])
  1362. ]),
  1363. _: 1
  1364. })
  1365. ]),
  1366. _: 1
  1367. }, 8, ["model", "rules"]),
  1368. createVNode("span", {
  1369. slot: "footer",
  1370. class: "dialog-footer",
  1371. style: { "width": "100%", "text-align": "center" }
  1372. }, [
  1373. createVNode(_component_el_button, {
  1374. onClick: ($event) => handle("close")
  1375. }, {
  1376. default: withCtx(() => [
  1377. createTextVNode("取 消")
  1378. ]),
  1379. _: 1
  1380. }, 8, ["onClick"]),
  1381. createVNode(_component_el_button, {
  1382. type: "primary",
  1383. onClick: ($event) => handle("submit")
  1384. }, {
  1385. default: withCtx(() => [
  1386. createTextVNode("提 交")
  1387. ]),
  1388. _: 1
  1389. }, 8, ["onClick"])
  1390. ])
  1391. ];
  1392. }
  1393. }),
  1394. _: 1
  1395. }, _parent));
  1396. };
  1397. }
  1398. });
  1399. const _sfc_setup$1 = _sfc_main$1.setup;
  1400. _sfc_main$1.setup = (props, ctx) => {
  1401. const ssrContext = useSSRContext();
  1402. (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/components/layout/dialogPersonal.vue");
  1403. return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
  1404. };
  1405. const _sfc_main = /* @__PURE__ */ defineComponent({
  1406. __name: "App",
  1407. __ssrInlineRender: true,
  1408. setup(__props) {
  1409. const store2 = useStore();
  1410. function setDialogPersonalStatus() {
  1411. store2.commit("setDialogPersonalStatus", false);
  1412. }
  1413. return (_ctx, _push, _parent, _attrs) => {
  1414. const _component_router_view = resolveComponent("router-view");
  1415. _push(`<!--[-->`);
  1416. _push(ssrRenderComponent(_sfc_main$4, null, null, _parent));
  1417. _push(ssrRenderComponent(_component_router_view, null, null, _parent));
  1418. _push(ssrRenderComponent(_sfc_main$2, null, null, _parent));
  1419. _push(ssrRenderComponent(footerCommon, null, null, _parent));
  1420. _push(ssrRenderComponent(_sfc_main$1, {
  1421. data: unref(store2).state.dialogPersonalStatus,
  1422. onSetDialogPersonalStatus: setDialogPersonalStatus
  1423. }, null, _parent));
  1424. _push(`<!--]-->`);
  1425. };
  1426. }
  1427. });
  1428. const _sfc_setup = _sfc_main.setup;
  1429. _sfc_main.setup = (props, ctx) => {
  1430. const ssrContext = useSSRContext();
  1431. (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/App.vue");
  1432. return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
  1433. };
  1434. const store = createStore({
  1435. state: {
  1436. menuList: [],
  1437. //菜单列表
  1438. pageContent: [],
  1439. //页面主体内容(不包含banner)
  1440. recomMendation: [],
  1441. //推荐内容
  1442. currentPagePath: "",
  1443. //当前页名称
  1444. acitveId: 0,
  1445. //客户案例类型切换活动id
  1446. sub: 0,
  1447. //当前页下标
  1448. columnTypes: [],
  1449. //页面下属类型
  1450. scrollUp: {
  1451. //返回顶部
  1452. opacity: 0,
  1453. visibility: "hidden",
  1454. scrollTo: 0
  1455. },
  1456. route: {},
  1457. //跳转数据
  1458. //分页数据
  1459. pagination: {
  1460. total: 0,
  1461. size: 10,
  1462. count: 1
  1463. },
  1464. meta: {
  1465. title: void 0,
  1466. keywords: void 0,
  1467. description: void 0
  1468. },
  1469. dialogPersonalStatus: false
  1470. //弹框状态
  1471. },
  1472. mutations: {
  1473. //菜单列表
  1474. setMenuList(state, data) {
  1475. state.menuList = data;
  1476. return state.menuList;
  1477. },
  1478. //页面主体内容
  1479. setPageData(state, data) {
  1480. state.pageContent = data.records;
  1481. state.pagination.total = data.total;
  1482. return state.pageContent, state.pagination;
  1483. },
  1484. //
  1485. setCurrentPagePathOrSub(state, data) {
  1486. state.currentPagePath = data.index;
  1487. state.sub = data.sub;
  1488. return state.index, state.sub;
  1489. },
  1490. //子页面活动状态
  1491. setAcitveId(state, data) {
  1492. state.acitveId = data;
  1493. return state.acitveId;
  1494. },
  1495. //推荐内容
  1496. setRecomMendation(state, data) {
  1497. state.recomMendation = data;
  1498. return state.recomMendation;
  1499. },
  1500. //设置弹框状态
  1501. setDialogPersonalStatus(state, data) {
  1502. state.dialogPersonalStatus = data;
  1503. return state.dialogPersonalStatus;
  1504. },
  1505. //设置页面下属类型
  1506. setColumnTypes(state, data) {
  1507. state.columnTypes = data;
  1508. return state.columnTypes;
  1509. },
  1510. //设置跳转路由参数
  1511. setRoute(state, data) {
  1512. state.route = data;
  1513. return state.route;
  1514. },
  1515. //设置meta
  1516. setMeta(state, data) {
  1517. state.meta = data;
  1518. return state.meta;
  1519. }
  1520. },
  1521. actions: {
  1522. getMenuList({ commit }, params) {
  1523. return new Promise((resolve) => {
  1524. getMenu().then((res) => {
  1525. let data = [];
  1526. for (let i = 0; i < res.data.length; i++) {
  1527. data.push(res.data[i]);
  1528. if (data[i].categoryStyle == 1) {
  1529. data[i].path = "/index";
  1530. if (data[i].children.length > 0) {
  1531. for (let ii = 0; ii < data[i].children.length; ii++) {
  1532. data[i].children[ii].path = "/index?categoryid=" + data[i].children[ii].id;
  1533. }
  1534. }
  1535. }
  1536. if (data[i].categoryStyle == 2) {
  1537. data[i].path = "/cases";
  1538. if (data[i].children.length > 0) {
  1539. for (let ii = 0; ii < data[i].children.length; ii++) {
  1540. data[i].children[ii].path = "/cases?categoryid=" + data[i].children[ii].id;
  1541. }
  1542. }
  1543. }
  1544. if (data[i].categoryStyle == 3) {
  1545. data[i].path = "/services";
  1546. if (data[i].children.length > 0) {
  1547. for (let ii = 0; ii < data[i].children.length; ii++) {
  1548. data[i].children[ii].path = "/services?categoryid=" + data[i].children[ii].id;
  1549. }
  1550. }
  1551. }
  1552. if (data[i].categoryStyle == 4) {
  1553. data[i].path = "/news";
  1554. if (data[i].children.length > 0) {
  1555. for (let ii = 0; ii < data[i].children.length; ii++) {
  1556. data[i].children[ii].path = "/news?categoryid=" + data[i].children[ii].id;
  1557. }
  1558. }
  1559. }
  1560. if (data[i].categoryStyle == 5) {
  1561. data[i].path = "/about";
  1562. if (data[i].children.length > 0) {
  1563. for (let ii = 0; ii < data[i].children.length; ii++) {
  1564. data[i].children[ii].path = "/about?categoryid=" + data[i].children[ii].id;
  1565. }
  1566. }
  1567. }
  1568. }
  1569. const menuList = res.data;
  1570. for (let i = 0; i < menuList.length; i++) {
  1571. if (menuList[i].path == params.path && !params.query.categoryid) {
  1572. if (!params.query.dup && !menuList[i].sname) {
  1573. commit("setMeta", { title: menuList[i].categoryName, keywords: menuList[i].metakeywords, description: menuList[i].metadescription });
  1574. } else if (params.query.dup && menuList[i].sname) {
  1575. commit("setMeta", { title: menuList[i].categoryName, keywords: menuList[i].metakeywords, description: menuList[i].metadescription });
  1576. }
  1577. } else if (menuList[i].children.length > 0) {
  1578. for (let ii = 0; ii < menuList[i].children.length; ii++) {
  1579. if (!params.query.dup) {
  1580. if (`${menuList[i].children[ii].path}` == `${params.path}?categoryid=${params.query.categoryid}`) {
  1581. commit("setMeta", { title: menuList[i].children[ii].categoryName, keywords: menuList[i].children[ii].metakeywords, description: menuList[i].children[ii].metadescription });
  1582. }
  1583. }
  1584. if (!params.query.dup) {
  1585. let path = menuList[i].children[ii].path.split("?");
  1586. if (`${path[0]}?dup=${menuList[i].children[ii].sname}` == `${params.path}?dup=${params.query.dup}`) {
  1587. commit("setMeta", { title: menuList[i].children[ii].categoryName, keywords: menuList[i].children[ii].metakeywords, description: menuList[i].children[ii].metadescription });
  1588. }
  1589. }
  1590. }
  1591. }
  1592. }
  1593. commit("setMenuList", res.data);
  1594. resolve(true);
  1595. });
  1596. });
  1597. },
  1598. /**
  1599. * 获取页面数据
  1600. * @param data.params 传参
  1601. * @param data.index 页面
  1602. * @param data.sub 页面下标
  1603. * @returns
  1604. */
  1605. getPageData({ commit }, data) {
  1606. return new Promise((resolve) => {
  1607. var _a, _b;
  1608. if (data.index || data.sub) {
  1609. commit("setCurrentPagePathOrSub", { index: data.index, sub: data.sub });
  1610. }
  1611. if (((_a = data.params) == null ? void 0 : _a.categoryid) && (data.index == "/cases" || data.index == "/services") || data.index == "/news" || data.index == "/news_Read" && data.params.acitve || data.index == "/services_Read" && data.params.acitve) {
  1612. commit("setAcitveId", data.params.categoryid);
  1613. }
  1614. getPageContent(data.params).then((res) => {
  1615. commit("setPageData", res.data);
  1616. resolve(true);
  1617. });
  1618. if ((_b = data.params) == null ? void 0 : _b.details) {
  1619. let params = JSON.parse(JSON.stringify(data.params));
  1620. delete params.articleid;
  1621. params.pageSize = 100;
  1622. delete params.id;
  1623. delete params.details;
  1624. getPageContent(params).then((res) => {
  1625. commit("setRecomMendation", res.data.records);
  1626. resolve(true);
  1627. });
  1628. }
  1629. });
  1630. }
  1631. }
  1632. });
  1633. const index = () => import("./assets/index-DfZLVsT6.js");
  1634. const cases = () => import("./assets/index-Cd8diddm.js");
  1635. const cases_Read = () => import("./assets/read-CxBebMCP.js");
  1636. const services = () => import("./assets/index-FlmO7MWO.js");
  1637. const services_Read = () => import("./assets/read-DPwASZZ4.js");
  1638. const news = () => import("./assets/index-W3bawb76.js");
  1639. const news_Read = () => import("./assets/read-BmtMNrlK.js");
  1640. const about = () => import("./assets/index-Ct9SopTg.js");
  1641. const routes = [
  1642. {
  1643. path: "/index",
  1644. name: "首页",
  1645. component: index,
  1646. meta: {
  1647. title: "首页",
  1648. keepAlive: false
  1649. }
  1650. },
  1651. {
  1652. path: "/cases",
  1653. name: "客户案例",
  1654. component: cases,
  1655. meta: {
  1656. title: "客户案例",
  1657. keepAlive: false
  1658. }
  1659. },
  1660. {
  1661. path: "/cases_Read",
  1662. name: "案例详情页",
  1663. component: cases_Read,
  1664. meta: {
  1665. title: "案例详情页",
  1666. keepAlive: false
  1667. }
  1668. },
  1669. {
  1670. path: "/services",
  1671. name: "产品服务",
  1672. component: services,
  1673. meta: {
  1674. title: "产品服务",
  1675. keepAlive: false
  1676. }
  1677. },
  1678. {
  1679. path: "/services_Read",
  1680. name: "产品详情页",
  1681. component: services_Read,
  1682. meta: {
  1683. title: "产品详情页",
  1684. keepAlive: false
  1685. }
  1686. },
  1687. {
  1688. path: "/news",
  1689. name: "新闻动态",
  1690. component: news,
  1691. meta: {
  1692. title: "新闻动态",
  1693. keepAlive: false
  1694. }
  1695. },
  1696. {
  1697. path: "/news_Read",
  1698. name: "新闻详情",
  1699. component: news_Read,
  1700. meta: {
  1701. title: "新闻详情",
  1702. keepAlive: false
  1703. }
  1704. },
  1705. {
  1706. path: "/about",
  1707. name: "关于永天",
  1708. component: about,
  1709. meta: {
  1710. title: "关于永天",
  1711. keepAlive: false
  1712. }
  1713. }
  1714. ];
  1715. function createSSRRouter() {
  1716. return createRouter({
  1717. history: createMemoryHistory(),
  1718. routes
  1719. });
  1720. }
  1721. const router = createSSRRouter();
  1722. function createApp() {
  1723. const app = createSSRApp(_sfc_main);
  1724. app.use(router);
  1725. app.use(store);
  1726. app.use(ElementPlus);
  1727. app.use(lazyPlugin, {
  1728. loading: "loading.gif",
  1729. error: "error.png"
  1730. });
  1731. return { app, router, store };
  1732. }
  1733. async function render(url, manifest) {
  1734. const { app, router: router2, store: store2 } = createApp();
  1735. await router2.push(url);
  1736. await router2.isReady();
  1737. const matchedComponents = router2.currentRoute.value.matched.flatMap((record) => Object.values(record.components));
  1738. await Promise.all(matchedComponents.map((Component) => {
  1739. if (Component.asyncData) {
  1740. return Component.asyncData({
  1741. store: store2,
  1742. route: router2.currentRoute
  1743. });
  1744. }
  1745. }));
  1746. const context = {};
  1747. const appHtml = await renderToString(app, context);
  1748. const state = store2.state;
  1749. {
  1750. const preloadLinks = renderLinks(context.modules, manifest);
  1751. return { appHtml, state, preloadLinks };
  1752. }
  1753. }
  1754. function renderLinks(modules, manifest) {
  1755. let links = "";
  1756. modules.forEach((id) => {
  1757. if (id) {
  1758. const files = manifest[id];
  1759. if (files) {
  1760. files.forEach((file) => {
  1761. links += renderPreloadLink(file);
  1762. });
  1763. }
  1764. }
  1765. });
  1766. return links;
  1767. }
  1768. function renderPreloadLink(file) {
  1769. if (file.endsWith(".js")) {
  1770. return `<link rel="modulepreload" crossorigin href="${file}">`;
  1771. } else if (file.endsWith(".css")) {
  1772. return `<link rel="stylesheet" href="${file}">`;
  1773. } else if (file.endsWith(".woff")) {
  1774. return `<link rel="preload" href="${file}" as="font" type="font/woff" crossorigin>`;
  1775. } else if (file.endsWith(".woff2")) {
  1776. return `<link rel="preload" href="${file}" as="font" type="font/woff2" crossorigin>`;
  1777. } else if (file.endsWith(".gif")) {
  1778. return `<link rel="preload" href="${file}" as="image" type="image/gif">`;
  1779. } else if (file.endsWith(".jpg")) {
  1780. return `<link rel="preload" href="${file}" as="image" type="image/jpg">`;
  1781. } else if (file.endsWith(".png")) {
  1782. return `<link rel="preload" href="${file}" as="image" type="image/png">`;
  1783. } else {
  1784. return "";
  1785. }
  1786. }
  1787. export {
  1788. _export_sfc as _,
  1789. render
  1790. };