import{e as n,f as e,g as c,aE as a,C as i,k as r,n as _}from"./index-a0da86f0.js";import{_ as m}from"./_plugin-vue_export-helper-c27b6911.js";const u={class:"modal-wrapper"},p={class:"modal-container"},f={class:"modal-header"},h={class:"modal-body"},v={class:"modal-footer"},k={__name:"BaseModal",props:{modelValue:Boolean,title:{type:String,default:""}},emits:["update:modelValue"],setup(s,{emit:l}){const d=l;function o(){d("update:modelValue",!1)}return(t,y)=>s.modelValue?(_(),n("div",{key:0,class:"modal-mask",onClick:i(o,["self"])},[e("div",u,[e("div",p,[e("div",f,[e("h4",null,c(s.title),1),e("button",{class:"modal-close",onClick:o},"×")]),e("div",h,[a(t.$slots,"default",{},void 0,!0)]),e("div",v,[a(t.$slots,"footer",{},()=>[e("button",{class:"btn btn-primary",onClick:o},"确定")],!0)])])])])):r("",!0)}},V=m(k,[["__scopeId","data-v-9d206155"]]);export{V as default};
