index-legacy.89ec474a.js 22 KB

1
  1. !function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function t(t){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{};n%2?e(Object(a),!0).forEach((function(e){r(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):e(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t,r,n,a,i,o){try{var c=e[i](o),s=c.value}catch(l){return void r(l)}c.done?t(s):Promise.resolve(s).then(n,a)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(a,i){var o=e.apply(t,r);function c(e){n(o,a,i,c,s,"next",e)}function s(e){n(o,a,i,c,s,"throw",e)}c(void 0)}))}}var i=document.createElement("style");i.innerHTML="._mineOrchestra_125jq_1{padding-top:.32rem;box-sizing:border-box}._select_125jq_5{height:1.2rem}._select_125jq_5 ._icon_125jq_8{width:.45333rem;height:.45333rem;margin-right:.10667rem;flex-shrink:0}._select_125jq_5 .van-cell__title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._select_125jq_5 .van-cell__right-icon{color:#333;transform:rotate(90deg);margin:0 0 0 .10667rem}._tabs_125jq_24{--van-tab-active-text-color: var(--van-primary-color)}._tabs_125jq_24 .van-tab{font-size:.4rem;color:#333}._tabs_125jq_24 .van-tab--active{color:var(--van-primary-color)}._tabs_125jq_24 .van-tabs__line{bottom:.53333rem}._content_125jq_37{height:calc(100vh - 1.52rem - var(--van-tabs-line-height) - var(--header-height));overflow:hidden;overflow-y:auto}._myClass_175qp_1{padding:.32rem 0}._itemDiv_175qp_4{border-radius:.26667rem;overflow:hidden;background-color:#fff;margin:0 .32rem .32rem}._itemDiv_175qp_4 ._userContainer_175qp_10 .van-cell__label{margin-top:0}._itemDiv_175qp_4 ._userContainer_175qp_10:after{left:0;right:0}._itemDiv_175qp_4 ._iconImg_175qp_17{flex-shrink:0;width:1.17333rem;height:1.17333rem;border-radius:50%;overflow:hidden;margin-right:.21333rem}._itemDiv_175qp_4 ._messageImg_175qp_25{width:.64rem;height:.64rem}._itemDiv_175qp_4 ._tag_175qp_29{padding:0 .21333rem;height:.50667rem;line-height:.50667rem;background:#ff8057;border-radius:.10667rem;color:#fff;font-size:.32rem;margin-right:.16rem}._itemDiv_175qp_4 .van-cell{padding:0 .32rem;height:1.81333rem;box-sizing:border-box}._itemDiv_175qp_4 .van-cell .van-tag{margin-left:.10667rem}._itemDiv_175qp_4 .van-cell .van-cell__label{color:#777}._itemDiv_175qp_4 .van-cell .van-cell__title{width:60vw}._itemDiv_175qp_4 .van-cell .van-cell__value{flex:none}._itemDiv_175qp_4 ._content_175qp_56{display:flex;align-items:center}._itemDiv_175qp_4 ._content_175qp_56 ._teacherName_175qp_60{font-size:500}._grid_175qp_63 ._title_175qp_63{font-size:.64rem;color:#333;margin-bottom:.10667rem;font-family:DINA}._grid_175qp_63 ._name_175qp_69{font-size:.32rem;color:#777}._grid_175qp_63 .van-grid-item__content{padding-bottom:.53333rem}._returnOrchestra_175qp_76{font-size:.34667rem;font-weight:400;color:#aaa;line-height:.48rem}._orchestraStory_1jvjc_1{padding-bottom:calc(.26667rem + env(safe-area-inset-bottom));box-sizing:border-box}._cellGroup_1jvjc_5{margin:.32rem .34667rem 0;overflow:hidden;border-radius:.26667rem}._cellGroup_1jvjc_5 .van-cell{font-size:.42667rem;color:#333;padding:.42667rem .32rem}._storySteps_1jvjc_15{background-color:transparent;padding-top:.32rem}._storySteps_1jvjc_15 .van-step--vertical{padding-right:.34667rem}._storySteps_1jvjc_15 .van-step--vertical:after{border-width:0!important}._storySteps_1jvjc_15 ._stepTimes_1jvjc_25{display:flex;align-items:center;justify-content:space-between;font-size:.53333rem;font-weight:700;color:#333}._storySteps_1jvjc_15 ._stepTimes_1jvjc_25 ._stepTime_1jvjc_25{font-family:DINA;padding-bottom:.16rem}._storySteps_1jvjc_15 ._stepTimes_1jvjc_25 ._stepEdit_1jvjc_37{font-size:.37333rem;font-weight:400;color:#777;display:flex;align-items:center}._storySteps_1jvjc_15 ._stepTimes_1jvjc_25 ._stepEdit_1jvjc_37 .van-icon{font-size:.37333rem;margin-right:.08rem}._storySteps_1jvjc_15 ._content_1jvjc_48{padding-top:.21333rem;font-size:.37333rem;color:#666;line-height:.53333rem}._storySteps_1jvjc_15 ._storySwipe_1jvjc_54{padding-top:.16rem;--van-swipe-indicator-size: .21333rem}._storySteps_1jvjc_15 ._storySwipe_1jvjc_54 ._swipeImg_1jvjc_58{width:100%;height:5.33333rem;border-radius:.26667rem;overflow:hidden;background-color:#eaeaea;background-repeat:no-repeat;background-position:center;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAAAXNSR0IArs4c6QAACRdJREFUeF7tnUtsU1cax7/v2nFCMK+UEErEK2AecZAC5SXeqN2guKPRjGZmW6mbdjUjNl10O5vZVO2q3VTqtq0qjYaAWMwovCQCUqCQODwMQTwDISFDMCHx45zqb8VVcn3te+zY5zrJ+STLUnLuPff87nfP9zjfuWYyooUAa+nFdEIGtCYlMKANaE0ENHVjNHqug5ZSvk9EXxDRx0S0lohqNI1JdzdJInpMRKeI6F/MPOh0ARXRaCnlISL6NxG9p3vUHvc3QkR/ZOZL9usoO+gpTe5dgJCzbAF7h12zKwH6ayL6u8ea5XX33zDzP6ZfRCVA3yeiFq9H6nH/A8y8qdKgE/PY8KnevyQzByoNWqpezXxux8wzZotKTB0GNBEZ0JoeIwO62kCfPXu2QQhxUgjxpykvolbTNVZFN5ZlUX19Pa1evZo2btxIgcAM2+Z6jUoaffr06XYpZScRNbuecQE0qK2tpb1799LSpUuVR+sKGpq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LxWrHx8f3+ny+D6SUbUSEvW8t+EkQZp6XyScpZXrqpz6Q94gxc186ne6pr6+/GgqFlDdJKoOORqNfCyE+JaLcd5qVrmlz+ci4ZVnfh8PhGT8Dkm9AxYD+RAjxuZTyg/mqvap3fUrLeyzL+jYcDv+gcpwy6OzJYrHY0mQy2Z5KpfDrOSFm3iilXM/MzVJK/GRT0edUuVAP2khmHpFSPmVmvDpsQAhxz+/399bU1PwaCoWKWkQtK5RoNBoIBAKrEolEIzPjtS8NUsoVQggYxCXM/LsxFEIsZmYYROw8qmPmOillLTPXYOFh6hvzPgwlvjNOx7QbmXE6plY8kJxPMXNaSoltDYmp70kpJYwgPu+klOOWZcEQZoyhlBKw3liWNcrMMIivpJTDgUDgZSKRGAqHwyUn+u2KUVbQHmjdnOnSgNZ0qwxoA1oTAU3dGI02oDUR0NTNb2QLa5d/JYlZAAAAAElFTkSuQmCC)}._storySteps_1jvjc_15 ._iconActive_1jvjc_68{width:.48rem;height:.48rem}._storySteps_1jvjc_15 ._iconInactive_1jvjc_72{width:.32rem;height:.32rem}\n",document.head.appendChild(i),System.register(["./index-legacy.c1f63540.js","./index-legacy.7e71b67e.js","./icon-or-legacy.41f67ed6.js","./icon_teacher-legacy.07765f44.js","./icon-muit-message-legacy.68290c1f.js","./index-legacy.8a8e9c42.js","./index-legacy.45d07924.js","./index-legacy.cdcc5f23.js","./index-legacy.5f4e326e.js","./index-legacy.3d6462c3.js","./index-legacy.49ab1c78.js","./index-legacy.2318e5fa.js","./index-legacy.aa9b4ef8.js","./index-legacy.6aa82d51.js","./plyr.min-legacy.a0adaba2.js","./plyr-legacy.2bfabaee.js","./use-tab-status-legacy.77a01b2b.js","./index-legacy.6603017a.js","./Picker-legacy.5a9c13b9.js"],(function(e){"use strict";var r,n,i,o,c,s,l,u,d,p,f,m,v,_,h,g,j,A,y,b,S,w,q,C,D,N,O,E,R,I,x,L,T,B,V,U,Q,z;return{setters:[function(e){r=e.d,n=e.ag,i=e.bJ,o=e.c,c=e.F,s=e.g,l=e.q,u=e.e,d=e.r,p=e.Z,f=e.R,m=e.$,v=e.ai,_=e._,h=e.ak,g=e.al,j=e.m,A=e.ah,y=e.aj,b=e.P},function(e){S=e.O},function(e){w=e.i},function(e){q=e.i},function(e){C=e.i},function(e){D=e.C},function(e){N=e.I},function(e){O=e.G,E=e.a},function(e){R=e.S,I=e.a,x=e.O},function(e){L=e.L},function(e){T=e.S,B=e.a},function(e){V=e.C},function(e){U=e.T,Q=e.a},function(e){z=e.P},function(){},function(){},function(){},function(){},function(){}],execute:function(){var K="_mineOrchestra_125jq_1",k="_select_125jq_5",Y="_icon_125jq_8",W="_tabs_125jq_24",G="_content_125jq_37",H="_myClass_175qp_1",Z="_itemDiv_175qp_4",X="_userContainer_175qp_10",F="_iconImg_175qp_17",P="_messageImg_175qp_25",J="_tag_175qp_29",M="_content_175qp_56",$="_teacherName_175qp_60",ee="_grid_175qp_63",te="_title_175qp_63",re="_name_175qp_69",ne="_returnOrchestra_175qp_76",ae=r({name:"my-orchestra",props:{orchestraData:{type:Object,default:function(){return{}}},orchestraName:{type:String,default:""},list:{type:Object,default:function(){return[]}}},setup:function(e){var t=n(),r=i(e).orchestraName;console.log("🚀 ~ orchestraName",r.value);var d=function(){var e=a(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log(t),u({api:"joinChatGroup",content:{type:"multi",id:t.imGroupId}});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),p=i(e).list;return function(){var n,a,i;return o("div",{class:H},[Array.isArray(p.value)&&p.value.map((function(e){return o("div",{class:Z,onClick:function(){return function(e){console.log("🚀 ~ item",e),"STUDENT"!=s.platformType&&u({api:"open_app_page",content:{action:"app",pageTag:"classDetail",url:"",params:JSON.stringify({classId:e.classGroupId})}})}(e)}},[o(D,{center:!0,class:X},{icon:function(){return o(N,{src:e.teacherAvatar||q,class:F,fit:"cover"},null)},title:function(){return o(c,null,["TEACHER"==s.platformType?o(c,null,[o("div",{class:M},[o("div",{class:["van-ellipsis",$]},[e.classGroupName])]),o("div",{class:"van-ellipsis van-cell__label"},[r.value])]):o(c,null,[o("div",{class:M},[e.teacherName?o("div",{class:["van-ellipsis",$]},[e.teacherName]):o("div",{style:{color:"rgba(178,178,178,1)"}},[l("暂无伴学指导")])]),o("div",{class:"van-cell__label"},[o("span",{class:J},[e.classGroupName])])])])},value:function(){return o(N,{class:P,src:C,onClick:function(t){t.stopPropagation(),d(e)}},null)}}),o(O,{border:!1,columnNum:3,class:ee},{default:function(){return[o(E,{class:"gridBorderRight"},{default:function(){return[o("p",{class:te},[e.studentNum||0]),o("p",{class:re},[l("学员人数")])]}}),o(E,{class:"gridBorderRight"},{default:function(){return[o("p",{class:[te]},[e.notStartCourseNum||0]),o("p",{class:re},[l("剩余课时")])]}}),o(E,null,{default:function(){return[o("p",{class:te},[e.totalCourseNum||0]),o("p",{class:re},[l("总课时")])]}})]}})])})),"STUDENT"==s.platformType&&o("div",{class:"btnGroup",style:"padding-top: 12px; text-align: center;"},[("REGISTER"===(null===(n=e.orchestraData)||void 0===n?void 0:n.status)||"LEARNING"===(null===(a=e.orchestraData)||void 0===a?void 0:a.status))&&o("span",{class:ne,onClick:function(){var r;t.push({path:"/apply-withdrawal",query:{id:null===(r=e.orchestraData)||void 0===r?void 0:r.orchestraId}})}},[l("申请退团")]),"AUTH"===(null===(i=e.orchestraData)||void 0===i?void 0:i.status)&&o("span",{class:ne},[l("申请退团中")])])])}}}),ie={orchestraStory:"_orchestraStory_1jvjc_1",cellGroup:"_cellGroup_1jvjc_5",storySteps:"_storySteps_1jvjc_15",stepTimes:"_stepTimes_1jvjc_25",stepTime:"_stepTime_1jvjc_25",stepEdit:"_stepEdit_1jvjc_37",content:"_content_1jvjc_48",storySwipe:"_storySwipe_1jvjc_54",swipeImg:"_swipeImg_1jvjc_58",iconActive:"_iconActive_1jvjc_68",iconInactive:"_iconInactive_1jvjc_72"};var oe=r({name:"orchestra-story",props:{orchestraId:{type:String,default:""}},setup:function(e){var t=d({isClick:!1,list:[],listState:{reshLoading:!1,dataShow:!0,loading:!1,finished:!1,refreshing:!1,height:0},params:{type:null,page:1,rows:20}}),r=function(){var r=a(regeneratorRuntime.mark((function r(){var n,a;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(r.prev=0,!t.isClick){r.next=3;break}return r.abrupt("return");case 3:return t.isClick=!0,r.next=6,j.post("".concat(s.platformApi,"/orchestraStory/page"),{data:{orchestraId:e.orchestraId},hideLoading:!0});case 6:if(n=r.sent,t.listState.loading=!1,t.listState.refreshing=!1,a=n.data||{},!(t.list.length>0&&1===a.current)){r.next=12;break}return r.abrupt("return");case 12:t.list=t.list.concat(a.rows||[]),t.listState.finished=a.current>=a.pages,t.params.page=a.current+1,t.listState.dataShow=t.list.length>0,t.isClick=!1,r.next=25;break;case 19:r.prev=19,r.t0=r.catch(0),t.listState.dataShow=!1,t.listState.finished=!0,t.listState.refreshing=!1,t.isClick=!1;case 25:case"end":return r.stop()}}),r,null,[[0,19]])})));return function(){return r.apply(this,arguments)}}();p((function(){return e.orchestraId}),(function(){t.params.page=1,t.list=[],t.listState.finished=!1,r()}));var n=f([]);m((function(){r()}));var i=f([]);return function(){var e;return o("div",{class:[ie.orchestraStory],style:{overflowY:"auto",height:t.listState.dataShow?"auto":"100%"}},[t.listState.dataShow?o(L,{finished:t.listState.finished,finishedText:" ",class:[ie.liveList],onLoad:r,immediateCheck:!1},{default:function(){return[o(R,{direction:"vertical",class:[ie.storySteps,"storyStepContainer"]},(r=e=t.list.map((function(e,t){return o(I,null,{default:function(){return[o("div",{class:ie.stepTimes},[o("div",{class:ie.stepTime},[v(e.createTime).format("YYYY年MM月DD日")])]),o("p",{class:[ie.content,"van-multi-ellipsis--l2"]},[e.content]),o(T,{ref:function(e){return i.value[t]=e},class:ie.storySwipe},{default:function(){return[e.attachments&&e.attachments.map((function(r){return o(B,null,{default:function(){return["IMAGE"===e.type&&o("div",{class:ie.swipeImg,style:r.url?{backgroundImage:"url(".concat(r.url,")"),backgroundSize:"cover"}:""},null),"VIDEO"===e.type&&o(x,{src:r.url,height:"100%",poster:r.coverImage,class:ie.swipeImg,ref:function(e){return n.value[t]=e},onPlay:function(){return function(e){n.value.forEach((function(t,r){r!==e&&t.onStop()}))}(t)},onExitfullscreen:function(){_((function(){setTimeout((function(){i.value.forEach((function(e){e.resize()}))}),600)}))}},null)]}})}))]}})]},"inactive-icon":function(){return o(N,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAA8hJREFUSEuFVs9rVFcU/s59YzI2WBCjLZN0YSE6aq0gtZZqKXQXLREpdSWVFpSChmbRPyBQcGtEoaALS5G2uBGF6KLduCi4KNEMSTsQqpMYf9RGbZkqrXPvOeX+ej9mJu0deI95797vO+fec77vEf5jPJu7PljiZB8Be1n4dQL1QwQsvERATSCTvEJdemHorcXlYKjbi6f1qUpvScaZ5WMRLkHsLHeBiNiLXyYCArQQnTPKjPdVd99rx+sg0HNTIww+D8EqC+oAU3wL7p4WSAJZEyQHy1t2X86TFAjMrZujzDwhIiogucg7SRxFIPGkYT6DMFbesutUJEkJ9K3pERG+6MBj1D7cQJBti32fEXgi+yM/nYlkf8zEEcjCVEW3VB2QVTZa+9BHnd+SGGVGlGYW5vlsAYI0TQlVeyaOwDRqZ5j5sHsbo4uLjAb9fBPq119AfzwBSEFW94Nf3QjesAlCKj3wtAhsNorOljfvOkIyNz1oEtwWSClfHW7VX39CTX4H9fh3AMqBgxJ/Vwl4zVro94YhK/tyJDELaDbJejKN2lEWOd0OLlojufAl1KOHATgHHklIgdesQ2vPB4DKZ+ILgyDHiBu1KywynJ0ru2joxo9Irl0uRh0zcGCBUCm0dr4Lrm7tyEIRXSXdqNkuHHB7n2sg9c0E1IM7biv81nTPwG4Zr6ug9f6BQm8ErLtk5mf+FuHeWMuRJDn5OajV6pJBJMqIpacXrY9Gs9INgRLwTxtBVp7JibFA0CWDQlYK0rMSzw991lHeRI6gtiiCgSgHsWHU18dB9+e7n0G6ZT4bfvkV6H2HQtdn/SKCu8QLM1eYZbgoDQD99AOS77/1ZWkPNZ6BPVz3P2aWQL+zB/zajqyHsi26SqYxc1TAp1OBirqiNeirL6Ae3smB5YFD9GsHoD/8tFCmmYzQMZLF6UE26rYISlGSo/5Q8zHowkmo3ywJFaK2GfFLgzAjn0D6Xix0c+gpbUpY76VifuaMCB+2KtKholYqblwDzV4HLd3zUtE/ANm8E7z1bSCJ2ljUKAV1tmfTm0eC2NUrhp/XAesBGckyuh/8oCh+3ohS42hqrKj2Vbd7sbNDL8yOgPkiYL0gjC6y3E1hMwV2BCxC+8vVHc54CoYj87OjRniigyTVkaD9uY735R38AGCAxno2vNFpOG2ZnLfekC2O7pXd270ZkCYTDpaHfORxdDV9WahXWPQ4YE3fy7gPuujF9hEJNJGcSzSNU3X7/5t+nt2VsLafLbyXRdxni4+clwDUiDCpjLpEQ9uW/Wz5F7eVfyrRHBkkAAAAAElFTkSuQmCC",class:ie.iconInactive},null)},"active-icon":function(){return o(N,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAABWhJREFUWEe1l2tsFFUYhp+zLF4QKJSKRQUETEwUDKA2tSrKD1MgRuQiQYNcAnKVdiNYiS0GSYFIKGwhINdIAmqI3IIREX80/KBcDJKImBCNBEwoKpR22xCg7Rxz5szsnJndLrsLTPbHznzfvOc53/eeMzOCFIdcGRmKlLvtFCHGi7LoL6ny24vJpfOH0CG0GynAahsvPl13ur1ckRqodAeSSXaOZKdYVP1eVkDLDB3EDlERnZwd0Oel+4C3nJv3i4+rx2QHFNmHlFpHsF+Ut69zuwrtQ94NoMDE7ghIVUjac7uDCmUAJKtKvwQ5HClC9sCqZlZLgSjbcFmudIXswH5RVj1Grpybj+x40tc6yzxTAtL+EXZ0lhstUzrl0TFyyUf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JJklZnyPXvDxIWOaQ/CiR+9VaSUXiyGl0bdBSDXQ1OMVdbcANs/06vIPZ4cDKOm6bOzx+HwN36gEe/AwMLMgBrMfcitkA0UqJC6droGjh7QUGrZjp4DakdXh9UG322Dv85qqH7PwOjpENLfDGkdW4xnma9l6u5ueTDZaJmreD2mfdSjl9/Qbq/r/9WZuT2dN8q0UHRSSqBkFcpAO6vUrCqU1Uhp3qSAbA/plzxvlaVqWZraWaVtDb4PmaZWj4ROXdvXTfVCr+66XTwhR0BzTC8O5x3dX6FUU8zgvdj1elwuKaj5ueW9qwtZXRoD2SWtct+uAml9EplfLsaotoVETMi182chQ5XtQhkT8UFnApdWrmgCKv4H/BmPw5b13qYAAAAASUVORK5CYII=",class:ie.iconActive},null)}})})),"function"==typeof r||"[object Object]"===Object.prototype.toString.call(r)&&!g(r)?e:{default:function(){return[e]}}))];var r}}):o(h,{btnStatus:!1,tips:"暂无事迹",style:{paddingBottom:"30px"}},null)])}}});e("default",r({name:"my-orchestra",setup:function(e,r){var i,l=A();n();var u=f((null===(i=l.query)||void 0===i?void 0:i.tab)||"course"),p=d({orchestraList:[],loading:!0,reshLoading:!1,dataShow:!0}),v=d({orchestra:{},orchestraStatus:!1}),_=function(){var e=a(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:p.loading=!0,j.post("".concat(s.platformApi,"/orchestra/teacherOrchestra"),{}).then((function(e){Array.isArray(null==e?void 0:e.data)&&(p.orchestraList=e.data.map((function(e){return t(t({},e),{},{name:e.name||e.orchestraName||"",id:e.id||e.orchestraId||""})})),v.orchestra=p.orchestraList[0]||{})})).finally((function(){setTimeout((function(){p.loading=!1,p.reshLoading=!1}),300)}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),g=function(){"STUDENT"===s.platformType?(p.loading=!0,j.post("".concat(s.platformApi,"/orchestra/studentOrchestra"),{}).then((function(e){Array.isArray(null==e?void 0:e.data)&&(p.orchestraList=e.data.map((function(e){return t(t({},e),{},{name:e.name||e.orchestraName||"",id:e.id||e.orchestraId||""})})),v.orchestra=p.orchestraList[0]||{})})).finally((function(){setTimeout((function(){p.loading=!1,p.reshLoading=!1}),300)}))):"TEACHER"===s.platformType&&_()};return m((function(){document.documentElement.style.setProperty("--footer-height","0px"),g()})),function(){return o("div",{class:[K]},[o(S,{onGetHeight:function(e){document.documentElement.style.setProperty("--header-height",e+"px")}},{default:function(){return[o(y,{title:"我的乐团"},null)]}}),!!p.orchestraList.length&&o(V,{inset:!0},{default:function(){return[o(D,{class:k,center:!0,isLink:!0,onClick:function(){return v.orchestraStatus=!0}},{icon:function(){return o("img",{class:Y,src:w},null)},title:function(){return o("div",{class:"van-ellipsis"},[v.orchestra.name])}})]}}),!!p.orchestraList.length&&o(c,null,[o(U,{active:u.value,"onUpdate:active":function(e){return u.value=e},class:W,lazyRender:!0,background:"transparent",animated:!0,swipeable:!0,lineWidth:16,lineHeight:4},{default:function(){return[o(Q,{name:"course",title:"我的班级"},{default:function(){var e,t;return[o("div",{class:G},[o(ae,{orchestraName:(null===(e=v.orchestra)||void 0===e?void 0:e.name)||"",list:(null===(t=v.orchestra)||void 0===t?void 0:t.classGroupIdList)||[],orchestraData:v.orchestra},null)])]}}),o(Q,{name:"deeds",title:"乐团事迹"},{default:function(){var e;return[o("div",{class:G},[o(oe,{orchestraId:(null===(e=v.orchestra)||void 0===e?void 0:e.id)||""},null)])]}})]}})]),!p.loading&&!p.orchestraList.length&&o("div",{class:!p.orchestraList.length&&"emptyRootContainer",style:{minHeight:"calc(100vh - var(--header-height))"}},[o(h,{btnStatus:!1,tips:"暂无乐团"},null)]),o(b,{show:v.orchestraStatus,"onUpdate:show":function(e){return v.orchestraStatus=e},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[o(z,{columns:p.orchestraList,columnsFieldNames:{text:"name",value:"id"},onCancel:function(){return v.orchestraStatus=!1},onConfirm:function(e){var t,r=e.selectedValues[0]||"";if(v.orchestraStatus=!1,r!=(null===(t=v.orchestra)||void 0===t?void 0:t.id)){var n=p.orchestraList.find((function(e){return e.id==r}))||{};v.orchestra=n}}},null)]}})])}}}))}}}))}();