1import{H as e,L as a,s,u as l,r as o,c as n,w as t,d as i,o as c,a as r,y as u,g as d,n as h,i as p,I as m,M as f,N as g}from"./index-BKsmAAP-.js";import{_ as b}from"./uni-forms.9e-Cg8U_.js";import{r as _}from"./uni-app.es.CUeE75Jc.js";import{_ as x}from"./_plugin-vue_export-helper.BCo6x5W8.js";const y=x({onLoad(){const a=e();console.log(a.screenHeight);let s=.246*a.screenHeight;this.dynamicPadingTop=400<s?s+"px":"400rpx",console.log(this.dynamicPadingTop)},data:()=>({sub:{phone:"",name:"",check:!1},dynamicPadingTop:"400rpx"}),methods:{authorize(){a({url:"/pages/oxygen_bag/authorize_doc"})},handleCheckChange(e){e.detail.value&&"agree"===e.detail.value[0]?this.sub.check=!0:this.sub.check=!1},click(){if(""==this.sub.name)return void s({title:"请填å
¥å§å",icon:"error"});""!=this.sub.phone?/^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(this.sub.phone)?(console.log(),""!==this.sub.check&&this.sub.check?(l({title:"æäº¤æå",content:"æ¨çæäº¤æä»¬å·²ç»æ¶å°ï¼ç¨åä¼è¿è¡å¤çï½",showCancel:!1}),this.sub.name="",this.sub.phone=""):s({title:"请å¾éåæåè®®",icon:"error"})):s({title:"ææºå·æ ¼å¼æè¯¯",icon:"error"}):s({title:"ææºå·æªå¡«å",icon:"error"})}}},[["render",function(e,a,s,l,x,y){const k=p,C=m,V=i,j=f,v=g,T=_(o("uni-forms"),b);return c(),n(V,{class:"box flex flex-direction align-center justify-center"},{default:t((()=>[r(k,{mode:"scaleToFill",src:"https://short-url-h5.oss-cn-hangzhou.aliyuncs.com/oxygen_bag/image/bg0217_01.png",class:"image"}),r(V,{class:"form",style:h({paddingTop:x.dynamicPadingTop})},{default:t((()=>[r(T,{ref:"baseForm",modelValue:x.sub,"label-position":"top",class:"flex flex-direction align-center justify-center"},{default:t((()=>[r(V,{class:"form-input-01"},{default:t((()=>[r(C,{modelValue:x.sub.name,"onUpdate:modelValue":a[0]||(a[0]=e=>x.sub.name=e),placeholder:"è¾å
¥å§å"},null,8,["modelValue"])])),_:1}),r(V,{class:"form-input-01"},{default:t((()=>[r(C,{modelValue:x.sub.phone,"onUpdate:modelValue":a[1]||(a[1]=e=>x.sub.phone=e),placeholder:"è¾å
¥ææºå·ç "},null,8,["modelValue"])])),_:1}),r(V,{class:"form-check-01 flex"},{default:t((()=>[r(v,{onChange:y.handleCheckChange},{default:t((()=>[r(j,{value:"agree",checked:"true",style:{height:"30rpx",transform:"scale(0.6)"}})])),_:1},8,["onChange"]),u("span",null,[d("æå·²åæ"),u("a",{style:{color:"blue"},onClick:a[2]||(a[2]=(...e)=>y.authorize&&y.authorize(...e))},"ã个人信æ¯å¤çææä¹¦ã")])])),_:1}),r(V,null,{default:t((()=>[r(V,{class:"btn",onClick:y.click},null,8,["onClick"])])),_:1}),r(V,{class:"flex justify-center",style:{"margin-top":"40rpx"}},{default:t((()=>[u("span",{class:"span"},"å
·ä½é¢åº¦ä»¥å®é
å®¡æ ¸ç»æä¸ºå")])),_:1})])),_:1},8,["modelValue"])])),_:1}
1,8,["style"])])),_:1})}],["__scopeId","data-v-3509697a"]]);export{y 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.