Files
Home-Care/hss-home-service/website/.nuxt/dist/client/_nuxt/B6mmupvD.js
comclib c02029a5f3 feat: 初始化居家上门服务系统完整项目代码
- Spring Boot 后端服务 (hss-home-service)
- delivery-miniapp 配送小程序
- website 官网 (Nuxt)
- docs 架构设计文档
- Docker 容器化部署配置

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-19 09:04:49 +08:00

2 lines
8.7 KiB
JavaScript

import{l as c,x as i,h as d,M as o,V as w,e,j as m,U as n,R as a,Q as k,F as y,B as V,K as p,g as U,i as $,k as v}from"./4pHoJ_J-.js";import{u as N}from"./BMj6yY2k.js";import{u as B}from"./D7WoMb84.js";import"./DPwYtU5D.js";const C={class:"max-w-lg mx-auto"},M=["value"],S={key:0,class:"text-red-500 text-sm"},j=["disabled"],D={key:1,class:"text-center py-12"},L=c({__name:"DemoForm",setup(g){const{form:s,loading:r,success:x,error:u,submit:b}=N("demo"),f=["政府监管","医院延续护理","养老机构上门服务","社区居家照护","长护险管理","其他"];return(F,t)=>(i(),d("div",C,[o(x)?(i(),d("div",D,[...t[16]||(t[16]=[$('<div class="w-16 h-16 mx-auto mb-4 rounded-full bg-green-100 text-green-500 flex items-center justify-center"><svg class="w-10 h-10" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path d="M5 13l4 4L19 7" stroke-linecap="round" stroke-linejoin="round"></path></svg></div><h3 class="text-2xl font-bold mb-2">提交成功</h3><p class="text-text-secondary">感谢您的关注,我们将尽快与您联系。</p>',3)])])):(i(),d("form",{key:0,onSubmit:t[7]||(t[7]=w((...l)=>o(b)&&o(b)(...l),["prevent"])),class:"space-y-5"},[e("div",null,[t[8]||(t[8]=e("label",{class:"block text-sm font-medium mb-1 text-left"},[m("姓名 "),e("span",{class:"text-red-500"},"*")],-1)),n(e("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>o(s).name=l),class:"w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-primary focus:ring-2 focus:ring-primary-50 outline-none transition-all",placeholder:"您的姓名"},null,512),[[a,o(s).name]])]),e("div",null,[t[9]||(t[9]=e("label",{class:"block text-sm font-medium mb-1 text-left"},[m("单位名称 "),e("span",{class:"text-red-500"},"*")],-1)),n(e("input",{"onUpdate:modelValue":t[1]||(t[1]=l=>o(s).orgName=l),class:"w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-primary focus:ring-2 focus:ring-primary-50 outline-none transition-all",placeholder:"您所在的单位"},null,512),[[a,o(s).orgName]])]),e("div",null,[t[10]||(t[10]=e("label",{class:"block text-sm font-medium mb-1 text-left"},"职务",-1)),n(e("input",{"onUpdate:modelValue":t[2]||(t[2]=l=>o(s).position=l),class:"w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-primary focus:ring-2 focus:ring-primary-50 outline-none transition-all",placeholder:"您的职务/角色"},null,512),[[a,o(s).position]])]),e("div",null,[t[11]||(t[11]=e("label",{class:"block text-sm font-medium mb-1 text-left"},[m("手机号 "),e("span",{class:"text-red-500"},"*")],-1)),n(e("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>o(s).phone=l),type:"tel",class:"w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-primary focus:ring-2 focus:ring-primary-50 outline-none transition-all",placeholder:"您的手机号"},null,512),[[a,o(s).phone]])]),e("div",null,[t[12]||(t[12]=e("label",{class:"block text-sm font-medium mb-1 text-left"},"所在城市",-1)),n(e("input",{"onUpdate:modelValue":t[4]||(t[4]=l=>o(s).city=l),class:"w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-primary focus:ring-2 focus:ring-primary-50 outline-none transition-all",placeholder:"城市"},null,512),[[a,o(s).city]])]),e("div",null,[t[14]||(t[14]=e("label",{class:"block text-sm font-medium mb-1 text-left"},"关注方向",-1)),n(e("select",{"onUpdate:modelValue":t[5]||(t[5]=l=>o(s).focusArea=l),class:"w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-primary focus:ring-2 focus:ring-primary-50 outline-none transition-all"},[t[13]||(t[13]=e("option",{value:""},"请选择",-1)),(i(),d(y,null,V(f,l=>e("option",{key:l,value:l},p(l),9,M)),64))],512),[[k,o(s).focusArea]])]),e("div",null,[t[15]||(t[15]=e("label",{class:"block text-sm font-medium mb-1 text-left"},"留言需求",-1)),n(e("textarea",{"onUpdate:modelValue":t[6]||(t[6]=l=>o(s).message=l),rows:"3",class:"w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-primary focus:ring-2 focus:ring-primary-50 outline-none transition-all resize-none",placeholder:"请简要描述您的需求"},null,512),[[a,o(s).message]])]),o(u)?(i(),d("p",S,p(o(u)),1)):U("",!0),e("button",{type:"submit",disabled:o(r),class:"w-full px-6 py-3 bg-cta text-white rounded-xl font-semibold hover:bg-cta-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed"},p(o(r)?"提交中...":"提交预约"),9,j)],32))]))}}),A={class:"max-w-lg mx-auto"},T={class:"grid sm:grid-cols-2 gap-5"},z=["value"],E={key:0,class:"text-red-500 text-sm"},K=["disabled"],Q={key:1,class:"text-center py-12"},R=c({__name:"ContactForm",setup(g){const{form:s,loading:r,success:x,error:u,submit:b}=N("contact"),f=["政府项目","医院合作","养老机构合作","社区服务","技术合作","其他"];return(F,t)=>(i(),d("div",A,[o(x)?(i(),d("div",Q,[...t[12]||(t[12]=[$('<div class="w-16 h-16 mx-auto mb-4 rounded-full bg-green-100 text-green-500 flex items-center justify-center"><svg class="w-10 h-10" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path d="M5 13l4 4L19 7" stroke-linecap="round" stroke-linejoin="round"></path></svg></div><h3 class="text-2xl font-bold mb-2">提交成功</h3><p class="text-text-secondary">感谢您的咨询,我们将尽快与您联系。</p>',3)])])):(i(),d("form",{key:0,onSubmit:t[5]||(t[5]=w((...l)=>o(b)&&o(b)(...l),["prevent"])),class:"space-y-5"},[e("div",T,[e("div",null,[t[6]||(t[6]=e("label",{class:"block text-sm font-medium mb-1 text-left"},[m("姓名 "),e("span",{class:"text-red-500"},"*")],-1)),n(e("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>o(s).name=l),class:"w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-primary focus:ring-2 focus:ring-primary-50 outline-none",placeholder:"您的姓名"},null,512),[[a,o(s).name]])]),e("div",null,[t[7]||(t[7]=e("label",{class:"block text-sm font-medium mb-1 text-left"},[m("单位名称 "),e("span",{class:"text-red-500"},"*")],-1)),n(e("input",{"onUpdate:modelValue":t[1]||(t[1]=l=>o(s).orgName=l),class:"w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-primary focus:ring-2 focus:ring-primary-50 outline-none",placeholder:"您所在的单位"},null,512),[[a,o(s).orgName]])])]),e("div",null,[t[8]||(t[8]=e("label",{class:"block text-sm font-medium mb-1 text-left"},[m("手机号 "),e("span",{class:"text-red-500"},"*")],-1)),n(e("input",{"onUpdate:modelValue":t[2]||(t[2]=l=>o(s).phone=l),type:"tel",class:"w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-primary focus:ring-2 focus:ring-primary-50 outline-none",placeholder:"您的手机号"},null,512),[[a,o(s).phone]])]),e("div",null,[t[10]||(t[10]=e("label",{class:"block text-sm font-medium mb-1 text-left"},"合作类型",-1)),n(e("select",{"onUpdate:modelValue":t[3]||(t[3]=l=>o(s).contact=l),class:"w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-primary focus:ring-2 focus:ring-primary-50 outline-none"},[t[9]||(t[9]=e("option",{value:""},"请选择",-1)),(i(),d(y,null,V(f,l=>e("option",{key:l,value:l},p(l),9,z)),64))],512),[[k,o(s).contact]])]),e("div",null,[t[11]||(t[11]=e("label",{class:"block text-sm font-medium mb-1 text-left"},"需求描述",-1)),n(e("textarea",{"onUpdate:modelValue":t[4]||(t[4]=l=>o(s).message=l),rows:"4",class:"w-full px-4 py-3 rounded-xl border border-gray-200 focus:border-primary focus:ring-2 focus:ring-primary-50 outline-none resize-none",placeholder:"请描述您的合作需求"},null,512),[[a,o(s).message]])]),o(u)?(i(),d("p",E,p(o(u)),1)):U("",!0),e("button",{type:"submit",disabled:o(r),class:"w-full px-6 py-3 bg-cta text-white rounded-xl font-semibold hover:bg-cta-700 transition-colors disabled:opacity-50"},p(o(r)?"提交中...":"提交咨询"),9,K)],32))]))}}),q={class:"py-20 bg-surface"},G={class:"section-container"},H={class:"grid lg:grid-cols-2 gap-16 items-start"},W=c({__name:"contact",setup(g){return B({title:"联系我们",description:"预约演示、获取方案、合作咨询。填写表单,我们将尽快与您联系。"}),(s,r)=>{const x=L,u=R;return i(),d(y,null,[r[4]||(r[4]=e("section",{class:"py-20 bg-gradient-to-br from-primary-700 to-primary-900 text-white"},[e("div",{class:"section-container text-center"},[e("h1",{class:"text-4xl md:text-5xl font-bold mb-4"},"联系我们"),e("p",{class:"text-xl text-blue-100 max-w-2xl mx-auto"},"预约演示、获取方案或合作咨询")])],-1)),e("section",q,[e("div",G,[e("div",H,[e("div",null,[r[0]||(r[0]=e("h2",{class:"text-2xl font-bold mb-6"},"预约演示",-1)),r[1]||(r[1]=e("p",{class:"text-text-secondary mb-8"},"填写表单,我们的产品顾问将在 1 个工作日内与您联系,为您安排专属演示。",-1)),v(x)]),e("div",null,[r[2]||(r[2]=e("h2",{class:"text-2xl font-bold mb-6"},"合作咨询",-1)),r[3]||(r[3]=e("p",{class:"text-text-secondary mb-8"},"如果您有政府项目合作、医院对接、机构采购或其他合作需求,请填写下方表单。",-1)),v(u)])])])])],64)}}});export{W as default};