72 lines
4.1 KiB
JavaScript
72 lines
4.1 KiB
JavaScript
import __nuxt_component_0 from "../node_modules/nuxt/dist/app/components/nuxt-link.mjs";
|
||
import { defineComponent, mergeProps, withCtx, createTextVNode, toDisplayString } from "vue";
|
||
import { ssrRenderAttrs, ssrRenderList, ssrRenderComponent, ssrInterpolate } from "vue/server-renderer";
|
||
const _sfc_main = /* @__PURE__ */ defineComponent({
|
||
__name: "FooterSection",
|
||
__ssrInlineRender: true,
|
||
setup(__props) {
|
||
const products = [
|
||
{ name: "EC2 云服务器", path: "/products" },
|
||
{ name: "S3 对象存储", path: "/products" },
|
||
{ name: "RDS 数据库服务", path: "/products" },
|
||
{ name: "Lambda 无服务器", path: "/products" },
|
||
{ name: "更多产品...", path: "/products" }
|
||
];
|
||
const solutions = [
|
||
{ name: "网站托管", path: "/solutions" },
|
||
{ name: "企业上云", path: "/solutions" },
|
||
{ name: "灾备方案", path: "/solutions" },
|
||
{ name: "大数据分析", path: "/solutions" },
|
||
{ name: "微服务架构", path: "/solutions" }
|
||
];
|
||
return (_ctx, _push, _parent, _attrs) => {
|
||
const _component_NuxtLink = __nuxt_component_0;
|
||
_push(`<footer${ssrRenderAttrs(mergeProps({ class: "bg-primary text-white py-12" }, _attrs))}><div class="container"><div class="grid md:grid-cols-4 gap-8"><div><h5 class="text-lg font-semibold mb-4">云服务专家</h5><p class="text-white/50 mb-4">专业的AWS云服务解决方案提供商,致力于帮助企业实现数字化转型</p><div class="flex space-x-4"><a href="#" class="text-white/50 hover:text-white transition-colors"><i class="fab fa-weixin"></i></a><a href="#" class="text-white/50 hover:text-white transition-colors"><i class="fab fa-weibo"></i></a><a href="#" class="text-white/50 hover:text-white transition-colors"><i class="fab fa-linkedin"></i></a></div></div><div><h5 class="text-lg font-semibold mb-4">AWS产品</h5><ul class="space-y-2"><!--[-->`);
|
||
ssrRenderList(products, (product, index) => {
|
||
_push(`<li>`);
|
||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||
to: product.path,
|
||
class: "text-white/70 hover:text-white transition-colors"
|
||
}, {
|
||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||
if (_push2) {
|
||
_push2(`${ssrInterpolate(product.name)}`);
|
||
} else {
|
||
return [
|
||
createTextVNode(toDisplayString(product.name), 1)
|
||
];
|
||
}
|
||
}),
|
||
_: 2
|
||
}, _parent));
|
||
_push(`</li>`);
|
||
});
|
||
_push(`<!--]--></ul></div><div><h5 class="text-lg font-semibold mb-4">解决方案</h5><ul class="space-y-2"><!--[-->`);
|
||
ssrRenderList(solutions, (solution, index) => {
|
||
_push(`<li>`);
|
||
_push(ssrRenderComponent(_component_NuxtLink, {
|
||
to: solution.path,
|
||
class: "text-white/70 hover:text-white transition-colors"
|
||
}, {
|
||
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
||
if (_push2) {
|
||
_push2(`${ssrInterpolate(solution.name)}`);
|
||
} else {
|
||
return [
|
||
createTextVNode(toDisplayString(solution.name), 1)
|
||
];
|
||
}
|
||
}),
|
||
_: 2
|
||
}, _parent));
|
||
_push(`</li>`);
|
||
});
|
||
_push(`<!--]--></ul></div><div><h5 class="text-lg font-semibold mb-4">联系我们</h5><ul class="space-y-3"><li class="flex items-start"><i class="fas fa-map-marker-alt text-white/70 mt-1 mr-3"></i><span class="text-white/70">北京市朝阳区某某大厦10层</span></li><li class="flex items-start"><i class="fas fa-phone text-white/70 mt-1 mr-3"></i><span class="text-white/70">400-123-4567</span></li><li class="flex items-start"><i class="fas fa-envelope text-white/70 mt-1 mr-3"></i><span class="text-white/70">contact@example.com</span></li></ul></div></div><div class="mt-12 pt-8 border-t border-white/10 text-center"><p class="text-white/50">© ${ssrInterpolate((/* @__PURE__ */ new Date()).getFullYear())} 云服务专家. 保留所有权利.</p></div></div></footer>`);
|
||
};
|
||
}
|
||
});
|
||
export {
|
||
_sfc_main as default
|
||
};
|
||
//# sourceMappingURL=FooterSection.vue2.mjs.map
|