import{_ as l,bc as a,b as e,d as t,p as s,w as u,H as i,i as n,o as d,f as c,k as f,Y as o,R as _,a1 as m}from"./index-2PZN6pGH.js";const b=l({data:()=>({title:"openLocation"}),methods:{openLocation:function(l){console.log(l);var e=l.detail.value;a({longitude:Number(e.longitude),latitude:Number(e.latitude),name:e.name,address:e.address})}}},[["render",function(l,a,b,p,r,v){const y=e(t("page-head"),i),g=n,x=o,L=_,h=m;return d(),s(g,null,{default:u((()=>[c(y,{title:r.title},null,8,["title"]),c(g,{class:"uni-common-mt"},{default:u((()=>[c(h,{onSubmit:v.openLocation},{default:u((()=>[c(g,{class:"uni-list"},{default:u((()=>[c(g,{class:"uni-list-cell"},{default:u((()=>[c(g,{class:"uni-list-cell-left"},{default:u((()=>[c(g,{class:"uni-label"},{default:u((()=>[f("经度")])),_:1})])),_:1}),c(g,{class:"uni-list-cell-db"},{default:u((()=>[c(x,{class:"uni-input",type:"text",disabled:!0,value:"116.39747",name:"longitude"})])),_:1})])),_:1}),c(g,{class:"uni-list-cell"},{default:u((()=>[c(g,{class:"uni-list-cell-left"},{default:u((()=>[c(g,{class:"uni-label"},{default:u((()=>[f("纬度")])),_:1})])),_:1}),c(g,{class:"uni-list-cell-db"},{default:u((()=>[c(x,{class:"uni-input",type:"text",disabled:!0,value:"39.9085",name:"latitude"})])),_:1})])),_:1}),c(g,{class:"uni-list-cell"},{default:u((()=>[c(g,{class:"uni-list-cell-left"},{default:u((()=>[c(g,{class:"uni-label"},{default:u((()=>[f("位置名称")])),_:1})])),_:1}),c(g,{class:"uni-list-cell-db"},{default:u((()=>[c(x,{class:"uni-input",type:"text",disabled:!0,value:"天安门",name:"name"})])),_:1})])),_:1}),c(g,{class:"uni-list-cell"},{default:u((()=>[c(g,{class:"uni-list-cell-left"},{default:u((()=>[c(g,{class:"uni-label"},{default:u((()=>[f("详细位置")])),_:1})])),_:1}),c(g,{class:"uni-list-cell-db"},{default:u((()=>[c(x,{class:"uni-input",type:"text",disabled:!0,value:"北京市东城区东长安街",name:"address"})])),_:1})])),_:1})])),_:1}),c(g,{class:"uni-padding-wrap"},{default:u((()=>[c(g,{class:"uni-btn-v uni-common-mt"},{default:u((()=>[c(L,{type:"primary",formType:"submit"},{default:u((()=>[f("查看位置")])),_:1})])),_:1})])),_:1})])),_:1},8,["onSubmit"])])),_:1})])),_:1})}],["__scopeId","data-v-bc991135"]]);export{b as default};
