goods.6fe79b55.js 837 B

1
  1. import{d as p,u as m}from"./types.780cccd2.js";import{B as f}from"./basic-descriptions.d9a56c23.js";import{b as l}from"./purchase.83195add.js";import{i as u}from"./context.bdf6d636.js";import{e as d,aT as _,x as g,w as k,o as B,C,j as t}from"./index.e7c72e95.js";import"./use-response-handle.0e27bb38.js";import"./hooks.93e407ab.js";import"./status.b8063a0d.js";import"./tootip.f60d2cd8.js";const P=d({__name:"goods",props:p,emits:["map-offset-top"],setup(n,{emit:r}){const s=n,{goodData:e}=_(u),c=()=>t(a).$el.getBoundingClientRect().y;g(()=>e.value,()=>setTimeout(()=>{const o={top:c()-134,title:s.title};k(()=>r("map-offset-top",o))},1e3));const{defaultRef:a}=m(s);return(o,i)=>(B(),C(t(f),{show:Object.keys(t(e)).length>0,ref_key:"defaultRef",ref:a,data:t(e),columns:t(l)},null,8,["show","data","columns"]))}});export{P as default};