猎羽广告

_drawer.C0e253H5.js 1.3KB

12
  1. import{o as e,Y as l}from"../element-plus/element-plus.DqqeXZzT.js";import{o,c as a,a as t,d as s,J as r,K as d,G as n,T as c,S as i}from"../@vue/@vue.lccsL1Mu.js";const u={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"},m=[t("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0z"},null,-1)];const f={name:"ep-arrow-left-bold",render:function(e,l){return o(),a("svg",u,m)}},p={class:"lMar10 c-000 f16"},h=s({__name:"_drawer",props:{title:{default:""},drawerShow:{type:Boolean,default:!1},drawerSize:{default:"80%"},headerSlotFlag:{type:Boolean,default:!1},closeOnModal:{type:Boolean,default:!0}},emits:["close"],setup(s,{emit:u}){const m=()=>{u("close")};return(u,h)=>{const w=f,v=e,S=l;return o(),r(S,{"model-value":s.drawerShow,direction:"rtl","close-on-click-modal":s.closeOnModal,"before-close":m,"show-close":!1,size:s.drawerSize},{header:d((()=>[s.headerSlotFlag?n(u.$slots,"headerSlot",{key:0}):(o(),a("div",{key:1,class:"flex pointer",onClick:m},[c(v,{class:"f16"},{default:d((()=>[c(w)])),_:1}),t("h4",p,i(s.title||"标题"),1)]))])),default:d((()=>[n(u.$slots,"content")])),_:3},8,["model-value","close-on-click-modal","size"])}}});export{h as _};