!function(){function e(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function t(t){for(var n=1;n0&&s(m,{offsetTop:"var(--header-height)",onGetHeight:function(e){document.documentElement.style.setProperty("--header-cellGroup",e+"px")}},{default:function(){return[s("div",{style:{overflow:"hidden"}},[s(A,{inset:!0,class:N},{default:function(){return[s(w,{class:V,center:!0,isLink:!0,onClick:function(){return D.schoolStatus=!0}},{icon:function(){return s("img",{class:R,src:h},null)},title:function(){return s("div",{class:"van-ellipsis"},[D.school.name])}})]}})])]}}),s(v,{modelValue:D.refreshing,"onUpdate:modelValue":function(e){return D.refreshing=e},onRefresh:function(){return L()}},{default:function(){return[s("div",{class:[y]},[!D.loading&&!!D.list.length&&s(b,{loading:D.loading,finished:D.finished,finishedText:"没有更多数据",onLoad:L,immediateCheck:!1},{default:function(){return[s("div",{class:q},[D.list.map((function(e,t){return s("div",{class:j,onClick:function(){Z.push({path:"/photo-list",query:{id:e.id,name:e.name}})}},[s("div",{class:C,style:e.coverUrl?{backgroundImage:"url(".concat(e.coverUrl,")"),backgroundSize:"cover"}:""},[e.newFlag?s("i",{class:O},null):""]),s("div",{class:P},[e.name]),s("div",{class:B},[e.photoCount,u("张")])])}))])]}}),!D.loading&&!D.list.length&&s("div",{class:"emptyRootContainer",style:{minHeight:"78%"}},[s(d,{btnStatus:!1,tips:"暂无相册"},null)]),s(f,{show:D.schoolStatus,"onUpdate:show":function(e){return D.schoolStatus=e},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[s(x,{columns:D.schoolList,columnsFieldNames:{text:"name",value:"id"},onCancel:function(){return D.schoolStatus=!1},onConfirm:function(e){var t,i=e.selectedValues[0]||"";if(D.schoolStatus=!1,i!=(null===(t=D.school)||void 0===t?void 0:t.id)){var n=D.schoolList.find((function(e){return e.id==i}))||{};D.school=n,D.pages.page=1,D.list=[],D.finished=!1,L()}}},null)]}})])]}})])}}}))}}}))}();