pages-map-map.2dc26d9b.js
653 字节
import{p as a,q as t,s as e,o as l,c as s,w as n,G as u,B as i,f as d,C as o,af as r}from"./index-51558310.js";const g={__name:"map",setup(g){let m=a(),c=a();a(),a();const p=()=>{u({latitude:+m.value,longitude:+c.value,name:"电脑城",address:"重庆九龙坡"})};let f=t([{latitude:"",longitude:"",iconPath:"../../static/images/Map.png"}]);return e((a=>{m.value=a.lat,c.value=a.lng,f[0].latitude=a.lat,f[0].longitude=a.lng,p()})),(a,t)=>{const e=r,u=i;return l(),s(u,null,{default:n((()=>[d(e,{onClick:p,style:{width:"100%",height:"95vh"},latitude:"31.976056",longitude:"118.769025",markers:o(f)},null,8,["markers"])])),_:1})}}};export{g as default};