import { a as _export_sfc, e as useRoute, d as useRouter, c as useHead, _ as __nuxt_component_0 } from './server.mjs'; import { defineComponent, computed, ref, resolveComponent, mergeProps, withCtx, createTextVNode, createVNode, unref, createBlock, openBlock, toDisplayString, createCommentVNode, isRef, Fragment, renderList, useSSRContext } from 'vue'; import { ssrRenderAttrs, ssrRenderComponent, ssrRenderAttr, ssrInterpolate, ssrRenderList } from 'vue/server-renderer'; import { message } from 'ant-design-vue'; import '../nitro/nitro.mjs'; import 'node:http'; import 'node:https'; import 'node:events'; import 'node:buffer'; import 'node:fs'; import 'node:path'; import 'node:crypto'; import 'node:url'; import 'better-sqlite3'; import 'vue-router'; import '@babel/runtime/helpers/esm/extends'; import 'stylis'; import 'dayjs'; import '../routes/renderer.mjs'; import 'vue-bundle-renderer/runtime'; import 'unhead/server'; import 'devalue'; import 'unhead/plugins'; import 'unhead/utils'; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "[id]", __ssrInlineRender: true, setup(__props) { const route = useRoute(); const router = useRouter(); computed(() => route.params.id); const loading = ref(true); const activeTab = ref("intro"); const expert = ref({}); const expertArticles = ref([]); useHead({ title: computed(() => `${expert.value?.name || "专家详情"} - 决策咨询网`) }); function handleConsult() { message.info("请先联系我们预约咨询服务"); } function goArticle(item) { router.push(`/article/${item.id}`); } return (_ctx, _push, _parent, _attrs) => { const _component_a_breadcrumb = resolveComponent("a-breadcrumb"); const _component_a_breadcrumb_item = resolveComponent("a-breadcrumb-item"); const _component_NuxtLink = __nuxt_component_0; const _component_a_skeleton = resolveComponent("a-skeleton"); const _component_a_row = resolveComponent("a-row"); const _component_a_col = resolveComponent("a-col"); const _component_a_button = resolveComponent("a-button"); const _component_a_tabs = resolveComponent("a-tabs"); const _component_a_tab_pane = resolveComponent("a-tab-pane"); const _component_a_empty = resolveComponent("a-empty"); _push(`
`); _push(ssrRenderComponent(_component_a_breadcrumb, { class: "mb-6" }, { default: withCtx((_, _push2, _parent2, _scopeId) => { if (_push2) { _push2(ssrRenderComponent(_component_a_breadcrumb_item, null, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(ssrRenderComponent(_component_NuxtLink, { to: "/" }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(`首页`); } else { return [ createTextVNode("首页") ]; } }), _: 1 }, _parent3, _scopeId2)); } else { return [ createVNode(_component_NuxtLink, { to: "/" }, { default: withCtx(() => [ createTextVNode("首页") ]), _: 1 }) ]; } }), _: 1 }, _parent2, _scopeId)); _push2(ssrRenderComponent(_component_a_breadcrumb_item, null, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(ssrRenderComponent(_component_NuxtLink, { to: "/expert" }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(`专家资讯`); } else { return [ createTextVNode("专家资讯") ]; } }), _: 1 }, _parent3, _scopeId2)); } else { return [ createVNode(_component_NuxtLink, { to: "/expert" }, { default: withCtx(() => [ createTextVNode("专家资讯") ]), _: 1 }) ]; } }), _: 1 }, _parent2, _scopeId)); _push2(ssrRenderComponent(_component_a_breadcrumb_item, null, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(`专家详情`); } else { return [ createTextVNode("专家详情") ]; } }), _: 1 }, _parent2, _scopeId)); } else { return [ createVNode(_component_a_breadcrumb_item, null, { default: withCtx(() => [ createVNode(_component_NuxtLink, { to: "/" }, { default: withCtx(() => [ createTextVNode("首页") ]), _: 1 }) ]), _: 1 }), createVNode(_component_a_breadcrumb_item, null, { default: withCtx(() => [ createVNode(_component_NuxtLink, { to: "/expert" }, { default: withCtx(() => [ createTextVNode("专家资讯") ]), _: 1 }) ]), _: 1 }), createVNode(_component_a_breadcrumb_item, null, { default: withCtx(() => [ createTextVNode("专家详情") ]), _: 1 }) ]; } }), _: 1 }, _parent)); if (unref(loading)) { _push(`
`); _push(ssrRenderComponent(_component_a_skeleton, { active: "", avatar: "", paragraph: { rows: 6 } }, null, _parent)); _push(`
`); } else { _push(`
`); _push(ssrRenderComponent(_component_a_row, { gutter: [32, 24] }, { default: withCtx((_, _push2, _parent2, _scopeId) => { if (_push2) { _push2(ssrRenderComponent(_component_a_col, { xs: 24, lg: 7 }, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(`
`); if (unref(expert).avatar) { _push3(``); } else { _push3(`
${ssrInterpolate(unref(expert).name?.charAt(0))}
`); } _push3(`

${ssrInterpolate(unref(expert).name)}

${ssrInterpolate(unref(expert).title)}
${ssrInterpolate(unref(expert).organization)}
`); if (unref(expert).researchArea) { _push3(`
研究领域${ssrInterpolate(unref(expert).researchArea)}
`); } else { _push3(``); } if (unref(expert).education) { _push3(`
学历${ssrInterpolate(unref(expert).education)}
`); } else { _push3(``); } if (unref(expert).joinTime) { _push3(`
入库时间${ssrInterpolate(unref(expert).joinTime)}
`); } else { _push3(``); } _push3(`
`); _push3(ssrRenderComponent(_component_a_button, { type: "primary", block: "", size: "large", class: "mt-4", onClick: handleConsult }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(` 预约咨询 `); } else { return [ createTextVNode(" 预约咨询 ") ]; } }), _: 1 }, _parent3, _scopeId2)); _push3(`
`); } else { return [ createVNode("div", { class: "expert-card" }, [ createVNode("div", { class: "expert-avatar-wrapper" }, [ unref(expert).avatar ? (openBlock(), createBlock("img", { key: 0, src: unref(expert).avatar, alt: unref(expert).name, class: "expert-avatar" }, null, 8, ["src", "alt"])) : (openBlock(), createBlock("div", { key: 1, class: "expert-avatar-placeholder" }, toDisplayString(unref(expert).name?.charAt(0)), 1)) ]), createVNode("h2", { class: "expert-name" }, toDisplayString(unref(expert).name), 1), createVNode("div", { class: "expert-title-tag" }, toDisplayString(unref(expert).title), 1), createVNode("div", { class: "expert-org" }, toDisplayString(unref(expert).organization), 1), createVNode("div", { class: "expert-info-list" }, [ unref(expert).researchArea ? (openBlock(), createBlock("div", { key: 0, class: "info-item" }, [ createVNode("span", { class: "info-label" }, "研究领域"), createVNode("span", { class: "info-value" }, toDisplayString(unref(expert).researchArea), 1) ])) : createCommentVNode("", true), unref(expert).education ? (openBlock(), createBlock("div", { key: 1, class: "info-item" }, [ createVNode("span", { class: "info-label" }, "学历"), createVNode("span", { class: "info-value" }, toDisplayString(unref(expert).education), 1) ])) : createCommentVNode("", true), unref(expert).joinTime ? (openBlock(), createBlock("div", { key: 2, class: "info-item" }, [ createVNode("span", { class: "info-label" }, "入库时间"), createVNode("span", { class: "info-value" }, toDisplayString(unref(expert).joinTime), 1) ])) : createCommentVNode("", true) ]), createVNode(_component_a_button, { type: "primary", block: "", size: "large", class: "mt-4", onClick: handleConsult }, { default: withCtx(() => [ createTextVNode(" 预约咨询 ") ]), _: 1 }) ]) ]; } }), _: 1 }, _parent2, _scopeId)); _push2(ssrRenderComponent(_component_a_col, { xs: 24, lg: 17 }, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(`
`); _push3(ssrRenderComponent(_component_a_tabs, { activeKey: unref(activeTab), "onUpdate:activeKey": ($event) => isRef(activeTab) ? activeTab.value = $event : null }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(ssrRenderComponent(_component_a_tab_pane, { key: "intro", tab: "专家简介" }, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(`

个人简介

${ssrInterpolate(unref(expert).introduction || "暂无简介")}

主要成就

    `); ssrRenderList(unref(expert).achievements, (item, idx) => { _push5(`
  • ${ssrInterpolate(item)}
  • `); }); _push5(`

荣誉奖项

`); ssrRenderList(unref(expert).honors, (honor, idx) => { _push5(`
🏆${ssrInterpolate(honor)}
`); }); _push5(`
`); } else { return [ createVNode("div", { class: "tab-content" }, [ createVNode("h3", { class: "section-title" }, "个人简介"), createVNode("p", { class: "intro-text" }, toDisplayString(unref(expert).introduction || "暂无简介"), 1), createVNode("h3", { class: "section-title mt-6" }, "主要成就"), createVNode("ul", { class: "achievement-list" }, [ (openBlock(true), createBlock(Fragment, null, renderList(unref(expert).achievements, (item, idx) => { return openBlock(), createBlock("li", { key: idx }, toDisplayString(item), 1); }), 128)) ]), createVNode("h3", { class: "section-title mt-6" }, "荣誉奖项"), createVNode("div", { class: "honors-grid" }, [ (openBlock(true), createBlock(Fragment, null, renderList(unref(expert).honors, (honor, idx) => { return openBlock(), createBlock("div", { key: idx, class: "honor-item" }, [ createVNode("span", { class: "honor-icon" }, "🏆"), createVNode("span", null, toDisplayString(honor), 1) ]); }), 128)) ]) ]) ]; } }), _: 1 }, _parent4, _scopeId3)); _push4(ssrRenderComponent(_component_a_tab_pane, { key: "articles", tab: "专家文章" }, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(`
`); if (unref(expertArticles).length === 0) { _push5(`
`); _push5(ssrRenderComponent(_component_a_empty, { description: "暂无文章" }, null, _parent5, _scopeId4)); _push5(`
`); } else { _push5(``); } _push5(`
`); ssrRenderList(unref(expertArticles), (item) => { _push5(`
`); if (item.image) { _push5(`
`); } else { _push5(``); } _push5(`
`); }); _push5(`
`); } else { return [ createVNode("div", { class: "tab-content" }, [ unref(expertArticles).length === 0 ? (openBlock(), createBlock("div", { key: 0, class: "empty-state" }, [ createVNode(_component_a_empty, { description: "暂无文章" }) ])) : createCommentVNode("", true), createVNode("div", { class: "article-list" }, [ (openBlock(true), createBlock(Fragment, null, renderList(unref(expertArticles), (item) => { return openBlock(), createBlock("div", { key: item.id, class: "article-item", onClick: ($event) => goArticle(item) }, [ item.image ? (openBlock(), createBlock("div", { key: 0, class: "article-thumb" }, [ createVNode("img", { src: item.image, alt: item.title }, null, 8, ["src", "alt"]) ])) : createCommentVNode("", true), createVNode("div", { class: "article-info" }, [ createVNode("h4", { class: "article-title" }, toDisplayString(item.title), 1), createVNode("p", { class: "article-overview" }, toDisplayString(item.overview), 1), createVNode("span", { class: "article-date" }, toDisplayString(item.date), 1) ]) ], 8, ["onClick"]); }), 128)) ]) ]) ]; } }), _: 1 }, _parent4, _scopeId3)); _push4(ssrRenderComponent(_component_a_tab_pane, { key: "research", tab: "研究成果" }, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(`
`); if (unref(expert).researchResults && unref(expert).researchResults.length) { _push5(`
`); ssrRenderList(unref(expert).researchResults, (result, idx) => { _push5(`
${ssrInterpolate(result.year)}

${ssrInterpolate(result.title)}

${ssrInterpolate(result.description)}

`); }); _push5(`
`); } else { _push5(ssrRenderComponent(_component_a_empty, { description: "暂无研究成果" }, null, _parent5, _scopeId4)); } _push5(`
`); } else { return [ createVNode("div", { class: "tab-content" }, [ unref(expert).researchResults && unref(expert).researchResults.length ? (openBlock(), createBlock("div", { key: 0 }, [ (openBlock(true), createBlock(Fragment, null, renderList(unref(expert).researchResults, (result, idx) => { return openBlock(), createBlock("div", { key: idx, class: "research-item" }, [ createVNode("span", { class: "research-year" }, toDisplayString(result.year), 1), createVNode("div", { class: "research-content" }, [ createVNode("h4", null, toDisplayString(result.title), 1), createVNode("p", null, toDisplayString(result.description), 1) ]) ]); }), 128)) ])) : (openBlock(), createBlock(_component_a_empty, { key: 1, description: "暂无研究成果" })) ]) ]; } }), _: 1 }, _parent4, _scopeId3)); } else { return [ createVNode(_component_a_tab_pane, { key: "intro", tab: "专家简介" }, { default: withCtx(() => [ createVNode("div", { class: "tab-content" }, [ createVNode("h3", { class: "section-title" }, "个人简介"), createVNode("p", { class: "intro-text" }, toDisplayString(unref(expert).introduction || "暂无简介"), 1), createVNode("h3", { class: "section-title mt-6" }, "主要成就"), createVNode("ul", { class: "achievement-list" }, [ (openBlock(true), createBlock(Fragment, null, renderList(unref(expert).achievements, (item, idx) => { return openBlock(), createBlock("li", { key: idx }, toDisplayString(item), 1); }), 128)) ]), createVNode("h3", { class: "section-title mt-6" }, "荣誉奖项"), createVNode("div", { class: "honors-grid" }, [ (openBlock(true), createBlock(Fragment, null, renderList(unref(expert).honors, (honor, idx) => { return openBlock(), createBlock("div", { key: idx, class: "honor-item" }, [ createVNode("span", { class: "honor-icon" }, "🏆"), createVNode("span", null, toDisplayString(honor), 1) ]); }), 128)) ]) ]) ]), _: 1 }), createVNode(_component_a_tab_pane, { key: "articles", tab: "专家文章" }, { default: withCtx(() => [ createVNode("div", { class: "tab-content" }, [ unref(expertArticles).length === 0 ? (openBlock(), createBlock("div", { key: 0, class: "empty-state" }, [ createVNode(_component_a_empty, { description: "暂无文章" }) ])) : createCommentVNode("", true), createVNode("div", { class: "article-list" }, [ (openBlock(true), createBlock(Fragment, null, renderList(unref(expertArticles), (item) => { return openBlock(), createBlock("div", { key: item.id, class: "article-item", onClick: ($event) => goArticle(item) }, [ item.image ? (openBlock(), createBlock("div", { key: 0, class: "article-thumb" }, [ createVNode("img", { src: item.image, alt: item.title }, null, 8, ["src", "alt"]) ])) : createCommentVNode("", true), createVNode("div", { class: "article-info" }, [ createVNode("h4", { class: "article-title" }, toDisplayString(item.title), 1), createVNode("p", { class: "article-overview" }, toDisplayString(item.overview), 1), createVNode("span", { class: "article-date" }, toDisplayString(item.date), 1) ]) ], 8, ["onClick"]); }), 128)) ]) ]) ]), _: 1 }), createVNode(_component_a_tab_pane, { key: "research", tab: "研究成果" }, { default: withCtx(() => [ createVNode("div", { class: "tab-content" }, [ unref(expert).researchResults && unref(expert).researchResults.length ? (openBlock(), createBlock("div", { key: 0 }, [ (openBlock(true), createBlock(Fragment, null, renderList(unref(expert).researchResults, (result, idx) => { return openBlock(), createBlock("div", { key: idx, class: "research-item" }, [ createVNode("span", { class: "research-year" }, toDisplayString(result.year), 1), createVNode("div", { class: "research-content" }, [ createVNode("h4", null, toDisplayString(result.title), 1), createVNode("p", null, toDisplayString(result.description), 1) ]) ]); }), 128)) ])) : (openBlock(), createBlock(_component_a_empty, { key: 1, description: "暂无研究成果" })) ]) ]), _: 1 }) ]; } }), _: 1 }, _parent3, _scopeId2)); _push3(`
`); } else { return [ createVNode("div", { class: "expert-content-card" }, [ createVNode(_component_a_tabs, { activeKey: unref(activeTab), "onUpdate:activeKey": ($event) => isRef(activeTab) ? activeTab.value = $event : null }, { default: withCtx(() => [ createVNode(_component_a_tab_pane, { key: "intro", tab: "专家简介" }, { default: withCtx(() => [ createVNode("div", { class: "tab-content" }, [ createVNode("h3", { class: "section-title" }, "个人简介"), createVNode("p", { class: "intro-text" }, toDisplayString(unref(expert).introduction || "暂无简介"), 1), createVNode("h3", { class: "section-title mt-6" }, "主要成就"), createVNode("ul", { class: "achievement-list" }, [ (openBlock(true), createBlock(Fragment, null, renderList(unref(expert).achievements, (item, idx) => { return openBlock(), createBlock("li", { key: idx }, toDisplayString(item), 1); }), 128)) ]), createVNode("h3", { class: "section-title mt-6" }, "荣誉奖项"), createVNode("div", { class: "honors-grid" }, [ (openBlock(true), createBlock(Fragment, null, renderList(unref(expert).honors, (honor, idx) => { return openBlock(), createBlock("div", { key: idx, class: "honor-item" }, [ createVNode("span", { class: "honor-icon" }, "🏆"), createVNode("span", null, toDisplayString(honor), 1) ]); }), 128)) ]) ]) ]), _: 1 }), createVNode(_component_a_tab_pane, { key: "articles", tab: "专家文章" }, { default: withCtx(() => [ createVNode("div", { class: "tab-content" }, [ unref(expertArticles).length === 0 ? (openBlock(), createBlock("div", { key: 0, class: "empty-state" }, [ createVNode(_component_a_empty, { description: "暂无文章" }) ])) : createCommentVNode("", true), createVNode("div", { class: "article-list" }, [ (openBlock(true), createBlock(Fragment, null, renderList(unref(expertArticles), (item) => { return openBlock(), createBlock("div", { key: item.id, class: "article-item", onClick: ($event) => goArticle(item) }, [ item.image ? (openBlock(), createBlock("div", { key: 0, class: "article-thumb" }, [ createVNode("img", { src: item.image, alt: item.title }, null, 8, ["src", "alt"]) ])) : createCommentVNode("", true), createVNode("div", { class: "article-info" }, [ createVNode("h4", { class: "article-title" }, toDisplayString(item.title), 1), createVNode("p", { class: "article-overview" }, toDisplayString(item.overview), 1), createVNode("span", { class: "article-date" }, toDisplayString(item.date), 1) ]) ], 8, ["onClick"]); }), 128)) ]) ]) ]), _: 1 }), createVNode(_component_a_tab_pane, { key: "research", tab: "研究成果" }, { default: withCtx(() => [ createVNode("div", { class: "tab-content" }, [ unref(expert).researchResults && unref(expert).researchResults.length ? (openBlock(), createBlock("div", { key: 0 }, [ (openBlock(true), createBlock(Fragment, null, renderList(unref(expert).researchResults, (result, idx) => { return openBlock(), createBlock("div", { key: idx, class: "research-item" }, [ createVNode("span", { class: "research-year" }, toDisplayString(result.year), 1), createVNode("div", { class: "research-content" }, [ createVNode("h4", null, toDisplayString(result.title), 1), createVNode("p", null, toDisplayString(result.description), 1) ]) ]); }), 128)) ])) : (openBlock(), createBlock(_component_a_empty, { key: 1, description: "暂无研究成果" })) ]) ]), _: 1 }) ]), _: 1 }, 8, ["activeKey", "onUpdate:activeKey"]) ]) ]; } }), _: 1 }, _parent2, _scopeId)); } else { return [ createVNode(_component_a_col, { xs: 24, lg: 7 }, { default: withCtx(() => [ createVNode("div", { class: "expert-card" }, [ createVNode("div", { class: "expert-avatar-wrapper" }, [ unref(expert).avatar ? (openBlock(), createBlock("img", { key: 0, src: unref(expert).avatar, alt: unref(expert).name, class: "expert-avatar" }, null, 8, ["src", "alt"])) : (openBlock(), createBlock("div", { key: 1, class: "expert-avatar-placeholder" }, toDisplayString(unref(expert).name?.charAt(0)), 1)) ]), createVNode("h2", { class: "expert-name" }, toDisplayString(unref(expert).name), 1), createVNode("div", { class: "expert-title-tag" }, toDisplayString(unref(expert).title), 1), createVNode("div", { class: "expert-org" }, toDisplayString(unref(expert).organization), 1), createVNode("div", { class: "expert-info-list" }, [ unref(expert).researchArea ? (openBlock(), createBlock("div", { key: 0, class: "info-item" }, [ createVNode("span", { class: "info-label" }, "研究领域"), createVNode("span", { class: "info-value" }, toDisplayString(unref(expert).researchArea), 1) ])) : createCommentVNode("", true), unref(expert).education ? (openBlock(), createBlock("div", { key: 1, class: "info-item" }, [ createVNode("span", { class: "info-label" }, "学历"), createVNode("span", { class: "info-value" }, toDisplayString(unref(expert).education), 1) ])) : createCommentVNode("", true), unref(expert).joinTime ? (openBlock(), createBlock("div", { key: 2, class: "info-item" }, [ createVNode("span", { class: "info-label" }, "入库时间"), createVNode("span", { class: "info-value" }, toDisplayString(unref(expert).joinTime), 1) ])) : createCommentVNode("", true) ]), createVNode(_component_a_button, { type: "primary", block: "", size: "large", class: "mt-4", onClick: handleConsult }, { default: withCtx(() => [ createTextVNode(" 预约咨询 ") ]), _: 1 }) ]) ]), _: 1 }), createVNode(_component_a_col, { xs: 24, lg: 17 }, { default: withCtx(() => [ createVNode("div", { class: "expert-content-card" }, [ createVNode(_component_a_tabs, { activeKey: unref(activeTab), "onUpdate:activeKey": ($event) => isRef(activeTab) ? activeTab.value = $event : null }, { default: withCtx(() => [ createVNode(_component_a_tab_pane, { key: "intro", tab: "专家简介" }, { default: withCtx(() => [ createVNode("div", { class: "tab-content" }, [ createVNode("h3", { class: "section-title" }, "个人简介"), createVNode("p", { class: "intro-text" }, toDisplayString(unref(expert).introduction || "暂无简介"), 1), createVNode("h3", { class: "section-title mt-6" }, "主要成就"), createVNode("ul", { class: "achievement-list" }, [ (openBlock(true), createBlock(Fragment, null, renderList(unref(expert).achievements, (item, idx) => { return openBlock(), createBlock("li", { key: idx }, toDisplayString(item), 1); }), 128)) ]), createVNode("h3", { class: "section-title mt-6" }, "荣誉奖项"), createVNode("div", { class: "honors-grid" }, [ (openBlock(true), createBlock(Fragment, null, renderList(unref(expert).honors, (honor, idx) => { return openBlock(), createBlock("div", { key: idx, class: "honor-item" }, [ createVNode("span", { class: "honor-icon" }, "🏆"), createVNode("span", null, toDisplayString(honor), 1) ]); }), 128)) ]) ]) ]), _: 1 }), createVNode(_component_a_tab_pane, { key: "articles", tab: "专家文章" }, { default: withCtx(() => [ createVNode("div", { class: "tab-content" }, [ unref(expertArticles).length === 0 ? (openBlock(), createBlock("div", { key: 0, class: "empty-state" }, [ createVNode(_component_a_empty, { description: "暂无文章" }) ])) : createCommentVNode("", true), createVNode("div", { class: "article-list" }, [ (openBlock(true), createBlock(Fragment, null, renderList(unref(expertArticles), (item) => { return openBlock(), createBlock("div", { key: item.id, class: "article-item", onClick: ($event) => goArticle(item) }, [ item.image ? (openBlock(), createBlock("div", { key: 0, class: "article-thumb" }, [ createVNode("img", { src: item.image, alt: item.title }, null, 8, ["src", "alt"]) ])) : createCommentVNode("", true), createVNode("div", { class: "article-info" }, [ createVNode("h4", { class: "article-title" }, toDisplayString(item.title), 1), createVNode("p", { class: "article-overview" }, toDisplayString(item.overview), 1), createVNode("span", { class: "article-date" }, toDisplayString(item.date), 1) ]) ], 8, ["onClick"]); }), 128)) ]) ]) ]), _: 1 }), createVNode(_component_a_tab_pane, { key: "research", tab: "研究成果" }, { default: withCtx(() => [ createVNode("div", { class: "tab-content" }, [ unref(expert).researchResults && unref(expert).researchResults.length ? (openBlock(), createBlock("div", { key: 0 }, [ (openBlock(true), createBlock(Fragment, null, renderList(unref(expert).researchResults, (result, idx) => { return openBlock(), createBlock("div", { key: idx, class: "research-item" }, [ createVNode("span", { class: "research-year" }, toDisplayString(result.year), 1), createVNode("div", { class: "research-content" }, [ createVNode("h4", null, toDisplayString(result.title), 1), createVNode("p", null, toDisplayString(result.description), 1) ]) ]); }), 128)) ])) : (openBlock(), createBlock(_component_a_empty, { key: 1, description: "暂无研究成果" })) ]) ]), _: 1 }) ]), _: 1 }, 8, ["activeKey", "onUpdate:activeKey"]) ]) ]), _: 1 }) ]; } }), _: 1 }, _parent)); _push(`
`); } _push(`
`); }; } }); const _sfc_setup = _sfc_main.setup; _sfc_main.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/expert/[id].vue"); return _sfc_setup ? _sfc_setup(props, ctx) : void 0; }; const _id_ = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b2657184"]]); export { _id_ as default }; //# sourceMappingURL=_id_-BqOla5il.mjs.map