PageSourceSearch

https://www.swimsuitcustom.com/_nuxt/BoadZzgW.js

js swimsuitcustom.com collected 2026-10-04 04:11:31 UTC 10,183 bytes, 1 lines download raw bytes

1import{_ as M}from"./yQTTgtSd.js";import{c as u,o as n,j as t,u as N,a as U,r as f,e as T,h as D,x as V,p as E,t as l,b as v,d as o,D as p,l as _,E as h,n as g,v as w,z as C,C as L}from"#entry";import{G as P}from"./BxVGZl5g.js";import{r as I}from"./Bn1fNfUt.js";import"./CAvPy9MS.js";function B(b,m){return n(),u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z"})])}const O={class:"relative isolate bg-white pb-40"},H={class:"mx-auto grid max-w-7xl grid-cols-1 lg:grid-cols-1"},Z={class:"relative px-6 pb-20 pt-24 lg:static lg:px-8"},z={class:"mx-auto max-w-7xl grid lg:grid-cols-2 items-center lg:gap-x-20"},j={class:"text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl"},A={class:"mt-6 text-lg leading-8 text-gray-600"},G={class:"mt-10 space-y-4 text-base leading-7 text-gray-600"},R={class:"flex gap-x-4"},q={class:"flex-none"},F={class:"flex gap-x-4"},W={class:"flex-none"},X={class:"w-32"},J={class:"flex gap-x-4"},K={class:"w-32"},Q={class:"hover:text-gray-900"},Y={class:"mt-5 bg-black bg-opacity-20 p-4 rounded-lg lg:mt-0"},ee={class:"flex flex-col gap-16 i sm:gap-y-20 lg:flex-row"},te={class:"lg:flex-auto"},se={class:"text-base font-semibold text-gray-900"},ae={class:"grid grid-cols-1 gap-x-8 gap-y-6 sm:grid-cols-2 mt-5"},oe={class:"sm:col-span-2"},le={for:"first-name",class:"block text-sm/6 font-semibold text-gray-900"},ie={class:"mt-2.5"},re={key:0,class:"mt-2 text-sm text-red-600"},ue={class:"sm:col-span-2"},ne={for:"email",class:"block text-sm/6 font-semibold text-gray-900"},me={class:"mt-2.5"},ce={key:0,class:"mt-2 text-sm text-red-600"},de={class:"sm:col-span-2"},fe={for:"message",class:"block text-sm/6 font-semibold text-gray-900"},ge={class:"mt-2.5"},ve={key:0,class:"mt-2 text-sm text-red-600"},pe={class:"mt-10"},_e=["disabled"],he={key:0},xe={key:1},we={class:"mt-4 text-sm/6"},Me={__name:"contact",setup(b){const{t:m}=N();U({titleTemplate(s){return s?` ${m("联系我们")}-${s}`:"Site Title"}});const r=f({firstName:"",email:"",message:""}),i=f({firstName:"",email:"",message:""}),c=f(!1),y=T(),e=f(null),k=()=>{{const s=new URLSearchParams(window.location.search),a=document.referrer;return{type:s.get("utm_source")?"sem":a?"seo":"direct",platform:s.get("utm_source")||"unknown",medium:s.get("utm_medium")||"unknown",utm_source:s.get("utm_source")||"",utm_medium:s.get("utm_medium")||"",utm_campaign:s.get("utm_campaign")||"",utm_term:s.get("utm_term")||"",utm_content:s.get("utm_content")||"",referrer:a||"",isPaid:!!s.get("utm_source"),timestamp:new Date().toISOString()}}},$=D(()=>e.value?`来源类型: ${e.value.type==="sem"?"付费广告(SEM)":e.value.type==="seo"?"自然搜索(SEO)":e.value.type==="direct"?"直接访问":"未知来源"}, 平台: ${e.value.platform}, 媒介: ${e.value.medium}, `+(e.value.utm_source?`UTM来源: ${e.value.utm_source}, `:"")+(e.value.utm_campaign?`UTM活动: ${e.value.utm_campaign}, `:"")+(e.value.utm_term?`UTM关键词: ${e.value.utm_term}, `:"")+(e.value.utm_content?`UTM内容: ${e.value.utm_content}, `:"")+(e.value.referrer?`来源网站: ${e.value.referrer}, `:"")+`是否付费: ${e.value.isPaid?"是":"否"}, 检测时间: ${e.value.timestamp?new Date(e.value.timestamp).toLocaleString():new Date().toLocaleString()}`:"未检测到来源信息");V(()=>{e.value=k(),console.log("用户来源信息:",e.value),console.log(`来源类型: ${e.value.type==="sem"?"付费广告(SEM)":e.value.type==="seo"?"自然搜索(SEO)":e.value.type==="direct"?"直接访问":"未知来源"}, 平台: ${e.value.platform}, 媒介: ${e.value.medium}, `+(e.value.utm_source?`UTM来源: ${e.value.utm_source}, `:"")+(e.value.utm_campaign?`UTM活动: ${e.value.utm_campaign}, `:"")+(e.value.utm_term?`UTM关键词: ${e.value.utm_term}, `:"")+(e.value.utm_content?`UTM内容: ${e.value.utm_content}, `:"")+(e.value.referrer?`来源网站: ${e.value.referrer}, `:"")+`是否付费: ${e.value.isPaid?"是":"否"}, 检测时间: ${e.value.timestamp?new Date(e.value.timestamp).toLocaleStr
1ing():new Date().toLocaleString()}`)});const S=async()=>{console.log(r.value.firstName,"customInfo.firstName"),i.value={firstName:"",email:"",message:""},c.value=!0;let s=!1;if(r.value.firstName===""&&(i.value.firstName=m("请填写您的名字!"),s=!0),r.value.email===""&&(i.value.email=m("邮箱不能为空!"),s=!0),s){c.value=!1;return}try{const a={first_name:r.value.firstName,email:r.value.email,type:2,platform:y.path,message:r.value.message,seo_data:$.value,user_source:e.value?.type||"unknown",user_platform:e.value?.platform||"unknown",user_medium:e.value?.medium||"unknown",utm_source:e.value?.utm_source||"",utm_medium:e.value?.utm_medium||"",utm_campaign:e.value?.utm_campaign||"",utm_term:e.value?.utm_term||"",utm_content:e.value?.utm_content||"",referrer:e.value?.referrer||"",is_paid_traffic:e.value?.isPaid||!1,timestamp:e.value?.timestamp||new Date().toISOString()};(await P("/api/consultation/add",{method:"POST",body:a})).code===200?L("/subscription"):i.value.message=m("提交失败,请稍后重试")}catch(a){console.error("提交错误:",a),i.value.message=m("提交失败,请稍后重试")}finally{c.value=!1}};return(s,a)=>{const x=M;return n(),u("div",O,[t("div",H,[t("div",Z,[t("div",z,[t("div",null,[a[6]||(a[6]=E('<div class="absolute inset-y-0 left-0 -z-10 w-full overflow-hidden"><svg class="absolute inset-0 h-full w-full stroke-gray-200 [mask-image:radial-gradient(100%_100%_at_top_right,white,transparent)]" aria-hidden="true"><defs><pattern id="83fd4e5a-9d52-42fc-97b6-718e5d7ee527" width="200" height="200" x="100%" y="-1" patternUnits="userSpaceOnUse"><path d="M130 200V.5M.5 .5H200" fill="none"></path></pattern></defs><rect width="100%" height="100%" stroke-width="0" fill="white"></rect><svg x="100%" y="-1" class="overflow-visible fill-gray-50"><path d="M-470.5 0h201v201h-201Z" stroke-width="0"></path></svg><rect width="100%" height="100%" stroke-width="0" fill="url(#83fd4e5a-9d52-42fc-97b6-718e5d7ee527)"></rect></svg></div>',1)),t("h2",j,l(s.$t("联系我们")),1),t("p",A,l(s.$t("联系我们页面内容")),1),t("div",G,[t("div",R,[t("dt",q,[v(o(B),{class:"h-7 w-6 text-gray-400","aria-hidden":"true"})]),a[3]||(a[3]=t("dd",null,[t("div",{class:"w-16"},"WhatsApp"),t("span",{class:"hover:text-gray-900"}," +(86)18302407790")],-1))]),t("div",F,[t("dt",W,[v(o(I),{class:"h-7 w-6 text-gray-400","aria-hidden":"true"})]),t("dd",null,[t("div",X,l(s.$t("Email")),1),a[4]||(a[4]=t("span",{class:"hover:text-gray-900"},"[email protected]",-1))])]),t("div",J,[a[5]||(a[5]=t("dt",{class:"flex-none"},[t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-6 text-gray-400"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.25 21h19.5m-18-18v18m10.5-18v18m6-13.5V21M6.75 6.75h.75m-.75 3h.75m-.75 3h.75m3-6h.75m-.75 3h.75m-.75 3h.75M6.75 21v-3.375c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21M3 3h12m-.75 4.5H21m-3.75 3.75h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Zm0 3h.008v.008h-.008v-.008Z"})])],-1)),t("dd",null,[t("div",K,l(s.$t("地址")),1),t("span",Q,l(s.$t("Xingcheng, HuludaoCity,Liaoning Province, China")),1)])])])]),t("div",Y,[t("div",ee,[t("div",te,[t("div",null,[t("blockquote",se,[t("p",null,l(s.$t("加我我们的计划引言")),1)])]),t("div",ae,[t("div",oe,[t("label",le,l(s.$t("First name")),1),t("div",ie,[p(t("input",{type:"text","onUpdate:modelValue":a[0]||(a[0]=d=>o(r).firstName=d),name:"first-name",id:"first-name",autocomplete:"given-name",class:g(["block w-full rounded-md bg-white px-3.5 py-2 text-base text-gray-900 outline outline-1 -outline-offset-1 placeholder:text-gray-400 focus:outline focus:outline-2 focus:-outline-offset-2",o(i).firstName?"outline-red-300 focus:outline-red-600":"outline-gray-300 focus:outline-blue-600"])},null,2),[[h,o(r).firstName]]),o(i).firstName?(n(),u("p",re,l(o(i).firstName),1)):_("",!0)])]),t("div",ue,[t("label",ne,l(s.$t("Email")),1),t("div",me,[p(t("input",{id:"email",type:"email",autocomplete:"email","onUpdate:modelValue":a[1]||(a[1]=d=>o(r).email=d),class:g(["block w-full rounded-md bg-white px-3.5 py-2 text-base text-gray-900 outline outline-1 -outline-offset-1 placeholder:text-gray-400 focus:outline focus:outline-2 focus:-outline-offset-2",o(i).email?"outline-red-300 focus:outline-red-600":"outline-gray-300 focus:outline-blue-600"])},null,2),[[h,o(r).email]]),o(i).email?(n(),u("p",ce,l(o(i).email),1)):_("",!0)])]),t("div",de,[t("label",fe,l(s.$t("Message")),1),t("div",ge,[p(t("textarea",{"onUpdate:modelValue":a[2]||(a[2]=d=>o(r).message=d),id:"message",name:"message",rows:"4",class:g(["block w-full rounded-md bg-white px-3.5 py-2 text-base text-gray-900 outline outline-1 -outline-offset-1 placeholder:text-gray-400 focus:outline focus:outline-2 focus:-outline-offset-2",o(i).message?"outline-red-300 focus:outline-red-600":"outline-gray-300 focus:outline-blue-600"])},null,2),[[h,o(r).message]]),o(i).message?(n(),u("p",ve,l(o(i).message),1)):_("",!0)])])]),t("div",pe,[t("button",{onClick:S,disabled:o(c),class:g(["submit-btn block w-full rounded-md px-3.5 py-2.5 text-center text-sm font-semibold text-white shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2",o(c)?"bg-gray-400 cursor-not-allowed":"bg-blue-600 hover:bg-blue-500 focus-visible:outline-blue-600"])},[o(c)?(n(),u("span",he,l(s.$t("处理中...")),1)):(n(),u("span",xe,l(s.$t("发表")),1))],10,_e)]),t("p",we,[w(l(s.$t("By submitting this form, I agree to the"))+" ",1),v(x,{class:"text-blue-500 underline",to:"/terms"},{default:C(()=>[w(l(s.$t("条款")),1)]),_:1})])])])])])])])])}}};export{Me as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.