import { _ as __nuxt_component_1 } from './CustomTitle-2eWUrzRV.mjs';
import { defineComponent, ref, mergeProps, unref, computed, watch, useSSRContext } from 'vue';
import { ssrRenderAttrs, ssrRenderComponent, ssrRenderClass, ssrInterpolate, ssrRenderAttr, ssrRenderList } from 'vue/server-renderer';
import { useRouter } from 'vue-router';
import { _ as _export_sfc, u as useRoute } from './server.mjs';
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
__name: "CompanyProfile",
__ssrInlineRender: true,
props: {
title: {
type: String,
default: "公司简介"
},
text: {
type: String,
default: ""
},
isShowMore: {
type: Boolean,
default: true
},
/** 正文响应式字号 class,不传则用默认(12/15/18/22/24px)。例:关于我们页传 xl:text-[16px] 等 */
bodySizeClass: {
type: String,
default: ""
}
},
emits: ["onClickMore"],
setup(__props, { emit: __emit }) {
useRouter();
useRoute();
const props = __props;
const dataList = ref([]);
dataList.value = [
{
name: "注册资本",
value: "500",
unit: "万"
},
{
name: "专业团队规模",
value: "1000+",
unit: "人"
},
{
name: "承接项目",
value: "35+",
unit: "个"
},
{
name: "管理面积",
value: "950W㎡+",
unit: ""
},
{
name: "年营收(元)",
value: "2600",
unit: "万"
},
{
name: "服务网络覆盖",
value: "4+",
unit: "省市"
}
];
return (_ctx, _push, _parent, _attrs) => {
const _component_CustomTitle = __nuxt_component_1;
_push(`
`);
_push(ssrRenderComponent(_component_CustomTitle, { title: __props.title }, null, _parent));
_push(`
${ssrInterpolate(__props.text)}
`);
if (__props.isShowMore) {
_push(`
`);
} else {
_push(``);
}
_push(`
![企业简介]()
`);
ssrRenderList(unref(dataList), (data, index) => {
_push(`
${ssrInterpolate(data.value)}${ssrInterpolate(data.unit)}
${ssrInterpolate(data.name)}
`);
});
_push(`
`);
};
}
});
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("components/CompanyProfile.vue");
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
};
const __nuxt_component_2 = /* @__PURE__ */ Object.assign(_export_sfc(_sfc_main$1, [["__scopeId", "data-v-38961b7c"]]), { __name: "CompanyProfile" });
const _sfc_main = /* @__PURE__ */ defineComponent({
__name: "QualificationHonor",
__ssrInlineRender: true,
props: {
isTimeline: { type: Boolean, default: false },
tabList: { default: () => [] },
honorsByCategory: { default: () => ({}) },
fullWidth: { type: Boolean, default: false }
},
setup(__props) {
const props = __props;
const activeTabId = ref(0);
const tabList = computed(() => props.tabList ?? []);
const certificateList = computed(() => {
const id = activeTabId.value;
const first = tabList.value[0];
if (!id && first) return props.honorsByCategory?.[first.id] ?? [];
return props.honorsByCategory?.[id] ?? [];
});
watch(
() => props.tabList,
(list) => {
const first = list?.[0];
if (first && activeTabId.value === 0) {
activeTabId.value = first.id;
}
},
{ immediate: true }
);
return (_ctx, _push, _parent, _attrs) => {
const _component_CustomTitle = __nuxt_component_1;
_push(``);
_push(ssrRenderComponent(_component_CustomTitle, { title: "资质荣誉" }, null, _parent));
_push(`
`);
ssrRenderList(tabList.value, (tab, index) => {
_push(`
${ssrInterpolate(tab.name)}
`);
});
_push(`
`);
if (!__props.isTimeline) {
_push(`
`);
ssrRenderList(certificateList.value, (certificate, index) => {
_push(`
${ssrInterpolate(certificate.name)} `);
});
_push(`
`);
} else {
_push(`
`);
}
_push(`
`);
};
}
});
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/QualificationHonor.vue");
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
const __nuxt_component_3 = /* @__PURE__ */ Object.assign(_export_sfc(_sfc_main, [["__scopeId", "data-v-8acf2dc5"]]), { __name: "QualificationHonor" });
export { __nuxt_component_2 as _, __nuxt_component_3 as a };
//# sourceMappingURL=QualificationHonor-WKOjdncI.mjs.map