skeletion-index-modal-legacy-c560663e.js 5.7 KB

1
  1. System.register(["./index-legacy-9572cf39.js","./index-legacy-95603f97.js","./index-legacy-bc1d90bf.js"],(function(e,t){"use strict";var d,i,_,a,n,l,r,c,o,s=document.createElement("style");return s.textContent='._cellGroup_d9dxi_1{overflow:hidden;padding:0 .34667rem}._cell_d9dxi_1{margin-top:.32rem;padding:.32rem;border-radius:.26667rem}._cell_d9dxi_1 .van-cell__title{flex:0 auto}._cell_d9dxi_1 ._iconTeacher_d9dxi_13{width:1.28rem;height:1.28rem;border-radius:50%;overflow:hidden;margin-right:.21333rem}._cell_d9dxi_1 ._username_d9dxi_20 ._name_d9dxi_20{font-size:.42667rem;font-weight:700}._cell_d9dxi_1 ._username_d9dxi_20 ._class_d9dxi_24{font-size:.34667rem;color:var(--k-gray-3);line-height:.58667rem;max-width:2.4rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._cell_d9dxi_1 ._attendance_d9dxi_33{display:flex;align-items:center;justify-content:flex-end;font-size:.32rem;color:var(--k-gray-3)}._cell_d9dxi_1 ._noLink_d9dxi_40 ._attendanceItem_d9dxi_40{margin-left:.32rem;margin-right:0}._cell_d9dxi_1 ._attendanceItem_d9dxi_40{display:flex;align-items:center;justify-content:center;flex-direction:column;width:1.6rem;height:1.6rem;background:#F6F6F6;border-radius:.16rem;margin-right:.32rem}._cell_d9dxi_1 ._weekAttendance_d9dxi_55 ._value_d9dxi_55{font-size:.37333rem;font-weight:600;color:#999}._cell_d9dxi_1 ._classAttendance_d9dxi_60 ._value_d9dxi_55{font-size:.42667rem}._cell_d9dxi_1 ._classAttendance_d9dxi_60 ._value_d9dxi_55 span{font-size:.32rem;color:var(--k-gray-1)}._error_d9dxi_67{color:#ff5a56!important}._success_d9dxi_70{color:var(--k-font-primary)!important}._teacherAttendanceDetail_d9dxi_73{--van-dropdown-menu-background: transparent}._teacherAttendanceDetail_d9dxi_73 .van-cell{padding-left:.32rem;padding-right:.32rem}._teacherAttendanceDetail_d9dxi_73 .van-dropdown-item{margin-top:0}._teacherAttendanceDetail_d9dxi_73 ._className_d9dxi_83{padding-top:.4rem;padding-bottom:0}._teacherAttendanceDetail_d9dxi_73 ._className_d9dxi_83 .van-cell__title{flex:0 auto}._teacherAttendanceDetail_d9dxi_73 ._className_d9dxi_83 ._class_d9dxi_24{display:flex;align-items:center;font-size:.42667rem;font-weight:600}._teacherAttendanceDetail_d9dxi_73 ._className_d9dxi_83 ._class_d9dxi_24:before{content:" ";margin-right:.16rem;width:.08rem;height:.32rem;background:#01C1B5;border-radius:.10667rem}._teacherAttendanceDetail_d9dxi_73 ._className_d9dxi_83 ._timer_d9dxi_104{color:var(--k-gray-1);font-size:.37333rem}._teacherAttendanceDetail_d9dxi_73 ._skeletionTitle_d9dxi_108 .van-cell__title{flex:1}._teacherAttendanceDetail_d9dxi_73 ._detailCellGroup_d9dxi_111{margin-bottom:.32rem}._teacherAttendanceDetail_d9dxi_73 ._detailGroup_d9dxi_114{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;width:100%}._teacherAttendanceDetail_d9dxi_73 ._detailItem_d9dxi_121{width:4.21333rem;padding:.32rem;background:#F6F6F6;border-radius:.16rem;margin-bottom:.24rem}._teacherAttendanceDetail_d9dxi_73 ._detailStatus_d9dxi_128{display:flex;align-items:center;justify-content:space-between;font-size:.42667rem;font-weight:600}._teacherAttendanceDetail_d9dxi_73 ._detailStatus_d9dxi_128 ._statusName_d9dxi_135{color:var(--k-gray-1)}._teacherAttendanceDetail_d9dxi_73 ._detailStatus_d9dxi_128 ._img_d9dxi_138{width:.42667rem;height:.42667rem}._teacherAttendanceDetail_d9dxi_73 ._sign_d9dxi_142{padding-top:.26667rem;display:flex;align-items:center;justify-content:space-between;font-size:.37333rem;color:var(--k-gray-1)}._teacherAttendanceDetail_d9dxi_73 ._sign_d9dxi_142 ._locate_d9dxi_150{font-size:.32rem;color:#999}\n',document.head.appendChild(s),{setters:[function(e){d=e.d,i=e.O,_=e.o,a=e.w,n=e.g},function(e){l=e.S,r=e.b,c=e.a},function(e){o=e.C}],execute:function(){var t=e("s",{cellGroup:"_cellGroup_d9dxi_1",cell:"_cell_d9dxi_1",iconTeacher:"_iconTeacher_d9dxi_13",username:"_username_d9dxi_20",name:"_name_d9dxi_20",class:"_class_d9dxi_24",attendance:"_attendance_d9dxi_33",noLink:"_noLink_d9dxi_40",attendanceItem:"_attendanceItem_d9dxi_40",weekAttendance:"_weekAttendance_d9dxi_55",value:"_value_d9dxi_55",classAttendance:"_classAttendance_d9dxi_60",error:"_error_d9dxi_67",success:"_success_d9dxi_70",teacherAttendanceDetail:"_teacherAttendanceDetail_d9dxi_73",className:"_className_d9dxi_83",timer:"_timer_d9dxi_104",skeletionTitle:"_skeletionTitle_d9dxi_108",detailCellGroup:"_detailCellGroup_d9dxi_111",detailGroup:"_detailGroup_d9dxi_114",detailItem:"_detailItem_d9dxi_121",detailStatus:"_detailStatus_d9dxi_128",statusName:"_statusName_d9dxi_135",img:"_img_d9dxi_138",sign:"_sign_d9dxi_142",locate:"_locate_d9dxi_150"});e("S",d({name:"skeleton-modal",props:{show:{type:Boolean,default:!1},showCount:{type:Array,default:function(){return[1,2,3,4,5,6,5,6]}},isLink:{type:Boolean,default:!0}},setup:function(e,d){var s=d.slots,x=i({loading:!1});return _((function(){x.loading=e.show})),a((function(){return e.show}),(function(){x.loading=e.show})),function(){return n(l,{loading:x.loading,style:"flex-wrap: wrap"},{template:function(){return n("div",{style:{height:e.isLink?"calc(100vh - var(--header-height))":"auto",overflow:"hidden",width:"100%"}},[e.showCount.map((function(){return n("div",{class:t.cellGroup},[n(o,{center:!0,isLink:e.isLink,clickable:!1,class:t.cell},{icon:function(){return n(r,{class:t.iconTeacher},null)},title:function(){return n("div",{class:t.username,style:{width:"80px"}},[n(c,{rowWidth:"50%"},null),n(c,{style:{marginTop:"4px"}},null)])},value:function(){return n("div",{class:[t.attendance,e.isLink?"":t.noLink]},[n("div",{class:[t.attendanceItem]},[n(c,{class:t.value,rowWidth:"40%"},null),n(c,{class:t.value,rowWidth:"40%"},null)]),n("div",{class:[t.attendanceItem]},[n(c,{class:t.value,rowWidth:"40%"},null),n(c,{class:t.value,rowWidth:"40%"},null)])])}})])}))])},default:function(){return s.default&&s.default()}})}}}))}}}));