import { defineComponent, ref, watch, reactive, useSSRContext } from 'file://D:/doc/workspace/web3/node_modules/vue/index.mjs';
import { ssrRenderTeleport, ssrRenderClass, ssrRenderStyle, ssrInterpolate, ssrRenderAttrs, ssrRenderComponent, ssrRenderList, ssrRenderAttr, ssrIncludeBooleanAttr, ssrLooseContain, ssrLooseEqual } from 'file://D:/doc/workspace/web3/node_modules/vue/server-renderer/index.mjs';
import { _ as _sfc_main$2 } from './HeroBanner.vue2.mjs';
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
__name: "NotificationToast",
__ssrInlineRender: true,
props: {
message: { default: "" },
type: { default: "success" },
duration: { default: 3e3 }
},
emits: ["close"],
setup(__props, { emit: __emit }) {
const props = __props;
const show = ref(false);
const emit = __emit;
watch(() => props.message, (newVal) => {
if (newVal) {
show.value = true;
setTimeout(() => {
show.value = false;
setTimeout(() => {
emit("close");
}, 300);
}, props.duration);
}
}, { immediate: true });
return (_ctx, _push, _parent, _attrs) => {
ssrRenderTeleport(_push, (_push2) => {
if (_ctx.message) {
_push2(`
${ssrInterpolate(_ctx.message)}
`);
} else {
_push2(``);
}
}, "body", false, _parent);
};
}
});
const _sfc_main = /* @__PURE__ */ defineComponent({
__name: "contact",
__ssrInlineRender: true,
setup(__props) {
const contactMethods = [
{
icon: "fas fa-phone",
title: "电话咨询",
subtitle: "周一至周日 9:00-21:00",
content: "400-123-4567",
type: "phone"
},
{
icon: "fas fa-envelope",
title: "邮件咨询",
subtitle: "7*24小时邮件支持",
content: "contact@example.com",
type: "email"
},
{
icon: "fab fa-weixin",
title: "微信咨询",
subtitle: "扫描下方二维码",
content: "",
type: "wechat"
}
];
const companyInfo = [
{
icon: "fas fa-map-marker-alt",
title: "北京总部",
content: "北京市朝阳区某某大厦10层"
},
{
icon: "fas fa-subway",
title: "交通方式",
content: "地铁6号线某某站A出口步行5分钟"
},
{
icon: "far fa-clock",
title: "办公时间",
content: "周一至周五: 9:00-18:00"
}
];
const services = [
{ value: "cloud", label: "云服务咨询" },
{ value: "migration", label: "上云迁移" },
{ value: "solution", label: "解决方案咨询" },
{ value: "price", label: "价格咨询" },
{ value: "other", label: "其他" }
];
const faqs = [
{
question: "如何开始使用AWS云服务?",
answer: "您可以通过我们的咨询服务,获取专业的AWS云服务解决方案建议。我们的团队将根据您的具体需求,为您提供最适合的云服务方案。"
},
{
question: "如何获取技术支持?",
answer: "我们提供7*24小时技术支持服务,您可以通过电话、邮件或在线咨询等方式联系我们的技术支持团队。"
},
{
question: "如何计算使用成本?",
answer: "我们提供详细的成本评估服务,可以根据您的具体使用场景和需求,为您提供准确的成本预估和优化建议。"
},
{
question: "如何申请试用服务?",
answer: "您可以通过在线咨询或直接联系我们的销售团队,申请AWS云服务的试用。我们将为您提供专业的试用方案和技术支持。"
}
];
const form = reactive({
name: "",
company: "",
email: "",
phone: "",
service: "",
message: ""
});
const submitting = ref(false);
const notification = reactive({
message: "",
type: "success"
});
return (_ctx, _push, _parent, _attrs) => {
const _component_HeroBanner = _sfc_main$2;
const _component_NotificationToast = _sfc_main$1;
_push(``);
_push(ssrRenderComponent(_component_HeroBanner, {
title: "联系我们",
subtitle: "随时欢迎您的咨询,我们将为您提供专业的云服务解决方案"
}, null, _parent));
_push(`
`);
ssrRenderList(contactMethods, (contact, index) => {
_push(`
`);
});
_push(`
公司地址
`);
ssrRenderList(companyInfo, (info, index) => {
_push(`
${ssrInterpolate(info.title)}
${ssrInterpolate(info.content)}
`);
});
_push(`
地图加载位置
常见问题
解答您最关心的问题
`);
ssrRenderList(faqs, (faq, index) => {
_push(`
`);
});
_push(`
`);
_push(ssrRenderComponent(_component_NotificationToast, {
message: notification.message,
type: notification.type,
onClose: ($event) => notification.message = ""
}, 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("pages/contact.vue");
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
export { _sfc_main as default };
//# sourceMappingURL=contact.vue.mjs.map