You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
847 B
2 lines
847 B
import{b as n,i as p,d,u as c,o,v as t,n as r,e as s,r as l,I as i,x as u,f as m,z as y,A as f,h}from"./normalize-8d58a40d.js";import{_ as v}from"./base-79ac1cb4.js";const S=n({header:{type:String,default:""},bodyStyle:{type:p([String,Object,Array]),default:""},shadow:{type:String,values:["always","hover","never"],default:"always"}}),_=d({name:"ElCard"}),b=d({..._,props:S,setup(C){const a=c("card");return(e,g)=>(o(),t("div",{class:r([s(a).b(),s(a).is(`${e.shadow}-shadow`)])},[e.$slots.header||e.header?(o(),t("div",{key:0,class:r(s(a).e("header"))},[l(e.$slots,"header",{},()=>[y(f(e.header),1)])],2)):i("v-if",!0),u("div",{class:r(s(a).e("body")),style:m(e.bodyStyle)},[l(e.$slots,"default")],6)],2))}});var w=v(b,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);const N=h(w);export{N as E};
|