- Spring Boot 后端服务 (hss-home-service) - delivery-miniapp 配送小程序 - website 官网 (Nuxt) - docs 架构设计文档 - Docker 容器化部署配置 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2 lines
2.2 KiB
JavaScript
2 lines
2.2 KiB
JavaScript
import{l as f,x as l,h as n,M as t,V as y,e as o,j as a,U as d,R as i,K as x,g as c}from"./4pHoJ_J-.js";import{u as g}from"./BMj6yY2k.js";const w={class:"max-w-sm mx-auto"},v={key:0,class:"text-red-500 text-sm"},k=["disabled"],V={key:1,class:"text-center py-8"},M=f({__name:"DownloadForm",setup(N){const{form:r,loading:m,success:b,error:p,submit:u}=g("download");return(U,e)=>(l(),n("div",w,[t(b)?(l(),n("div",V,[...e[7]||(e[7]=[o("p",{class:"text-xl font-bold mb-2"},"📥 资料已提交获取申请",-1),o("p",{class:"text-sm text-text-secondary"},"我们将尽快将方案资料发送给您。",-1)])])):(l(),n("form",{key:0,onSubmit:e[3]||(e[3]=y((...s)=>t(u)&&t(u)(...s),["prevent"])),class:"space-y-4"},[o("div",null,[e[4]||(e[4]=o("label",{class:"block text-sm font-medium mb-1 text-left"},[a("姓名 "),o("span",{class:"text-red-500"},"*")],-1)),d(o("input",{"onUpdate:modelValue":e[0]||(e[0]=s=>t(r).name=s),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),[[i,t(r).name]])]),o("div",null,[e[5]||(e[5]=o("label",{class:"block text-sm font-medium mb-1 text-left"},[a("单位名称 "),o("span",{class:"text-red-500"},"*")],-1)),d(o("input",{"onUpdate:modelValue":e[1]||(e[1]=s=>t(r).orgName=s),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),[[i,t(r).orgName]])]),o("div",null,[e[6]||(e[6]=o("label",{class:"block text-sm font-medium mb-1 text-left"},[a("手机号 "),o("span",{class:"text-red-500"},"*")],-1)),d(o("input",{"onUpdate:modelValue":e[2]||(e[2]=s=>t(r).phone=s),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),[[i,t(r).phone]])]),t(p)?(l(),n("p",v,x(t(p)),1)):c("",!0),o("button",{type:"submit",disabled:t(m),class:"w-full px-6 py-3 bg-primary text-white rounded-xl font-semibold hover:bg-primary-700 transition-colors disabled:opacity-50"},x(t(m)?"提交中...":"获取方案资料"),9,k)],32))]))}});export{M as _};
|