main-6cffa7b1.js 1.3 KB

1
  1. import{d as m,o as u,c as _,f as t,w as l,g as y,y as q,t as f,i as d,j as b,E as h,_ as k,__tla as w}from"./index-8dc1e40a.js";import{E as x,__tla as X}from"./el-link-a41356f3.js";let n,g=Promise.all([(()=>{try{return w}catch{}})(),(()=>{try{return X}catch{}})()]).then(async()=>{let o;o=["src"],n=k(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(a,{expose:i}){const e=a;return i({locationX:e.locationX,locationY:e.locationY,label:e.label,qqMapKey:e.qqMapKey}),(D,K)=>{const r=d,s=b,p=h,c=x;return u(),_("div",null,[t(c,{type:"primary",target:"_blank",href:"https://map.qq.com/?type=marker&isopeninfowin=1&markertype=1&pointx="+a.locationY+"&pointy="+a.locationX+"&name="+a.label+"&ref=yudao"},{default:l(()=>[t(p,null,{default:l(()=>[t(r,null,{default:l(()=>[y("img",{src:"https://apis.map.qq.com/ws/staticmap/v2/?zoom=10&markers=color:blue|label:A|"+a.locationX+","+a.locationY+"&key="+a.qqMapKey+"&size=250*180"},null,8,o)]),_:1}),t(r,null,{default:l(()=>[t(s,{icon:"ep:location"}),q(" "+f(a.label),1)]),_:1})]),_:1})]),_:1},8,["href"])])}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/mp/components/wx-location/main.vue"]])});export{g as __tla,n as default};