1 |
- !function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){n(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(l){return void n(l)}c.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,s,"next",e)}function s(e){r(a,o,i,c,s,"throw",e)}c(void 0)}))}}var i=document.createElement("style");i.innerHTML="._phoneDetail_1ydtx_1{height:calc(100vh - var(--header-height) - var(--header-cellGroup));overflow:hidden;overflow-y:auto}._photoWrap_1ydtx_6{display:flex;flex-wrap:wrap;padding:.32rem;box-sizing:border-box;justify-content:space-between}._photoWrap_1ydtx_6 div{box-sizing:border-box}._photoItem_1ydtx_16{position:relative;width:49%;margin-bottom:.32rem}._photoItem_1ydtx_16 ._gridImg_1ydtx_21{display:flex;justify-content:center;align-items:center;height:50vw;width:100%;border-radius:.10667rem;overflow:hidden;position:relative;background-color:#eaeaea;background-repeat:no-repeat;background-position:center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAAAXNSR0IArs4c6QAACRdJREFUeF7tnUtsU1cax7/v2nFCMK+UEErEK2AecZAC5SXeqN2guKPRjGZmW6mbdjUjNl10O5vZVO2q3VTqtq0qjYaAWMwovCQCUqCQOD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IaSdwjNullIHJycmvurq6Pkun07kVMvOEPCBjZWft2rWF1i5Rmf4dEZ1k5pIjtYIJklOnToV8Pt8fhBB4YeC8feMBti63tbXZi9VRFIjo7D/MHJutbpWUiZptpwvxeANa0103oA1oTQQ0dWM02oDWREBTN0ajDWhNBDR1YzR6IYGWUvr7+/vr4vF4bTAYxDt5AkKIGr/f7xNC+JEGwHvksgI2yJtnxefzpS3LSqVSKXyjziIRj8eTwWBwsrW1dYKZ1d9OVSHwZdFogOrr63vfsiz89spqIlqZTqcbLctC7jbzkVLiDar4YPkGdV7IxuMbJaRqm1xKhwDQeHHiWyLCBhl8o7J9jJmRaEcOflQIMerz+bBjaZiIngshBtva2gbLcaOKAh2LxWrHx8f3+ny+D6SUbUSEvW8t+EkQZp6XyScpZXrqpz6Q94gxc186ne6pr6+/GgqFlDdJKoOORqNfCyE+JaLcd5qVrmlz+ci4ZVnfh8PhGT8Dkm9AxYD+RAjxuZTyg/mqvap3fUrLeyzL+jYcDv+gcpwy6OzJYrHY0mQy2Z5KpfDrOSFm3iilXM/MzVJK/GRT0edUuVAP2khmHpFSPmVmvDpsQAhxz+/399bU1PwaCoWKWkQtK5RoNBoIBAKrEolEIzPjtS8NUsoVQggYxCXM/LsxFEIsZmYYROw8qmPmOillLTPXYOFh6hvzPgwlvjNOx7QbmXE6plY8kJxPMXNaSoltDYmp70kpJYwgPu+klOOWZcEQZoyhlBKw3liWNcrMMIivpJTDgUDgZSKRGAqHwyUn+u2KUVbQHmjdnOnSgNZ0qwxoA1oTAU3dGI02oDUR0NTNb2QLa5d/JYlZAAAAAElFTkSuQmCC)}._photoItem_1ydtx_16 ._iconNew_1ydtx_35{position:absolute;top:.16rem;right:.16rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAAAiCAYAAADbLB6TAAAAAXNSR0IArs4c6QAAB6VJREFUaEPtmn9wVNUVx7/3vbe7b3ebOA4hypRWwZ/VjmDHERQQoiwWBIoQBjHaIhgTqFgETaVM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iDeLGLV3CAWtjx4w0CXkrVaPJAmY1qbe2DtIPL+FLOb2u5Cd+t1qY2VV+OgGehY/Y2+neOnd84SqZC3eXB64t/BWso5+kiiF+BLNv2gMFr1JAnER9lKQBs1Rx5VX2wZMpwOiXB9+ml3jlwsRuOrrtq2tzwdPI9Dv5jwDpFOEBi+JxtwwyLeljEJKTzgW+67ZswPxJB26dSUFfpPyX6Kykg0AMyPZAwVIKPJ4O41kbcSKVQWZ/pMhGsvMQiZsKWLqwqFWXzcmOIJ/vNdeyg8+ick2q1YUj174FkwnQmNRhJupklAGE3Q+m3PF9C5j1ZQvnFEsanhTgDquirQ5PIJBGU9AfA7iUADlO75P74vU3QJelhddlS1qs7t//z/8BiWSrXkTX3zkAAAAASUVORK5CYII=) no-repeat center center;background-size:100%;display:inline-block;width:1.17333rem;height:.45333rem}._photoItem_1ydtx_16 ._iconImage_1ydtx_45{display:flex;justify-content:center}._photoItem_1ydtx_16 ._gridName_1ydtx_49{font-size:.42667rem;color:#333;line-height:.58667rem;padding:.21333rem 0 .10667rem}._photoItem_1ydtx_16 ._gridDes_1ydtx_55{color:#777;line-height:.45333rem;padding-left:.02667rem;font-size:.32rem}._cellGroup_1ydtx_61{width:calc(100% - .69333rem);margin:.32rem .34667rem 0}._select_1ydtx_65{height:1.2rem}._select_1ydtx_65 ._icon_1ydtx_35{width:.45333rem;height:.45333rem;margin-right:.10667rem;flex-shrink:0}._select_1ydtx_65 .van-cell__title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._select_1ydtx_65 .van-cell__right-icon{color:#333;transform:rotate(90deg);margin:0 0 0 .10667rem}\n",document.head.appendChild(i),System.register(["./index-legacy.48c8d62c.js","./index-legacy.f3037807.js","./icon-or-legacy.41f67ed6.js","./index-legacy.8cf5f94f.js","./index-legacy.b00f6427.js","./index-legacy.269a0b91.js","./index-legacy.087e0425.js","./index-legacy.04f465c8.js","./index-legacy.384d768f.js","./index-legacy.ac553194.js","./use-tab-status-legacy.6949b1de.js","./index-legacy.ef66d7bb.js","./index-legacy.71047e87.js","./index-legacy.a2ac81dd.js"],(function(e){"use strict";var n,r,i,a,c,s,l,u,d,f,p,g,h,m,A,y,v,w,b;return{setters:[function(e){n=e.d,r=e.aV,i=e.ag,a=e.r,c=e.$,s=e.c,l=e.q,u=e.ai,d=e.P,f=e.m,p=e.f},function(e){g=e.O},function(e){h=e.i},function(e){m=e.O},function(e){A=e.O},function(e){y=e.C},function(e){v=e.C},function(e){w=e.L},function(e){b=e.P},function(){},function(){},function(){},function(){},function(){}],execute:function(){var x="_phoneDetail_1ydtx_1",j="_photoWrap_1ydtx_6",C="_photoItem_1ydtx_16",O="_gridImg_1ydtx_21",B="_iconNew_1ydtx_35",P="_gridName_1ydtx_49",V="_gridDes_1ydtx_55",N="_cellGroup_1ydtx_61",R="_select_1ydtx_65",Z="_icon_1ydtx_35";e("default",n({name:"photo-detail",props:{orchestraId:{type:String,default:""}},setup:function(e){var n=r(),D=i(),L=a({refreshing:!1,loading:!1,finished:!1,pages:{page:1,rows:20},list:[],schoolStatus:!1,schoolList:[],school:{}}),Y=function(){var e=o(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return L.refreshing&&(L.pages.page=1,L.finished=!1,L.list=[]),L.loading=!0,e.prev=2,e.next=5,f.post("".concat(p.platformApi,"/orchestraPhotoAlbum/page"),{data:t(t({},L.pages),{},{schoolId:L.school.id}),hideLoading:!0});case 5:r=e.sent,Array.isArray(null==r||null===(n=r.data)||void 0===n?void 0:n.rows)&&(L.list=L.list.concat(r.data.rows),L.pages.page+=1,r.data.rows.length||(L.finished=!0)),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(2),L.finished=!0;case 12:L.loading=!1,setTimeout((function(){L.refreshing=!1}),500);case 14:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(){return e.apply(this,arguments)}}(),K=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.post("/api-teacher/school/teacherSchoolPage",{data:{teacherId:p.user.data.id,page:1,rows:999}});case 3:n=e.sent,Array.isArray(null===(t=n.data)||void 0===t?void 0:t.rows)&&(L.schoolList=n.data.rows.map((function(e){return{name:e.schoolName||"",id:e.schoolId||""}})),L.school=L.schoolList[0]||{}),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();return c(o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,K();case 2:return e.next=4,Y();case 4:document.title=n.query.name||"";case 5:case"end":return e.stop()}}),e)})))),function(){return s("div",null,[s(m,{onGetHeight:function(e){document.documentElement.style.setProperty("--header-height",e+"px")}},{default:function(){return[s(g,null,null)]}}),s(m,{offsetTop:"var(--header-height)",onGetHeight:function(e){document.documentElement.style.setProperty("--header-cellGroup",e+"px")}},{default:function(){return[L.schoolList.length>0&&s(y,{inset:!0,class:N},{default:function(){return[s(v,{class:R,center:!0,isLink:!0,onClick:function(){return L.schoolStatus=!0}},{icon:function(){return s("img",{class:Z,src:h},null)},title:function(){return s("div",{class:"van-ellipsis"},[L.school.name])}})]}})]}}),s(A,{modelValue:L.refreshing,"onUpdate:modelValue":function(e){return L.refreshing=e},onRefresh:function(){return Y()}},{default:function(){return[s("div",{class:[x]},[!L.loading&&!!L.list.length&&s(w,{loading:L.loading,finished:L.finished,finishedText:"没有更多数据",onLoad:Y,immediateCheck:!1},{default:function(){return[s("div",{class:j},[L.list.map((function(e,t){return s("div",{class:C,onClick:function(){D.push({path:"/photo-list",query:{id:e.id,name:e.name}})}},[s("div",{class:O,style:e.coverUrl?{backgroundImage:"url(".concat(e.coverUrl,")"),backgroundSize:"cover"}:""},[e.newFlag?s("i",{class:B},null):""]),s("div",{class:P},[e.name]),s("div",{class:V},[e.photoCount,l("张")])])}))])]}}),!L.loading&&!L.list.length&&s("div",{class:"emptyRootContainer",style:{minHeight:"78%"}},[s(u,{btnStatus:!1,tips:"暂无相册"},null)]),s(d,{show:L.schoolStatus,"onUpdate:show":function(e){return L.schoolStatus=e},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[s(b,{columns:L.schoolList,columnsFieldNames:{text:"name",value:"id"},onCancel:function(){return L.schoolStatus=!1},onConfirm:function(e){var t,n=e.selectedValues[0]||"";if(L.schoolStatus=!1,n!=(null===(t=L.school)||void 0===t?void 0:t.id)){var r=L.schoolList.find((function(e){return e.id==n}))||{};L.school=r,L.pages.page=1,L.list=[],L.finished=!1,Y()}}},null)]}})])]}})])}}}))}}}))}();
|