import{d as x,o as f,dA as h,p as m,dx as y,c as w,e as s,f as i,w as b,v as C,g as a,h as B,i as S,F as v,j as p,n as l,m as F,t as _,A as k,l as E,R as D,S as I,_ as N}from"./index.0308b213.js";const g=c=>(D("data-v-a4cdd187"),c=c(),I(),c),M={id:"container"},V=g(()=>a("div",{class:"from_top"}," \u540C\u57CE\u6025\u9001 \u53C8\u5FEB\u53C8\u7701 ",-1)),z={class:"from_btns"},L={key:0,class:"selectIcon"},T=g(()=>a("svg",{t:"1734141313590",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1620",width:"20",height:"20"},[a("path",{d:"M512 534.016c-119.808 0-228.864-53.248-314.368-140.8-11.776-11.776-27.136-18.432-43.52-18.432-53.248 0-79.872 64.512-42.496 102.4 108.032 111.104 247.808 177.664 400.384 177.664s292.352-66.56 399.36-176.64c37.376-38.4 10.752-102.4-42.496-102.4-16.384 0-31.744 6.656-43.52 18.432-84.48 86.528-193.536 139.776-313.344 139.776z","p-id":"1621",fill:"#ffba17"})],-1)),q=[T],A=E('<div class="from_address" data-v-a4cdd187><div class="qu" data-v-a4cdd187><div style="border-radius:50%;border:2px solid #2cb264;padding:2px;margin-right:10px;" data-v-a4cdd187></div><div style="display:flex;flex-grow:1;" data-v-a4cdd187><div data-v-a4cdd187>\u586B\u5199\u53D6\u4EF6\u5730\u5740</div><div data-v-a4cdd187>&gt;</div></div><div style="color:#a2a2a2;padding:5px 10px;border-radius:88px;border:1px solid #a2a2a2;" data-v-a4cdd187>\u5730\u5740\u7C3F </div></div><div class="qu" style="margin-top:10px;" data-v-a4cdd187><div style="border-radius:50%;border:2px solid #ffba17;padding:2px;margin-right:10px;" data-v-a4cdd187></div><div style="display:flex;flex-grow:1;" data-v-a4cdd187><div data-v-a4cdd187>\u586B\u5199\u9001\u4EF6\u5730\u5740</div><div data-v-a4cdd187>&gt;</div></div><div style="color:#a2a2a2;padding:5px 10px;border-radius:88px;border:1px solid #a2a2a2;" data-v-a4cdd187>\u5730\u5740\u7C3F </div></div></div><div class="from_btn" data-v-a4cdd187>\u53BB\u4E0B\u5355</div>',2),P={class:"from_text"},j=x({props:{config:null},setup(c){const e=c;let o=null;return f(()=>{h.load({key:"70cc966d8da2ca601d43216a939af693",version:"2.0",plugins:[]}).then(d=>{console.log(d),o=new d.Map("container",{viewMode:"3D",zoom:11,center:[113.280637,23.125178]})}).catch(d=>{console.log(d)})}),m(()=>e.config.coordinate,(d,u)=>{console.log("watch\u76D1\u542C",d,u);const{latitude:r,longitude:n,address:t}=d;o&&(r&&o.setCenter([r,n]),!r&&console.log(t))},{immediate:!0,deep:!0}),y(()=>{o==null||o.destroy()}),(d,u)=>{const r=w("el-scrollbar");return s(),i("div",{class:"content",style:l({height:e.config.coordinate.map?"590px":"320px"})},[b(a("div",M,null,512),[[C,e.config.coordinate.map]]),a("div",{class:"from",style:l({top:e.config.coordinate.map?"270px":"0"})},[V,B(r,null,{default:S(()=>[a("div",z,[(s(!0),i(v,null,p(e.config.coordinate.type,(n,t)=>(s(),i("div",{style:{width:"25%","text-align":"center","white-space":"nowrap","margin-right":"10px"},key:t},[a("text",{style:l({position:t==0?"relative":"",color:t==0?"#000000":"#a2a2a2"})},[F(_(n.title)+" ",1),t==0?(s(),i("text",L,q)):k("",!0)],4)]))),128))])]),_:1}),A],4),a("div",P,[(s(!0),i(v,null,p(e.config.coordinate.describe,(n,t)=>(s(),i("div",{class:"text",key:t},[a("text",null,_(n.title),1)]))),128))])],4)}}});const U=N(j,[["__scopeId","data-v-a4cdd187"]]);export{U as default};
