import{f as v}from"./date-20546ee0.js";import{q as d}from"./ui-ba7aaa7e.js";import{e as b,r as c,P as x,a3 as C,a4 as g,a7 as l,ab as t,I as h}from"./vue-bf422dc1.js";const q=b({__name:"detail",emits:["success"],setup(w,{expose:m,emit:p}){const e=c(!1),a=c();m({init:(i=null)=>{e.value=!0,a.value=i}});const f=p,o=()=>{e.value=!1,f("success")};return(i,n)=>{const _=d;return x(),C(_,{visible:e.value,"onUpdate:visible":n[0]||(n[0]=s=>e.value=s),"size-draggable":"",size:"80%",header:"商铺详情",onClose:o,onConfirm:o},{default:g(()=>{var s,r,u;return[l("ul",null,[l("li",null,"店铺名称："+t((s=a.value)==null?void 0:s.shop_name),1),l("li",null,"用户名："+t((r=a.value)==null?void 0:r.username),1),l("li",null,"创建时间："+t(h(v)((u=a.value)==null?void 0:u.create_at)),1)])]}),_:1},8,["visible"])}}});export{q as _};
