skeleton-index-modal-fd54156e.js 3.4 KB

1
  1. import{d as i,O as c,o as d,w as r,g as e}from"./index-1d4a9afa.js";import{S as u,a as o,b as A}from"./index-fc00eb76.js";import{C as m}from"./index-b8090118.js";import{C as n}from"./index-a27d7671.js";const p="_lessonCellGroup_tgjdl_1",C="_timeCell_tgjdl_4",g="_iconStudent_tgjdl_10",_="_userInfo_tgjdl_18",f="_name_tgjdl_23",k="_people_tgjdl_29",w="_iconPeople_tgjdl_36",h="_musicCell_tgjdl_41",S="_musicInfo_tgjdl_44",B="_iconMusic_tgjdl_54",G="_rowGroup_tgjdl_61",I="_c_tgjdl_73",j="_q_tgjdl_76",Q="_k_tgjdl_79",y="_skeletonClass_tgjdl_107",D="_tabs_tgjdl_111",l={lessonCellGroup:p,timeCell:C,iconStudent:g,userInfo:_,name:f,people:k,iconPeople:w,musicCell:h,musicInfo:S,iconMusic:B,rowGroup:G,c:I,q:j,k:Q,skeletonClass:y,tabs:D},b="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAgCAYAAAB6kdqOAAAAAXNSR0IArs4c6QAABGZJREFUWEe9lltsVFUUhv+1z9Q2vaCYQqGNMSIaFcUYGry1czpCbGemhUCaKi9VQYImXhL7YowxRB+ITxLvgQhpMMQ0xGjac4ZG63CmhRBJDJGARiBGAg21VUxxSOnM7N9M1anTuZ1OJ+7Hs//1r++stc7ZW+B2HbcXISZPiuZGCFeBqANwDZDzojikddk+mI+fdWuXSyeuDCLWc0K8CWBJHr0WQa8W9qC5/Yor3yyi/ECn+25QE9V7CXa7TiA4T2o/zI6iqpUXSDlWLwH3MClqXmB5Yi0uXL9iLK96AiQTynMJsdgp+Dom8r1cbqCIvV3IPa4rkyGUEM1AABH7HkV2/bNNEZxMXI6G0NU1nc07O9DgYJVUxM8DM4Nb9CJUEKbfNpzQU4S+LWWk1Ki+yl4EAtfnmmcHitjPC/lh0SSpQBmkGWhDJLRaUW/+r5+I+jHh9X/mCkgc+zDA1oUDIc7aysU4N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:Boolean,default:!1},showCount:{type:Array,default:()=>[1,2,3,4,5]}},setup(t,{slots:a}){const s=c({loading:!1});return d(()=>{s.loading=t.show}),r(()=>t.show,()=>{s.loading=t.show}),()=>e(u,{loading:s.loading,style:"flex-wrap: wrap"},{template:()=>e("div",{style:{height:"calc(100vh - var(--header-height))",overflow:"hidden",width:"100%"}},[t.showCount.map(()=>e(m,{inset:!0,class:l.lessonCellGroup},{default:()=>[e(n,{center:!0,class:l.timeCell},{title:()=>e(o,{rowWidth:"40%"},null),value:()=>e(o,{rowWidth:"40%"},null)}),e(n,{center:!0,border:!1,valueClass:l.skeletonClass},{icon:()=>e(A,{class:l.iconStudent},null),title:()=>e("div",{class:l.userInfo},[e(o,{class:l.name,rowWidth:"40%"},null),e(o,{class:l.subject,rowWidth:"50%"},null)]),value:()=>e(o,{class:l.people,rowWidth:"40%"},null)}),e(n,{center:!0,class:l.musicCell},{title:()=>e(o,{class:l.musicInfo,rowWidth:"40%",style:{marginTop:"10px"}},null),label:()=>e(o,{class:l.rowGroup,rowWidth:"80%"},null)})]}))]),default:()=>a.default&&a.default()})}});export{L as S,b as i,l as s};