1 |
- !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;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?e(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function n(e,t,i,n,r,o,a){try{var c=e[o](a),s=c.value}catch(l){return void i(l)}c.done?t(s):Promise.resolve(s).then(n,r)}function r(e){return function(){var t=this,i=arguments;return new Promise((function(r,o){var a=e.apply(t,i);function c(e){n(a,r,o,c,s,"next",e)}function s(e){n(a,r,o,c,s,"throw",e)}c(void 0)}))}}var o=document.createElement("style");o.innerHTML="._phoneDetail_ivqxi_1{height:calc(100vh - var(--header-height) - var(--header-cellGroup));overflow:hidden;overflow-y:auto}._photoWrap_ivqxi_6{display:flex;flex-wrap:wrap;padding:.32rem;box-sizing:border-box;justify-content:space-between}._photoWrap_ivqxi_6 div{box-sizing:border-box}._photoItem_ivqxi_16{position:relative;width:49%;margin-bottom:.32rem}._photoItem_ivqxi_16 ._gridImg_ivqxi_21{display:flex;justify-content:center;align-items:center;height:50vw;width:100%;border-radius:.05333rem;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_ivqxi_16 ._iconNew_ivqxi_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_ivqxi_16 ._iconImage_ivqxi_45{display:flex;justify-content:center}._photoItem_ivqxi_16 ._gridName_ivqxi_49{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;padding:.21333rem 0 .10667rem}._photoItem_ivqxi_16 ._gridDes_ivqxi_56{color:#777;line-height:.45333rem;padding-left:.02667rem;font-size:.32rem}._cellGroup_ivqxi_62{width:calc(100% - .69333rem);margin:.32rem .34667rem 0}._select_ivqxi_66{height:1.2rem}._select_ivqxi_66 ._icon_ivqxi_35{width:.45333rem;height:.45333rem;margin-right:.10667rem;flex-shrink:0}._select_ivqxi_66 .van-cell__title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._select_ivqxi_66 .van-cell__right-icon{color:#333;transform:rotate(90deg);margin:0 0 0 .10667rem}\n",document.head.appendChild(o),System.register(["./index-legacy.c1f63540.js","./icon-or-legacy.41f67ed6.js","./index-legacy.7e71b67e.js","./index-legacy.4596d3ae.js","./index-legacy.2318e5fa.js","./index-legacy.8a8e9c42.js","./index-legacy.3d6462c3.js","./index-legacy.6aa82d51.js","./use-tab-status-legacy.77a01b2b.js","./Picker-legacy.5a9c13b9.js","./index-legacy.aa9b4ef8.js","./index-legacy.49ab1c78.js","./index-legacy.6603017a.js"],(function(e){"use strict";var i,n,o,a,c,s,l,u,d,p,g,h,f,m,v,A,w,b,x;return{setters:[function(e){i=e.d,n=e.ah,o=e.ag,a=e.r,c=e.$,s=e.c,l=e.aj,u=e.q,d=e.ak,p=e.P,g=e.m,h=e.g},function(e){f=e.i},function(e){m=e.O},function(e){v=e.O},function(e){A=e.C},function(e){w=e.C},function(e){b=e.L},function(e){x=e.P},function(){},function(){},function(){},function(){},function(){}],execute:function(){var y="_phoneDetail_ivqxi_1",q="_photoWrap_ivqxi_6",j="_photoItem_ivqxi_16",C="_gridImg_ivqxi_21",O="_iconNew_ivqxi_35",P="_gridName_ivqxi_49",B="_gridDes_ivqxi_56",N="_cellGroup_ivqxi_62",V="_select_ivqxi_66",R="_icon_ivqxi_35";e("default",i({name:"photo-detail",props:{orchestraId:{type:String,default:""}},setup:function(e){var i=n(),Z=o(),D=a({refreshing:!1,loading:!1,finished:!1,pages:{page:1,rows:20},list:[],schoolStatus:!1,schoolList:[],school:{}}),L=function(){var e=r(regeneratorRuntime.mark((function e(){var i,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return D.refreshing&&(D.pages.page=1,D.finished=!1,D.list=[]),D.loading=!0,e.prev=2,e.next=5,g.post("".concat(h.platformApi,"/orchestraPhotoAlbum/page"),{data:t(t({},D.pages),{},{schoolId:D.school.id}),hideLoading:!0});case 5:n=e.sent,Array.isArray(null==n||null===(i=n.data)||void 0===i?void 0:i.rows)&&(D.list=D.list.concat(n.data.rows),D.pages.page+=1,n.data.rows.length||(D.finished=!0)),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(2),D.finished=!0;case 12:D.loading=!1,setTimeout((function(){D.refreshing=!1}),500);case 14:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(){return e.apply(this,arguments)}}(),Y=function(){var e=r(regeneratorRuntime.mark((function e(){var t,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.post("/api-teacher/school/teacherSchoolPage",{data:{teacherId:h.user.data.id,page:1,rows:999}});case 3:i=e.sent,Array.isArray(null===(t=i.data)||void 0===t?void 0:t.rows)&&(D.schoolList=i.data.rows.map((function(e){return{name:e.schoolName||"",id:e.schoolId||""}})),D.school=D.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(r(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Y();case 2:return e.next=4,L();case 4:document.title=i.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(l,null,null)]}}),D.schoolList.length>0&&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:f},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(p,{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)]}})])]}})])}}}))}}}))}();
|