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