pages-me-apply-apply.3730bd0e.js
2.5 KB
import{p as e,q as l,o as t,c as a,w as s,z as o,f as d,g as u,A as c,O as n,r as i,b as p,E as f,Q as r,N as _}from"./index-179bf7a9.js";import{_ as m}from"./uni-data-select.9fb66843.js";import{_ as y}from"./right-arrow.535a0429.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";const x=h({__name:"apply",setup(h){let x=e(""),w=e(""),g=e(0),v=e(0),b=l([{value:0,text:"请选择"},{value:1,text:"2"},{value:2,text:"1"}]),V=e=>{console.log("e",e),v=e},j=()=>{let e={name:w._value,phone:x._value,type:v};console.log("data",e)};return(e,l)=>{const h=o,v=i(p("uni-data-select"),m),k=f,z=r("uni-section"),C=_;return t(),a(h,{class:""},{default:s((()=>[d(h,{class:"content"},{default:s((()=>[d(h,{class:"items"},{default:s((()=>[d(h,{class:"",style:{width:"20%"}},{default:s((()=>[u(" 分组 ")])),_:1}),d(h,{class:"",style:{display:"flex","justify-content":"space-between",width:"80%"}},{default:s((()=>[d(z,{title:"",type:"line",style:{width:"100%",display:"flex","align-items":"center"}},{default:s((()=>[d(v,{modelValue:c(g),"onUpdate:modelValue":l[0]||(l[0]=e=>n(g)?g.value=e:g=e),localdata:c(b),onChange:c(V),"custom-class":"ipt",label:"应用选择"},null,8,["modelValue","localdata","onChange"]),d(h,{class:"",style:{width:"40rpx",height:"40rpx"}},{default:s((()=>[d(k,{src:y,mode:"",style:{width:"100%",height:"100%"}})])),_:1})])),_:1})])),_:1})])),_:1}),d(h,{class:"items"},{default:s((()=>[d(h,{class:"",style:{width:"20%"}},{default:s((()=>[u(" 姓名 ")])),_:1}),d(h,{class:"",style:{display:"flex","justify-content":"space-between",width:"80%"}},{default:s((()=>[d(C,{type:"text",placeholder:"请输入姓名","placeholder-style":"color:#7985A4;font-size:28rpx;",modelValue:c(w),"onUpdate:modelValue":l[1]||(l[1]=e=>n(w)?w.value=e:w=e)},null,8,["modelValue"])])),_:1})])),_:1}),d(h,{class:"items"},{default:s((()=>[d(h,{class:"",style:{width:"20%"}},{default:s((()=>[u(" 电话 ")])),_:1}),d(h,{class:"",style:{display:"flex","justify-content":"space-between",width:"80%"}},{default:s((()=>[d(C,{type:"text",placeholder:"请输入电话","placeholder-style":"color:#7985A4;font-size:28rpx;",modelValue:c(x),"onUpdate:modelValue":l[2]||(l[2]=e=>n(x)?x.value=e:x=e)},null,8,["modelValue"])])),_:1})])),_:1})])),_:1}),d(h,{class:"btm"},{default:s((()=>[c(w)&&c(x)&&0!=c(g)?(t(),a(h,{key:0,class:"btn blue",onClick:c(j)},{default:s((()=>[u(" 提交申请 ")])),_:1},8,["onClick"])):(t(),a(h,{key:1,class:"btn"},{default:s((()=>[u(" 提交申请 ")])),_:1}))])),_:1})])),_:1})}}},[["__scopeId","data-v-647074d1"]]);export{x as default};