import{_ as a,b as e,d as t,p as s,w as l,H as n,i,o as d,f as u,k as o,t as r,e as y,y as h,F as c,v as f,a6 as m,a7 as _}from"./index-2PZN6pGH.js";const p=a({data(){const a=new Date,e=[],t=a.getFullYear(),s=[],l=a.getMonth()+1,n=[],i=a.getDate();for(let d=1990;d<=a.getFullYear();d++)e.push(d);for(let d=1;d<=12;d++)s.push(d);for(let d=1;d<=31;d++)n.push(d);return{title:"picker-view",years:e,year:t,months:s,month:l,days:n,day:i,value:[9999,l-1,i-1],visible:!0,indicatorStyle:"height: 50px;",maskStyle:""}},methods:{bindChange(a){const e=a.detail.value;this.year=this.years[e[0]],this.month=this.months[e[1]],this.day=this.days[e[2]]}}},[["render",function(a,p,g,k,v,b){const w=e(t("page-head"),n),C=i,S=m,x=_;return d(),s(C,null,{default:l((()=>[u(w,{title:v.title},null,8,["title"]),u(C,{class:"uni-padding-wrap"},{default:l((()=>[u(C,{class:"uni-title"},{default:l((()=>[o(" 日期："+r(v.year)+"年"+r(v.month)+"月"+r(v.day)+"日 ",1)])),_:1})])),_:1}),v.visible?(d(),s(x,{key:0,"indicator-style":v.indicatorStyle,"mask-style":v.maskStyle,value:v.value,onChange:b.bindChange},{default:l((()=>[u(S,null,{default:l((()=>[(d(!0),y(c,null,h(v.years,((a,e)=>(d(),s(C,{class:"item",key:e},{default:l((()=>[o(r(a)+"年",1)])),_:2},1024)))),128))])),_:1}),u(S,null,{default:l((()=>[(d(!0),y(c,null,h(v.months,((a,e)=>(d(),s(C,{class:"item",key:e},{default:l((()=>[o(r(a)+"月",1)])),_:2},1024)))),128))])),_:1}),u(S,null,{default:l((()=>[(d(!0),y(c,null,h(v.days,((a,e)=>(d(),s(C,{class:"item",key:e},{default:l((()=>[o(r(a)+"日",1)])),_:2},1024)))),128))])),_:1})])),_:1},8,["indicator-style","mask-style","value","onChange"])):f("",!0)])),_:1})}],["__scopeId","data-v-bce9c956"]]);export{p as default};
