skeletion-index-25eba80b.js 1.4 KB

1
  1. import{s as l}from"./api-a0afe4e5.js";import{d as n,g as t,X as d}from"./index-1d4a9afa.js";import{S as u,b as o,a as e}from"./index-fc00eb76.js";import{C as m}from"./index-a27d7671.js";import{G as c,a as f}from"./index-0840b1a0.js";function h(a){return typeof a=="function"||Object.prototype.toString.call(a)==="[object Object]"&&!d(a)}const b=n({name:"student-manage-skeletion",props:{loading:{type:Boolean,default:!0}},setup(a,{slots:i}){return()=>t(u,{loading:a.loading},{template:()=>t("div",{style:{width:"100%",height:"calc(100vh - 30px - var(--header-height))",overflow:"hidden"}},[t("div",{class:l.statistics},[t("div",{class:l.statisticsItem},[t(o,{avatarSize:"1rem"},null),t("div",{class:l.statisticsDes,style:{width:"50%"}},[t(e,{rowWidth:"80%"},null),t(e,{rowWidth:"90%"},null)])]),t("div",{class:l.statisticsItem},[t(o,{avatarSize:"1rem"},null),t("div",{class:l.statisticsDes,style:{width:"50%"}},[t(e,{rowWidth:"80%"},null),t(e,{rowWidth:"90%"},null)])])]),new Array(2).fill(1).map(r=>t("div",{style:{overflow:"hidden"},class:l.student},[t(m,{border:!1},{icon:()=>t(o,{avatarSize:"1.28rem"},null),title:()=>t(e,{rowWidth:"50%"},null),label:()=>t(e,{rowWidth:"30%"},null)}),new Array(2).fill(1).map(p=>{let s;return t(c,{border:!1},h(s=new Array(4).fill(1).map(w=>t(f,null,{default:()=>[t(e,{rowWidth:"80%"},null),t(e,{rowWidth:"90%"},null)]})))?s:{default:()=>[s]})})]))]),default:()=>{var r;return(r=i.default)==null?void 0:r.call(i)}})}});export{b as S};