import{d as m,o as u,c as _,i as a,w as l,g as y,j as f,t as q,s as d,v as b,E as h,_ as v,__tla as w}from"./index-2c56227b.js";import{E as g,__tla as k}from"./el-link-dfb00afa.js";let r,x=Promise.all([(()=>{try{return w}catch{}})(),(()=>{try{return k}catch{}})()]).then(async()=>{let o;o=["src"],r=v(m({name:"WxLocation",__name:"main",props:{locationX:{required:!0,type:Number},locationY:{required:!0,type:Number},label:{required:!0,type:String},qqMapKey:{required:!1,type:String,default:"TVDBZ-TDILD-4ON4B-PFDZA-RNLKH-VVF6E"}},setup(e,{expose:i}){const t=e;return i({locationX:t.locationX,locationY:t.locationY,label:t.label,qqMapKey:t.qqMapKey}),(K,X)=>{const n=d,s=b,p=h,c=g;return u(),_("div",null,[a(c,{type:"primary",target:"_blank",href:"https://map.qq.com/?type=marker&isopeninfowin=1&markertype=1&pointx="+e.locationY+"&pointy="+e.locationX+"&name="+e.label+"&ref=yudao"},{default:l(()=>[a(p,null,{default:l(()=>[a(n,null,{default:l(()=>[y("img",{src:"https://apis.map.qq.com/ws/staticmap/v2/?zoom=10&markers=color:blue|label:A|"+e.locationX+","+e.locationY+"&key="+e.qqMapKey+"&size=250*180"},null,8,o)]),_:1}),a(n,null,{default:l(()=>[a(s,{icon:"ep:location"}),f(" "+q(e.label),1)]),_:1})]),_:1})]),_:1},8,["href"])])}}}),[["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/mp/components/wx-location/main.vue"]])});export{x as __tla,r as default};
