!function(){function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function e(e){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?t(Object(i),!0).forEach((function(t){n(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(t,e,n,r,i,a,o){try{var c=t[a](o),s=c.value}catch(u){return void n(u)}c.done?e(s):Promise.resolve(s).then(r,i)}System.register(["./index-legacy.c77ea834.js","./index.module-legacy.bef32549.js","./index-legacy.637d412c.js","./index-legacy.adfce87c.js","./function-call-legacy.f50e5a20.js","./use-tab-status-legacy.da94fc74.js","./ImagePreview-legacy.3e4d38e3.js","./index-legacy.0e6d369b.js"],(function(t){"use strict";var n,i,a,o,c,s,u,l,f,d,p,g;return{setters:[function(t){n=t.d,i=t.ah,a=t.r,o=t.$,c=t.c,s=t.aj,u=t.ak,l=t.m},function(t){f=t.s},function(t){d=t.L},function(t){p=t.I},function(t){g=t.s},function(){},function(){},function(){}],execute:function(){t("default",n({name:"photo-detail",setup:function(){var t=i(),n=a({isEdit:!1,isLoading:!1,list:[],listState:{dataShow:!0,loading:!1,finished:!1},params:{page:1,rows:20}}),h=function(){var i,a=(i=regeneratorRuntime.mark((function r(){var i,a,o;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(r.prev=0,!n.isLoading){r.next=3;break}return r.abrupt("return");case 3:return n.isLoading=!0,r.next=6,l.post("/api-school/orchestraPhoto/page",{data:e(e({},n.params),{},{orchestraPhotoAlbumId:t.query.photoId})});case 6:if(i=r.sent,n.listState.loading=!1,a=i.data||{},!(n.list.length>0&&1===a.current)){r.next=11;break}return r.abrupt("return");case 11:o=a.rows||[],n.list=n.list.concat(o),n.listState.finished=a.current>=a.pages,n.params.page=a.current+1,n.listState.dataShow=n.list.length>0,n.isLoading=!1,r.next=24;break;case 19:r.prev=19,r.t0=r.catch(0),n.listState.dataShow=!1,n.listState.finished=!0,n.isLoading=!1;case 24:case"end":return r.stop()}}),r,null,[[0,19]])})),function(){var t=this,e=arguments;return new Promise((function(n,a){var o=i.apply(t,e);function c(t){r(o,n,a,c,s,"next",t)}function s(t){r(o,n,a,c,s,"throw",t)}c(void 0)}))});return function(){return a.apply(this,arguments)}}();return o((function(){h(),document.title=t.query.name||""})),function(){return c("div",{class:[f.phoneDetail,!n.listState.dataShow&&"emptyRootContainer"]},[c(s,{title:t.query.name||""},null),n.listState.dataShow?c(d,{finished:n.listState.finished,finishedText:" ",onLoad:h,immediateCheck:!1},{default:function(){return[c("div",{class:f.phoneContainer,style:{paddingTop:"12px"}},[n.list.map((function(t,e){return c("div",{class:[f.item],onClick:function(){!function(t){var e=n.list.map((function(t){return t.fileUrl}));g({images:e,startPosition:t,closeable:!0})}(e)}},[c(p,{class:f.img,src:t.fileUrl,fit:"cover"},null)])}))])]}}):c(u,{btnStatus:!1,tips:"暂无相片"},null)])}}}))}}}))}();
