import { defineComponent, ref, resolveComponent, mergeProps, unref, withCtx, createVNode, toDisplayString, createTextVNode, openBlock, createBlock, Fragment, renderList, useSSRContext, getCurrentInstance, createSSRApp } from "vue"; import { ssrRenderAttrs, ssrRenderAttr, ssrRenderList, ssrRenderClass, ssrInterpolate, ssrRenderStyle, ssrRenderComponent, renderToString } from "vue/server-renderer"; import { useStore, createStore } from "vuex"; import { useRoute, createRouter, createMemoryHistory } from "vue-router"; import ElementPlus, { ElMessage } from "element-plus"; import axios from "axios"; import lazyPlugin from "vue3-lazy"; const _imports_0$2 = "/assets/logo-white-Cthg1NVg.png"; const _sfc_main$4 = /* @__PURE__ */ defineComponent({ __name: "header", __ssrInlineRender: true, setup(__props) { const store2 = useStore(); const route = useRoute(); const currentPagePath = ref(route.path); const mobilelistboolean = ref(false); if (route.path.indexOf("_")) { currentPagePath.value = route.path.split("_")[0]; } const pathTemplateQuery = ref(); if (route.query && route.query.dup) { pathTemplateQuery.value = route.query.dup; } function handleOpen() { } function handleClose() { } if (typeof window !== "undefined" && typeof window.globalThis.addEventListener === "function") { globalThis.addEventListener("scroll", function() { var scrollTop = document.documentElement.scrollTop || document.body.scrollTop; var element = document.getElementById("scroll-up"); var stickyHeader = document.getElementsByClassName("sticky-header")[0]; if (scrollTop > 770) { element.style.opacity = 1; } else { element.style.opacity = 0; } if (scrollTop > 110) { stickyHeader.classList.add("sticky"); } else { stickyHeader.classList.remove("sticky"); } }); } return (_ctx, _push, _parent, _attrs) => { const _component_el_row = resolveComponent("el-row"); const _component_el_col = resolveComponent("el-col"); const _component_el_menu = resolveComponent("el-menu"); const _component_el_sub_menu = resolveComponent("el-sub-menu"); const _component_location = resolveComponent("location"); const _component_el_menu_item_group = resolveComponent("el-menu-item-group"); const _component_el_menu_item = resolveComponent("el-menu-item"); const _component_icon_menu = resolveComponent("icon-menu"); _push(`
`); if (mobilelistboolean.value) { _push(ssrRenderComponent(_component_el_row, { class: ["tac mobileMenuBox", [mobilelistboolean.value ? "active" : ""]] }, { default: withCtx((_, _push2, _parent2, _scopeId) => { if (_push2) { _push2(ssrRenderComponent(_component_el_col, { span: 24 }, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(ssrRenderComponent(_component_el_menu, { "active-text-color": "#ffd04b", "background-color": "#0c1923", class: "el-menu-vertical-demo", "default-active": "2", "text-color": "#fff", onOpen: handleOpen, onClose: handleClose }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(``); ssrRenderList(unref(store2).state.menuList, (item) => { _push4(``); if (item.children.length > 0) { _push4(ssrRenderComponent(_component_el_sub_menu, { index: item.id }, { title: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(ssrRenderComponent(_component_location, null, null, _parent5, _scopeId4)); _push5(`${ssrInterpolate(item.categoryName)}`); } else { return [ createVNode(_component_location), createVNode("span", null, [ createVNode("a", { href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1` }, toDisplayString(item.categoryName), 9, ["href"]) ]) ]; } }), default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(``); ssrRenderList(item.children, (aa) => { _push5(ssrRenderComponent(_component_el_menu_item_group, { title: "", key: aa.id }, { default: withCtx((_5, _push6, _parent6, _scopeId5) => { if (_push6) { _push6(ssrRenderComponent(_component_el_menu_item, { index: item.id + "-" + aa.id }, { default: withCtx((_6, _push7, _parent7, _scopeId6) => { if (_push7) { _push7(`·${ssrInterpolate(aa.categoryName)}`); } else { return [ createVNode("a", { href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${aa.id}&isUrlId=1` : `${item.path}?categoryid=${aa.id}&isUrlId=1` }, [ createVNode("span", { style: { "font-weight": "bold", "margin-right": "10px" } }, "·"), createTextVNode(toDisplayString(aa.categoryName), 1) ], 8, ["href"]) ]; } }), _: 2 }, _parent6, _scopeId5)); } else { return [ createVNode(_component_el_menu_item, { index: item.id + "-" + aa.id }, { default: withCtx(() => [ createVNode("a", { href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${aa.id}&isUrlId=1` : `${item.path}?categoryid=${aa.id}&isUrlId=1` }, [ createVNode("span", { style: { "font-weight": "bold", "margin-right": "10px" } }, "·"), createTextVNode(toDisplayString(aa.categoryName), 1) ], 8, ["href"]) ]), _: 2 }, 1032, ["index"]) ]; } }), _: 2 }, _parent5, _scopeId4)); }); _push5(``); } else { return [ (openBlock(true), createBlock(Fragment, null, renderList(item.children, (aa) => { return openBlock(), createBlock(_component_el_menu_item_group, { title: "", key: aa.id }, { default: withCtx(() => [ createVNode(_component_el_menu_item, { index: item.id + "-" + aa.id }, { default: withCtx(() => [ createVNode("a", { href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${aa.id}&isUrlId=1` : `${item.path}?categoryid=${aa.id}&isUrlId=1` }, [ createVNode("span", { style: { "font-weight": "bold", "margin-right": "10px" } }, "·"), createTextVNode(toDisplayString(aa.categoryName), 1) ], 8, ["href"]) ]), _: 2 }, 1032, ["index"]) ]), _: 2 }, 1024); }), 128)) ]; } }), _: 2 }, _parent4, _scopeId3)); } else { _push4(ssrRenderComponent(_component_el_menu_item, { index: item.index }, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(ssrRenderComponent(_component_icon_menu, null, null, _parent5, _scopeId4)); _push5(`${ssrInterpolate(item.categoryName)}`); } else { return [ createVNode(_component_icon_menu), createVNode("span", null, [ createVNode("a", { style: { "color": "#fff" }, href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1` }, toDisplayString(item.categoryName), 9, ["href"]) ]) ]; } }), _: 2 }, _parent4, _scopeId3)); } _push4(``); }); _push4(``); } else { return [ (openBlock(true), createBlock(Fragment, null, renderList(unref(store2).state.menuList, (item) => { return openBlock(), createBlock(Fragment, { key: item.id }, [ item.children.length > 0 ? (openBlock(), createBlock(_component_el_sub_menu, { key: 0, index: item.id }, { title: withCtx(() => [ createVNode(_component_location), createVNode("span", null, [ createVNode("a", { href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1` }, toDisplayString(item.categoryName), 9, ["href"]) ]) ]), default: withCtx(() => [ (openBlock(true), createBlock(Fragment, null, renderList(item.children, (aa) => { return openBlock(), createBlock(_component_el_menu_item_group, { title: "", key: aa.id }, { default: withCtx(() => [ createVNode(_component_el_menu_item, { index: item.id + "-" + aa.id }, { default: withCtx(() => [ createVNode("a", { href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${aa.id}&isUrlId=1` : `${item.path}?categoryid=${aa.id}&isUrlId=1` }, [ createVNode("span", { style: { "font-weight": "bold", "margin-right": "10px" } }, "·"), createTextVNode(toDisplayString(aa.categoryName), 1) ], 8, ["href"]) ]), _: 2 }, 1032, ["index"]) ]), _: 2 }, 1024); }), 128)) ]), _: 2 }, 1032, ["index"])) : (openBlock(), createBlock(_component_el_menu_item, { key: 1, index: item.index }, { default: withCtx(() => [ createVNode(_component_icon_menu), createVNode("span", null, [ createVNode("a", { style: { "color": "#fff" }, href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1` }, toDisplayString(item.categoryName), 9, ["href"]) ]) ]), _: 2 }, 1032, ["index"])) ], 64); }), 128)) ]; } }), _: 1 }, _parent3, _scopeId2)); } else { return [ createVNode(_component_el_menu, { "active-text-color": "#ffd04b", "background-color": "#0c1923", class: "el-menu-vertical-demo", "default-active": "2", "text-color": "#fff", onOpen: handleOpen, onClose: handleClose }, { default: withCtx(() => [ (openBlock(true), createBlock(Fragment, null, renderList(unref(store2).state.menuList, (item) => { return openBlock(), createBlock(Fragment, { key: item.id }, [ item.children.length > 0 ? (openBlock(), createBlock(_component_el_sub_menu, { key: 0, index: item.id }, { title: withCtx(() => [ createVNode(_component_location), createVNode("span", null, [ createVNode("a", { href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1` }, toDisplayString(item.categoryName), 9, ["href"]) ]) ]), default: withCtx(() => [ (openBlock(true), createBlock(Fragment, null, renderList(item.children, (aa) => { return openBlock(), createBlock(_component_el_menu_item_group, { title: "", key: aa.id }, { default: withCtx(() => [ createVNode(_component_el_menu_item, { index: item.id + "-" + aa.id }, { default: withCtx(() => [ createVNode("a", { href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${aa.id}&isUrlId=1` : `${item.path}?categoryid=${aa.id}&isUrlId=1` }, [ createVNode("span", { style: { "font-weight": "bold", "margin-right": "10px" } }, "·"), createTextVNode(toDisplayString(aa.categoryName), 1) ], 8, ["href"]) ]), _: 2 }, 1032, ["index"]) ]), _: 2 }, 1024); }), 128)) ]), _: 2 }, 1032, ["index"])) : (openBlock(), createBlock(_component_el_menu_item, { key: 1, index: item.index }, { default: withCtx(() => [ createVNode(_component_icon_menu), createVNode("span", null, [ createVNode("a", { style: { "color": "#fff" }, href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1` }, toDisplayString(item.categoryName), 9, ["href"]) ]) ]), _: 2 }, 1032, ["index"])) ], 64); }), 128)) ]), _: 1 }) ]; } }), _: 1 }, _parent2, _scopeId)); } else { return [ createVNode(_component_el_col, { span: 24 }, { default: withCtx(() => [ createVNode(_component_el_menu, { "active-text-color": "#ffd04b", "background-color": "#0c1923", class: "el-menu-vertical-demo", "default-active": "2", "text-color": "#fff", onOpen: handleOpen, onClose: handleClose }, { default: withCtx(() => [ (openBlock(true), createBlock(Fragment, null, renderList(unref(store2).state.menuList, (item) => { return openBlock(), createBlock(Fragment, { key: item.id }, [ item.children.length > 0 ? (openBlock(), createBlock(_component_el_sub_menu, { key: 0, index: item.id }, { title: withCtx(() => [ createVNode(_component_location), createVNode("span", null, [ createVNode("a", { href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1` }, toDisplayString(item.categoryName), 9, ["href"]) ]) ]), default: withCtx(() => [ (openBlock(true), createBlock(Fragment, null, renderList(item.children, (aa) => { return openBlock(), createBlock(_component_el_menu_item_group, { title: "", key: aa.id }, { default: withCtx(() => [ createVNode(_component_el_menu_item, { index: item.id + "-" + aa.id }, { default: withCtx(() => [ createVNode("a", { href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${aa.id}&isUrlId=1` : `${item.path}?categoryid=${aa.id}&isUrlId=1` }, [ createVNode("span", { style: { "font-weight": "bold", "margin-right": "10px" } }, "·"), createTextVNode(toDisplayString(aa.categoryName), 1) ], 8, ["href"]) ]), _: 2 }, 1032, ["index"]) ]), _: 2 }, 1024); }), 128)) ]), _: 2 }, 1032, ["index"])) : (openBlock(), createBlock(_component_el_menu_item, { key: 1, index: item.index }, { default: withCtx(() => [ createVNode(_component_icon_menu), createVNode("span", null, [ createVNode("a", { style: { "color": "#fff" }, href: item.sname ? `${item.path}?dup=${item.sname}&categoryid=${item.id}&isUrlId=1` : `${item.path}?categoryid=${item.id}&isUrlId=1` }, toDisplayString(item.categoryName), 9, ["href"]) ]) ]), _: 2 }, 1032, ["index"])) ], 64); }), 128)) ]), _: 1 }) ]), _: 1 }) ]; } }), _: 1 }, _parent)); } else { _push(``); } _push(`
`); }; } }); const _sfc_setup$4 = _sfc_main$4.setup; _sfc_main$4.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/components/layout/header.vue"); return _sfc_setup$4 ? _sfc_setup$4(props, ctx) : void 0; }; const _imports_0$1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAA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JJk/dqNfaNZ97c9sefObd64smXl55aaw93C00QxRIhIJaga+AFEk0TWIZGFEs0ITB1QRBJIqmwDZ0wkjiWxvHbCjNfOTn13cdOjl8D+PcAASxOot7wFxsAAAAASUVORK5CYII="; const _sfc_main$3 = /* @__PURE__ */ defineComponent({ __name: "footer", __ssrInlineRender: true, setup(__props) { const store2 = useStore(); const status = ref(false); setTimeout(() => { status.value = true; }, 200); return (_ctx, _push, _parent, _attrs) => { if (status.value) { _push(`

Copyright © 2001- 2024 Usky. All Rights Reserved. 永天股份 版权所有

增值电信业务经营许可证(IDC、ISP)编号B2-20080010

沪公网安备 31010802001185号

`); } else { _push(``); } }; } }); const _export_sfc = (sfc, props) => { const target = sfc.__vccOpts || sfc; for (const [key, val] of props) { target[key] = val; } return target; }; const _sfc_setup$3 = _sfc_main$3.setup; _sfc_main$3.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/components/layout/footer.vue"); return _sfc_setup$3 ? _sfc_setup$3(props, ctx) : void 0; }; const footerCommon = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-14b49d7e"]]); const _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABLlJREFUWEfVmV1MXEUUgL+5y+4ChYJWatTWRE2j1caktFprAiwxRm1NSIVqaiMNSyOR9MXYqLF9ICkvptaqNRgSd1vaxKYBVKT2wTSy2LRUK8b0B4kPYo3GFE1KKZGy7N4xs7DgsnfvXOASdR7vnDnnmzlzzpyZK5hjK2mRD3pibMBgLZL7gGUI8qQkLmAYuIKgH5Nv41mcOLVNnJ+LKTGbQYH9spDF7EZQb/jIMccBqdEgwPCCGWUUSRPDNEZeFkNO7ToCXNMsvflZfODJpjY+5lS1tZzHD/EbhK7HeKm3Tqgp2jYtYPkhWSlNWgGtrM7YzH4hqeqqFe1242yNloVli8dLdcKVC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QydamoAw5rQe9WTYwA2Fdaa4YmW6JmBaHxKhpqpKj6QZvKTCZgvImsVM1Qy1gCEce81lGWsBDR/fMNtFHLUHiGWJCjCViniGEV5PPEAlsD9CF0qFKW7+H390+Q/wHWj122PL+dwcAAAAASUVORK5CYII="; const _sfc_main$2 = /* @__PURE__ */ defineComponent({ __name: "feedFix", __ssrInlineRender: true, setup(__props) { if (typeof window !== "undefined" && typeof window.globalThis.addEventListener === "function") { globalThis.addEventListener("scroll", function() { var scrollTop = document.documentElement.scrollTop || document.body.scrollTop; var element = document.getElementById("scroll-up"); if (scrollTop > 770) { element.style.opacity = 1; } else { element.style.opacity = 0; } }); } return (_ctx, _push, _parent, _attrs) => { _push(`
  • 合作共赢
  • 智  慧  消   防:李先生 18621761642
  • 人脸识别系统:李先生 18621761642
  • 弱 电 智 能 化:李先生 13918571231
  • 质量 监督投诉:孙先生 17721169552
  • 其他智慧城市相关应用合作: 021-65376655
`); }; } }); const _sfc_setup$2 = _sfc_main$2.setup; _sfc_main$2.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/components/layout/feedFix.vue"); return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0; }; function tansParams(params) { let result = ""; for (const propName of Object.keys(params)) { const value = params[propName]; var part = encodeURIComponent(propName) + "="; if (value !== null && value !== "" && typeof value !== "undefined") { if (typeof value === "object") { for (const key of Object.keys(value)) { if (value[key] !== null && value[key] !== "" && typeof value[key] !== "undefined") { let params2 = propName + "[" + key + "]"; var subPart = encodeURIComponent(params2) + "="; result += subPart + encodeURIComponent(value[key]) + "&"; } } } else { result += part + encodeURIComponent(value) + "&"; } } } return result; } const service = axios.create({ // axios中请求配置有baseURL选项,表示请求URL公共部分 baseURL: "http://gateWay.usky.cn/", // 超时 timeout: 3e5 }); service.interceptors.request.use((config) => { const isRepeatSubmit = (config.headers || {}).repeatSubmit === false; if (config.method === "get" && config.data) { let url = config.url + "?" + tansParams(config.data); url = url.slice(0, -1); config.params = {}; config.url = url; } if (!isRepeatSubmit && (config.method === "post" || config.method === "put")) { ({ url: config.url, data: typeof config.data === "object" ? JSON.stringify(config.data) : config.data, time: (/* @__PURE__ */ new Date()).getTime() }); } config.headers["Content-Type"] = "application/json;charset=utf-8"; return config; }, (error) => { Promise.reject(error); }); service.interceptors.response.use( (res) => { const code = res.data.status; if (res.request.responseType === "blob" || res.request.responseType === "arraybuffer") { return res.data; } if (code == "SUCCESS" || res.data.msg == "操作成功") { return res.headers["content-type"].indexOf("application/vnd.ms-excel") != -1 ? res : res.data; } else if (res.data.code == 200) { return res.data; } else ; }, (error) => { let message = error.response.data.msg; if (message == "Network Error") { message = "后端接口连接异常"; } else if (message.includes("timeout")) { message = "系统接口请求超时"; } else if (message.includes("Request failed with status code")) { message = "系统接口" + message.substr(message.length - 3) + "异常"; } return Promise.reject(error); } ); function getMenu() { return service({ url: `prod-api/service-website/siteCategory/siteCategoryList`, method: "get" }); } function getPageContent(params) { return service({ url: `prod-api/service-website/siteArticle/siteArticleList`, method: "get", data: params }); } function siteReview(data) { return service({ url: `prod-api/service-website/siteReview`, method: "post", data }); } const _sfc_main$1 = /* @__PURE__ */ defineComponent({ __name: "dialogPersonal", __ssrInlineRender: true, setup(__props) { const { proxy } = getCurrentInstance(); const store2 = useStore(); const platName = ref("智慧安防"); let consultationType = ref([]); store2.state.menuList.map((item) => { if (item.path == "/cases") { platName.value = item.children[0].categoryName; return consultationType.value = item.children; } }); let ruleform = ref({ platName: platName.value, consultName: "", consultPhone: "", mail: "", company: "", consultContent: "" }); let rules = ref({ platName: [{ required: true, message: "请选择类型", trigger: "change" }], consultName: [{ required: true, message: "请输入姓名", trigger: "blur" }], consultPhone: [{ required: true, message: "请输入正确的电话号码", pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, trigger: "change" }], mail: [{ required: false, type: "email", message: "请输入正确的邮箱地址", trigger: "blur" }] }); function ruleformNull() { ruleform.value = { platName: platName.value, consultName: "", consultPhone: "", mail: "", company: "", consultContent: "" }; platName.value = consultationType.value[0]; } function handle(type, e) { if (type == "close") { store2.commit("setDialogPersonalStatus", false); ruleformNull(); } if (type == "submit") { platName.value = consultationType.value[0]; proxy.$refs["form"].validate((valid) => { if (valid) { siteReview(ruleform.value).then((res) => { if ((res == null ? void 0 : res.status) == "SUCCESS") { ElMessage({ message: "提交成功", type: "success" }); handle("close"); ruleformNull(); } else { ElMessage.error(res.msg); } }); } }); } } return (_ctx, _push, _parent, _attrs) => { const _component_el_dialog = resolveComponent("el-dialog"); const _component_el_form = resolveComponent("el-form"); const _component_el_form_item = resolveComponent("el-form-item"); const _component_el_radio_group = resolveComponent("el-radio-group"); const _component_el_radio_button = resolveComponent("el-radio-button"); const _component_el_row = resolveComponent("el-row"); const _component_el_col = resolveComponent("el-col"); const _component_el_input = resolveComponent("el-input"); const _component_el_button = resolveComponent("el-button"); _push(ssrRenderComponent(_component_el_dialog, mergeProps({ title: "项目咨询", onClose: ($event) => handle("close"), modelValue: unref(store2).state.dialogPersonalStatus, "onUpdate:modelValue": ($event) => unref(store2).state.dialogPersonalStatus = $event, width: "700px", center: "", class: "feedBackDialog", "lock-scroll": false }, _attrs), { default: withCtx((_, _push2, _parent2, _scopeId) => { if (_push2) { _push2(ssrRenderComponent(_component_el_form, { model: unref(ruleform), rules: unref(rules), ref: "form", "label-width": "80px", class: "demo-ruleform" }, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(ssrRenderComponent(_component_el_form_item, { label: "", prop: "ruleform.platName", style: {}, class: "dialogTypeLabel" }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(ssrRenderComponent(_component_el_radio_group, { modelValue: platName.value, "onUpdate:modelValue": ($event) => platName.value = $event }, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(``); ssrRenderList(unref(consultationType), (item, index2) => { _push5(ssrRenderComponent(_component_el_radio_button, { label: item.categoryName, value: item.categoryName, key: index2 }, null, _parent5, _scopeId4)); }); _push5(``); } else { return [ (openBlock(true), createBlock(Fragment, null, renderList(unref(consultationType), (item, index2) => { return openBlock(), createBlock(_component_el_radio_button, { label: item.categoryName, value: item.categoryName, key: index2 }, null, 8, ["label", "value"]); }), 128)) ]; } }), _: 1 }, _parent4, _scopeId3)); } else { return [ createVNode(_component_el_radio_group, { modelValue: platName.value, "onUpdate:modelValue": ($event) => platName.value = $event }, { default: withCtx(() => [ (openBlock(true), createBlock(Fragment, null, renderList(unref(consultationType), (item, index2) => { return openBlock(), createBlock(_component_el_radio_button, { label: item.categoryName, value: item.categoryName, key: index2 }, null, 8, ["label", "value"]); }), 128)) ]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"]) ]; } }), _: 1 }, _parent3, _scopeId2)); _push3(ssrRenderComponent(_component_el_row, { gutter: 20 }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(ssrRenderComponent(_component_el_col, { span: 12 }, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(ssrRenderComponent(_component_el_form_item, { label: "姓名", prop: "consultName" }, { default: withCtx((_5, _push6, _parent6, _scopeId5) => { if (_push6) { _push6(ssrRenderComponent(_component_el_input, { modelValue: unref(ruleform).consultName, "onUpdate:modelValue": ($event) => unref(ruleform).consultName = $event }, null, _parent6, _scopeId5)); } else { return [ createVNode(_component_el_input, { modelValue: unref(ruleform).consultName, "onUpdate:modelValue": ($event) => unref(ruleform).consultName = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]; } }), _: 1 }, _parent5, _scopeId4)); } else { return [ createVNode(_component_el_form_item, { label: "姓名", prop: "consultName" }, { default: withCtx(() => [ createVNode(_component_el_input, { modelValue: unref(ruleform).consultName, "onUpdate:modelValue": ($event) => unref(ruleform).consultName = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]; } }), _: 1 }, _parent4, _scopeId3)); _push4(ssrRenderComponent(_component_el_col, { span: 12 }, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(ssrRenderComponent(_component_el_form_item, { label: "联系电话", prop: "consultPhone" }, { default: withCtx((_5, _push6, _parent6, _scopeId5) => { if (_push6) { _push6(ssrRenderComponent(_component_el_input, { modelValue: unref(ruleform).consultPhone, "onUpdate:modelValue": ($event) => unref(ruleform).consultPhone = $event }, null, _parent6, _scopeId5)); } else { return [ createVNode(_component_el_input, { modelValue: unref(ruleform).consultPhone, "onUpdate:modelValue": ($event) => unref(ruleform).consultPhone = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]; } }), _: 1 }, _parent5, _scopeId4)); } else { return [ createVNode(_component_el_form_item, { label: "联系电话", prop: "consultPhone" }, { default: withCtx(() => [ createVNode(_component_el_input, { modelValue: unref(ruleform).consultPhone, "onUpdate:modelValue": ($event) => unref(ruleform).consultPhone = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]; } }), _: 1 }, _parent4, _scopeId3)); _push4(ssrRenderComponent(_component_el_col, { span: 12 }, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(ssrRenderComponent(_component_el_form_item, { label: "邮箱", prop: "mail" }, { default: withCtx((_5, _push6, _parent6, _scopeId5) => { if (_push6) { _push6(ssrRenderComponent(_component_el_input, { modelValue: unref(ruleform).mail, "onUpdate:modelValue": ($event) => unref(ruleform).mail = $event }, null, _parent6, _scopeId5)); } else { return [ createVNode(_component_el_input, { modelValue: unref(ruleform).mail, "onUpdate:modelValue": ($event) => unref(ruleform).mail = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]; } }), _: 1 }, _parent5, _scopeId4)); } else { return [ createVNode(_component_el_form_item, { label: "邮箱", prop: "mail" }, { default: withCtx(() => [ createVNode(_component_el_input, { modelValue: unref(ruleform).mail, "onUpdate:modelValue": ($event) => unref(ruleform).mail = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]; } }), _: 1 }, _parent4, _scopeId3)); _push4(ssrRenderComponent(_component_el_col, { span: 12 }, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(ssrRenderComponent(_component_el_form_item, { label: "公司", prop: "company" }, { default: withCtx((_5, _push6, _parent6, _scopeId5) => { if (_push6) { _push6(ssrRenderComponent(_component_el_input, { modelValue: unref(ruleform).company, "onUpdate:modelValue": ($event) => unref(ruleform).company = $event }, null, _parent6, _scopeId5)); } else { return [ createVNode(_component_el_input, { modelValue: unref(ruleform).company, "onUpdate:modelValue": ($event) => unref(ruleform).company = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]; } }), _: 1 }, _parent5, _scopeId4)); } else { return [ createVNode(_component_el_form_item, { label: "公司", prop: "company" }, { default: withCtx(() => [ createVNode(_component_el_input, { modelValue: unref(ruleform).company, "onUpdate:modelValue": ($event) => unref(ruleform).company = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]; } }), _: 1 }, _parent4, _scopeId3)); } else { return [ createVNode(_component_el_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_el_form_item, { label: "姓名", prop: "consultName" }, { default: withCtx(() => [ createVNode(_component_el_input, { modelValue: unref(ruleform).consultName, "onUpdate:modelValue": ($event) => unref(ruleform).consultName = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]), _: 1 }), createVNode(_component_el_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_el_form_item, { label: "联系电话", prop: "consultPhone" }, { default: withCtx(() => [ createVNode(_component_el_input, { modelValue: unref(ruleform).consultPhone, "onUpdate:modelValue": ($event) => unref(ruleform).consultPhone = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]), _: 1 }), createVNode(_component_el_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_el_form_item, { label: "邮箱", prop: "mail" }, { default: withCtx(() => [ createVNode(_component_el_input, { modelValue: unref(ruleform).mail, "onUpdate:modelValue": ($event) => unref(ruleform).mail = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]), _: 1 }), createVNode(_component_el_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_el_form_item, { label: "公司", prop: "company" }, { default: withCtx(() => [ createVNode(_component_el_input, { modelValue: unref(ruleform).company, "onUpdate:modelValue": ($event) => unref(ruleform).company = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]), _: 1 }) ]; } }), _: 1 }, _parent3, _scopeId2)); _push3(ssrRenderComponent(_component_el_form_item, { label: "需求描述", prop: "consultContent" }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(ssrRenderComponent(_component_el_input, { type: "textarea", modelValue: unref(ruleform).consultContent, "onUpdate:modelValue": ($event) => unref(ruleform).consultContent = $event }, null, _parent4, _scopeId3)); } else { return [ createVNode(_component_el_input, { type: "textarea", modelValue: unref(ruleform).consultContent, "onUpdate:modelValue": ($event) => unref(ruleform).consultContent = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]; } }), _: 1 }, _parent3, _scopeId2)); } else { return [ createVNode(_component_el_form_item, { label: "", prop: "ruleform.platName", style: {}, class: "dialogTypeLabel" }, { default: withCtx(() => [ createVNode(_component_el_radio_group, { modelValue: platName.value, "onUpdate:modelValue": ($event) => platName.value = $event }, { default: withCtx(() => [ (openBlock(true), createBlock(Fragment, null, renderList(unref(consultationType), (item, index2) => { return openBlock(), createBlock(_component_el_radio_button, { label: item.categoryName, value: item.categoryName, key: index2 }, null, 8, ["label", "value"]); }), 128)) ]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }), createVNode(_component_el_row, { gutter: 20 }, { default: withCtx(() => [ createVNode(_component_el_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_el_form_item, { label: "姓名", prop: "consultName" }, { default: withCtx(() => [ createVNode(_component_el_input, { modelValue: unref(ruleform).consultName, "onUpdate:modelValue": ($event) => unref(ruleform).consultName = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]), _: 1 }), createVNode(_component_el_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_el_form_item, { label: "联系电话", prop: "consultPhone" }, { default: withCtx(() => [ createVNode(_component_el_input, { modelValue: unref(ruleform).consultPhone, "onUpdate:modelValue": ($event) => unref(ruleform).consultPhone = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]), _: 1 }), createVNode(_component_el_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_el_form_item, { label: "邮箱", prop: "mail" }, { default: withCtx(() => [ createVNode(_component_el_input, { modelValue: unref(ruleform).mail, "onUpdate:modelValue": ($event) => unref(ruleform).mail = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]), _: 1 }), createVNode(_component_el_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_el_form_item, { label: "公司", prop: "company" }, { default: withCtx(() => [ createVNode(_component_el_input, { modelValue: unref(ruleform).company, "onUpdate:modelValue": ($event) => unref(ruleform).company = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]), _: 1 }) ]), _: 1 }), createVNode(_component_el_form_item, { label: "需求描述", prop: "consultContent" }, { default: withCtx(() => [ createVNode(_component_el_input, { type: "textarea", modelValue: unref(ruleform).consultContent, "onUpdate:modelValue": ($event) => unref(ruleform).consultContent = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]; } }), _: 1 }, _parent2, _scopeId)); _push2(``); _push2(ssrRenderComponent(_component_el_button, { onClick: ($event) => handle("close") }, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(`取 消`); } else { return [ createTextVNode("取 消") ]; } }), _: 1 }, _parent2, _scopeId)); _push2(ssrRenderComponent(_component_el_button, { type: "primary", onClick: ($event) => handle("submit") }, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(`提 交`); } else { return [ createTextVNode("提 交") ]; } }), _: 1 }, _parent2, _scopeId)); _push2(``); } else { return [ createVNode(_component_el_form, { model: unref(ruleform), rules: unref(rules), ref: "form", "label-width": "80px", class: "demo-ruleform" }, { default: withCtx(() => [ createVNode(_component_el_form_item, { label: "", prop: "ruleform.platName", style: {}, class: "dialogTypeLabel" }, { default: withCtx(() => [ createVNode(_component_el_radio_group, { modelValue: platName.value, "onUpdate:modelValue": ($event) => platName.value = $event }, { default: withCtx(() => [ (openBlock(true), createBlock(Fragment, null, renderList(unref(consultationType), (item, index2) => { return openBlock(), createBlock(_component_el_radio_button, { label: item.categoryName, value: item.categoryName, key: index2 }, null, 8, ["label", "value"]); }), 128)) ]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }), createVNode(_component_el_row, { gutter: 20 }, { default: withCtx(() => [ createVNode(_component_el_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_el_form_item, { label: "姓名", prop: "consultName" }, { default: withCtx(() => [ createVNode(_component_el_input, { modelValue: unref(ruleform).consultName, "onUpdate:modelValue": ($event) => unref(ruleform).consultName = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]), _: 1 }), createVNode(_component_el_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_el_form_item, { label: "联系电话", prop: "consultPhone" }, { default: withCtx(() => [ createVNode(_component_el_input, { modelValue: unref(ruleform).consultPhone, "onUpdate:modelValue": ($event) => unref(ruleform).consultPhone = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]), _: 1 }), createVNode(_component_el_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_el_form_item, { label: "邮箱", prop: "mail" }, { default: withCtx(() => [ createVNode(_component_el_input, { modelValue: unref(ruleform).mail, "onUpdate:modelValue": ($event) => unref(ruleform).mail = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]), _: 1 }), createVNode(_component_el_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_el_form_item, { label: "公司", prop: "company" }, { default: withCtx(() => [ createVNode(_component_el_input, { modelValue: unref(ruleform).company, "onUpdate:modelValue": ($event) => unref(ruleform).company = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]), _: 1 }) ]), _: 1 }), createVNode(_component_el_form_item, { label: "需求描述", prop: "consultContent" }, { default: withCtx(() => [ createVNode(_component_el_input, { type: "textarea", modelValue: unref(ruleform).consultContent, "onUpdate:modelValue": ($event) => unref(ruleform).consultContent = $event }, null, 8, ["modelValue", "onUpdate:modelValue"]) ]), _: 1 }) ]), _: 1 }, 8, ["model", "rules"]), createVNode("span", { slot: "footer", class: "dialog-footer", style: { "width": "100%", "text-align": "center" } }, [ createVNode(_component_el_button, { onClick: ($event) => handle("close") }, { default: withCtx(() => [ createTextVNode("取 消") ]), _: 1 }, 8, ["onClick"]), createVNode(_component_el_button, { type: "primary", onClick: ($event) => handle("submit") }, { default: withCtx(() => [ createTextVNode("提 交") ]), _: 1 }, 8, ["onClick"]) ]) ]; } }), _: 1 }, _parent)); }; } }); const _sfc_setup$1 = _sfc_main$1.setup; _sfc_main$1.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/components/layout/dialogPersonal.vue"); return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0; }; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "App", __ssrInlineRender: true, setup(__props) { const store2 = useStore(); function setDialogPersonalStatus() { store2.commit("setDialogPersonalStatus", false); } return (_ctx, _push, _parent, _attrs) => { const _component_router_view = resolveComponent("router-view"); _push(``); _push(ssrRenderComponent(_sfc_main$4, null, null, _parent)); _push(ssrRenderComponent(_component_router_view, null, null, _parent)); _push(ssrRenderComponent(_sfc_main$2, null, null, _parent)); _push(ssrRenderComponent(footerCommon, null, null, _parent)); _push(ssrRenderComponent(_sfc_main$1, { data: unref(store2).state.dialogPersonalStatus, onSetDialogPersonalStatus: setDialogPersonalStatus }, null, _parent)); _push(``); }; } }); const _sfc_setup = _sfc_main.setup; _sfc_main.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/App.vue"); return _sfc_setup ? _sfc_setup(props, ctx) : void 0; }; const store = createStore({ state: { menuList: [], //菜单列表 pageContent: [], //页面主体内容(不包含banner) recomMendation: [], //推荐内容 currentPagePath: "", //当前页名称 acitveId: 0, //客户案例类型切换活动id sub: 0, //当前页下标 columnTypes: [], //页面下属类型 scrollUp: { //返回顶部 opacity: 0, visibility: "hidden", scrollTo: 0 }, route: {}, //跳转数据 //分页数据 pagination: { total: 0, size: 10, count: 1 }, meta: { title: void 0, keywords: void 0, description: void 0 }, dialogPersonalStatus: false //弹框状态 }, mutations: { //菜单列表 setMenuList(state, data) { state.menuList = data; return state.menuList; }, //页面主体内容 setPageData(state, data) { state.pageContent = data.records; state.pagination.total = data.total; return state.pageContent, state.pagination; }, // setCurrentPagePathOrSub(state, data) { state.currentPagePath = data.index; state.sub = data.sub; return state.index, state.sub; }, //子页面活动状态 setAcitveId(state, data) { state.acitveId = data; return state.acitveId; }, //推荐内容 setRecomMendation(state, data) { state.recomMendation = data; return state.recomMendation; }, //设置弹框状态 setDialogPersonalStatus(state, data) { state.dialogPersonalStatus = data; return state.dialogPersonalStatus; }, //设置页面下属类型 setColumnTypes(state, data) { state.columnTypes = data; return state.columnTypes; }, //设置跳转路由参数 setRoute(state, data) { state.route = data; return state.route; }, //设置meta setMeta(state, data) { state.meta = data; return state.meta; } }, actions: { getMenuList({ commit }, params) { return new Promise((resolve) => { getMenu().then((res) => { let data = []; for (let i = 0; i < res.data.length; i++) { data.push(res.data[i]); if (data[i].categoryStyle == 1) { data[i].path = "/index"; if (data[i].children.length > 0) { for (let ii = 0; ii < data[i].children.length; ii++) { data[i].children[ii].path = "/index?categoryid=" + data[i].children[ii].id; } } } if (data[i].categoryStyle == 2) { data[i].path = "/cases"; if (data[i].children.length > 0) { for (let ii = 0; ii < data[i].children.length; ii++) { data[i].children[ii].path = "/cases?categoryid=" + data[i].children[ii].id; } } } if (data[i].categoryStyle == 3) { data[i].path = "/services"; if (data[i].children.length > 0) { for (let ii = 0; ii < data[i].children.length; ii++) { data[i].children[ii].path = "/services?categoryid=" + data[i].children[ii].id; } } } if (data[i].categoryStyle == 4) { data[i].path = "/news"; if (data[i].children.length > 0) { for (let ii = 0; ii < data[i].children.length; ii++) { data[i].children[ii].path = "/news?categoryid=" + data[i].children[ii].id; } } } if (data[i].categoryStyle == 5) { data[i].path = "/about"; if (data[i].children.length > 0) { for (let ii = 0; ii < data[i].children.length; ii++) { data[i].children[ii].path = "/about?categoryid=" + data[i].children[ii].id; } } } } const menuList = res.data; for (let i = 0; i < menuList.length; i++) { if (menuList[i].path == params.path && !params.query.categoryid) { if (!params.query.dup && !menuList[i].sname) { commit("setMeta", { title: menuList[i].categoryName, keywords: menuList[i].metakeywords, description: menuList[i].metadescription }); } else if (params.query.dup && menuList[i].sname) { commit("setMeta", { title: menuList[i].categoryName, keywords: menuList[i].metakeywords, description: menuList[i].metadescription }); } } else if (menuList[i].children.length > 0) { for (let ii = 0; ii < menuList[i].children.length; ii++) { if (!params.query.dup) { if (`${menuList[i].children[ii].path}` == `${params.path}?categoryid=${params.query.categoryid}`) { commit("setMeta", { title: menuList[i].children[ii].categoryName, keywords: menuList[i].children[ii].metakeywords, description: menuList[i].children[ii].metadescription }); } } if (!params.query.dup) { let path = menuList[i].children[ii].path.split("?"); if (`${path[0]}?dup=${menuList[i].children[ii].sname}` == `${params.path}?dup=${params.query.dup}`) { commit("setMeta", { title: menuList[i].children[ii].categoryName, keywords: menuList[i].children[ii].metakeywords, description: menuList[i].children[ii].metadescription }); } } } } } commit("setMenuList", res.data); resolve(true); }); }); }, /** * 获取页面数据 * @param data.params 传参 * @param data.index 页面 * @param data.sub 页面下标 * @returns */ getPageData({ commit }, data) { return new Promise((resolve) => { var _a, _b; if (data.index || data.sub) { commit("setCurrentPagePathOrSub", { index: data.index, sub: data.sub }); } 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) { commit("setAcitveId", data.params.categoryid); } getPageContent(data.params).then((res) => { commit("setPageData", res.data); resolve(true); }); if ((_b = data.params) == null ? void 0 : _b.details) { let params = JSON.parse(JSON.stringify(data.params)); delete params.articleid; params.pageSize = 100; delete params.id; delete params.details; getPageContent(params).then((res) => { commit("setRecomMendation", res.data.records); resolve(true); }); } }); } } }); const index = () => import("./assets/index-DfZLVsT6.js"); const cases = () => import("./assets/index-Cd8diddm.js"); const cases_Read = () => import("./assets/read-CxBebMCP.js"); const services = () => import("./assets/index-FlmO7MWO.js"); const services_Read = () => import("./assets/read-DPwASZZ4.js"); const news = () => import("./assets/index-W3bawb76.js"); const news_Read = () => import("./assets/read-BmtMNrlK.js"); const about = () => import("./assets/index-Ct9SopTg.js"); const routes = [ { path: "/index", name: "首页", component: index, meta: { title: "首页", keepAlive: false } }, { path: "/cases", name: "客户案例", component: cases, meta: { title: "客户案例", keepAlive: false } }, { path: "/cases_Read", name: "案例详情页", component: cases_Read, meta: { title: "案例详情页", keepAlive: false } }, { path: "/services", name: "产品服务", component: services, meta: { title: "产品服务", keepAlive: false } }, { path: "/services_Read", name: "产品详情页", component: services_Read, meta: { title: "产品详情页", keepAlive: false } }, { path: "/news", name: "新闻动态", component: news, meta: { title: "新闻动态", keepAlive: false } }, { path: "/news_Read", name: "新闻详情", component: news_Read, meta: { title: "新闻详情", keepAlive: false } }, { path: "/about", name: "关于永天", component: about, meta: { title: "关于永天", keepAlive: false } } ]; function createSSRRouter() { return createRouter({ history: createMemoryHistory(), routes }); } const router = createSSRRouter(); function createApp() { const app = createSSRApp(_sfc_main); app.use(router); app.use(store); app.use(ElementPlus); app.use(lazyPlugin, { loading: "loading.gif", error: "error.png" }); return { app, router, store }; } async function render(url, manifest) { const { app, router: router2, store: store2 } = createApp(); await router2.push(url); await router2.isReady(); const matchedComponents = router2.currentRoute.value.matched.flatMap((record) => Object.values(record.components)); await Promise.all(matchedComponents.map((Component) => { if (Component.asyncData) { return Component.asyncData({ store: store2, route: router2.currentRoute }); } })); const context = {}; const appHtml = await renderToString(app, context); const state = store2.state; { const preloadLinks = renderLinks(context.modules, manifest); return { appHtml, state, preloadLinks }; } } function renderLinks(modules, manifest) { let links = ""; modules.forEach((id) => { if (id) { const files = manifest[id]; if (files) { files.forEach((file) => { links += renderPreloadLink(file); }); } } }); return links; } function renderPreloadLink(file) { if (file.endsWith(".js")) { return ``; } else if (file.endsWith(".css")) { return ``; } else if (file.endsWith(".woff")) { return ``; } else if (file.endsWith(".woff2")) { return ``; } else if (file.endsWith(".gif")) { return ``; } else if (file.endsWith(".jpg")) { return ``; } else if (file.endsWith(".png")) { return ``; } else { return ""; } } export { _export_sfc as _, render };