1 |
- !function(){var e=document.createElement("style");e.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,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAAAXNS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w/Pfv35++dvm/SCTyUSksnED/lYh+xMmQGYM7p2ooSrkA3cfMJrpk5r91dHT8VMo1O4HG334moj+jVg75gvkm2egSy2mFtsVNH/fQ0NAvTU1NfyEi9YrIaSdwjNullIHJycmvurq6Pkun07kVMvOEPCBjZWft2rWF1i5Rmf4dEZ1k5pIjtYIJklOnToV8Pt8fhBB4YeC8feMBti63tbXZi9VRFIjo7D/MHJutbpWUiZptpwvxeANa0103oA1oTQQ0dWM02oDWREBTN0ajDWhNBDR1YzR6IYGWUvr7+/vr4vF4bTAYxDt5AkKIGr/f7xNC+JEGwHvksgI2yJtnxefzpS3LSqVSKXyjziIRj8eTwWBwsrW1dYKZ1d9OVSHwZdFogOrr63vfsiz89spqIlqZTqcbLctC7jbzkVLiDar4YPkGdV7IxuMbJaRqm1xKhwDQeHHiWyLCBhl8o7J9jJmRaEcOflQIMerz+bBjaZiIngshBtva2gbLcaOKAh2LxWrHx8f3+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(e),System.register(["./index-legacy.eb062188.js","./index-legacy.ad813f4d.js","./icon-or-legacy.41f67ed6.js","./icon_teacher-legacy.07765f44.js","./icon-muit-message-legacy.68290c1f.js","./index-legacy.918b8c74.js","./index-legacy.fecc738b.js","./index-legacy.761bf286.js","./index-legacy.7f88f991.js","./index-legacy.fad72574.js","./index-legacy.fab451f1.js","./index-legacy.148f784c.js","./index-legacy.ac7c51db.js","./index-legacy.38b799d5.js","./plyr.min-legacy.1dfa7bde.js","./plyr-legacy.2bfabaee.js","./use-tab-status-legacy.91417466.js","./index-legacy.10d8486a.js","./Picker-legacy.95f03705.js"],(function(e){"use strict";var t,a,r,i,s,o,l,c,n,d,p,m,_,v,u,h,g,f,j,A,y,S,b,q,w,C,N,D,E,I,L,R,T,B,O,V,x,U;return{setters:[function(e){t=e.d,a=e.ag,r=e.bM,i=e.c,s=e.F,o=e.g,l=e.q,c=e.e,n=e.r,d=e.Z,p=e.R,m=e.$,_=e.ai,v=e._,u=e.ak,h=e.al,g=e.m,f=e.ah,j=e.aj,A=e.P},function(e){y=e.O},function(e){S=e.i},function(e){b=e.i},function(e){q=e.i},function(e){w=e.C},function(e){C=e.I},function(e){N=e.G,D=e.a},function(e){E=e.S,I=e.a,L=e.O},function(e){R=e.L},function(e){T=e.S,B=e.a},function(e){O=e.C},function(e){V=e.T,x=e.a},function(e){U=e.P},function(){},function(){},function(){},function(){},function(){}],execute:function(){var Q="_mineOrchestra_125jq_1",z="_select_125jq_5",K="_icon_125jq_8",Y="_tabs_125jq_24",W="_content_125jq_37";var G="_myClass_175qp_1",H="_itemDiv_175qp_4",k="_userContainer_175qp_10",Z="_iconImg_175qp_17",X="_messageImg_175qp_25",F="_tag_175qp_29",J="_content_175qp_56",M="_teacherName_175qp_60",P="_grid_175qp_63",$="_title_175qp_63",ee="_name_175qp_69",te="_returnOrchestra_175qp_76",ae=t({name:"my-orchestra",props:{orchestraData:{type:Object,default:()=>({})},orchestraName:{type:String,default:""},list:{type:Object,default:()=>[]}},setup(e){const t=a(),{orchestraName:n}=r(e);console.log("🚀 ~ orchestraName",n.value);const{list:d}=r(e);return()=>{var a,r,p;return i("div",{class:G},[Array.isArray(d.value)&&d.value.map((e=>i("div",{class:H,onClick:()=>(e=>{console.log("🚀 ~ item",e),"STUDENT"!=o.platformType&&c({api:"open_app_page",content:{action:"app",pageTag:"classDetail",url:"",params:JSON.stringify({classId:e.classGroupId})}})})(e)},[i(w,{center:!0,class:k},{icon:()=>i(C,{src:e.teacherAvatar||b,class:Z,fit:"cover"},null),title:()=>i(s,null,["TEACHER"==o.platformType?i(s,null,[i("div",{class:J},[i("div",{class:["van-ellipsis",M]},[e.classGroupName])]),i("div",{class:"van-ellipsis van-cell__label"},[n.value])]):i(s,null,[i("div",{class:J},[e.teacherName?i("div",{class:["van-ellipsis",M]},[e.teacherName]):i("div",{style:{color:"rgba(178,178,178,1)"}},[l("暂无伴学老师")])]),i("div",{class:"van-cell__label"},[i("span",{class:F},[e.classGroupName])])])]),value:()=>i(C,{class:X,src:q,onClick:t=>{t.stopPropagation(),(async e=>{console.log(e),c({api:"joinChatGroup",content:{type:"multi",id:e.imGroupId}})})(e)}},null)}),i(N,{border:!1,columnNum:3,class:P},{default:()=>[i(D,{class:"gridBorderRight"},{default:()=>[i("p",{class:$},[e.studentNum||0]),i("p",{class:ee},[l("学员人数")])]}),i(D,{class:"gridBorderRight"},{default:()=>[i("p",{class:[$]},[e.notStartCourseNum||0]),i("p",{class:ee},[l("剩余课时")])]}),i(D,null,{default:()=>[i("p",{class:$},[e.totalCourseNum||0]),i("p",{class:ee},[l("总课时")])]})]})]))),"STUDENT"==o.platformType&&i("div",{class:"btnGroup",style:"padding-top: 12px; text-align: center;"},[("REGISTER"===(null===(a=e.orchestraData)||void 0===a?void 0:a.status)||"LEARNING"===(null===(r=e.orchestraData)||void 0===r?void 0:r.status))&&i("span",{class:te,onClick:()=>{var a;t.push({path:"/apply-withdrawal",query:{id:null===(a=e.orchestraData)||void 0===a?void 0:a.orchestraId}})}},[l("申请退团")]),"AUTH"===(null===(p=e.orchestraData)||void 0===p?void 0:p.status)&&i("span",{class:te},[l("申请退团中")])])])}}});var re={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 ie=t({name:"orchestra-story",props:{orchestraId:{type:String,default:""}},setup(e){const t=n({isClick:!1,list:[],listState:{reshLoading:!1,dataShow:!0,loading:!1,finished:!1,refreshing:!1,height:0},params:{type:null,page:1,rows:20}}),a=async()=>{try{if(t.isClick)return;t.isClick=!0;const a=await g.post(`${o.platformApi}/orchestraStory/page`,{data:{orchestraId:e.orchestraId},hideLoading:!0});t.listState.loading=!1,t.listState.refreshing=!1;const r=a.data||{};if(t.list.length>0&&1===r.current)return;t.list=t.list.concat(r.rows||[]),t.listState.finished=r.current>=r.pages,t.params.page=r.current+1,t.listState.dataShow=t.list.length>0,t.isClick=!1}catch{t.listState.dataShow=!1,t.listState.finished=!0,t.listState.refreshing=!1,t.isClick=!1}};d((()=>e.orchestraId),(()=>{t.params.page=1,t.list=[],t.listState.finished=!1,a()}));const r=p([]);m((()=>{a()}));const s=p([]);return()=>{let e;return i("div",{class:[re.orchestraStory],style:{overflowY:"auto",height:t.listState.dataShow?"auto":"100%"}},[t.listState.dataShow?i(R,{finished:t.listState.finished,finishedText:" ",class:[re.liveList],onLoad:a,immediateCheck:!1},{default:()=>{return[i(E,{direction:"vertical",class:[re.storySteps,"storyStepContainer"]},(a=e=t.list.map(((e,t)=>i(I,null,{default:()=>[i("div",{class:re.stepTimes},[i("div",{class:re.stepTime},[_(e.createTime).format("YYYY年MM月DD日")])]),i("p",{class:[re.content,"van-multi-ellipsis--l2"]},[e.content]),i(T,{ref:e=>s.value[t]=e,class:re.storySwipe},{default:()=>[e.attachments&&e.attachments.map((a=>i(B,null,{default:()=>["IMAGE"===e.type&&i("div",{class:re.swipeImg,style:a.url?{backgroundImage:`url(${a.url})`,backgroundSize:"cover"}:""},null),"VIDEO"===e.type&&i(L,{src:a.url,height:"100%",poster:a.coverImage,class:re.swipeImg,ref:e=>r.value[t]=e,onPlay:()=>(e=>{r.value.forEach(((t,a)=>{a!==e&&t.onStop()}))})(t),onExitfullscreen:()=>{v((()=>{setTimeout((()=>{s.value.forEach((e=>{e.resize()}))}),600)}))}},null)]})))]})],"inactive-icon":()=>i(C,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAA8hJREFUSEuFVs9rVFcU/s59YzI2WBCjLZN0YSE6aq0gtZZqKXQXLREpdSWVFpSChmbRPyBQcGtEoaALS5G2uBGF6KLduCi4KNEMSTsQqpMYf9RGbZkqrXPvOeX+ej9mJu0deI95797vO+fec77vEf5jPJu7PljiZB8Be1n4dQL1QwQsvERATSCTvEJdemHorcXlYKjbi6f1qUpvScaZ5WMRLkHsLHeBiNiLXyYCArQQnTPKjPdVd99rx+sg0HNTIww+D8EqC+oAU3wL7p4WSAJZEyQHy1t2X86TFAjMrZujzDwhIiogucg7SRxFIPGkYT6DMFbesutUJEkJ9K3pERG+6MBj1D7cQJBti32fEXgi+yM/nYlkf8zEEcjCVEW3VB2QVTZa+9BHnd+SGGVGlGYW5vlsAYI0TQlVeyaOwDRqZ5j5sHsbo4uLjAb9fBPq119AfzwBSEFW94Nf3QjesAlCKj3wtAhsNorOljfvOkIyNz1oEtwWSClfHW7VX39CTX4H9fh3AMqBgxJ/Vwl4zVro94YhK/tyJDELaDbJejKN2lEWOd0OLlojufAl1KOHATgHHklIgdesQ2vPB4DKZ+ILgyDHiBu1KywynJ0ru2joxo9Irl0uR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6A2DXoPwgKiqGDs4oU5rnTcKpGr7LnX4OnhmQG7wI5thHSBxRoWcst2FEJzY3eIAUjoNAx7aXzsKtabwn2IWBiKTzWL30oE8he9goobuo8mJJklZnyPXvDxIWOaQ/CiR+9VaSUXiyGl0bdBSDXQ1OMVdbcANs/06vIPZ4cDKOm6bOzx+HwN36gEe/AwMLMgBrMfcitkA0UqJC6droGjh7QUGrZjp4DakdXh9UG322Dv85qqH7PwOjpENLfDGkdW4xnma9l6u5ueTDZaJmreD2mfdSjl9/Qbq/r/9WZuT2dN8q0UHRSSqBkFcpAO6vUrCqU1Uhp3qSAbA/plzxvlaVqWZraWaVtDb4PmaZWj4ROXdvXTfVCr+66XTwhR0BzTC8O5x3dX6FUU8zgvdj1elwuKaj5ueW9qwtZXRoD2SWtct+uAml9EplfLsaotoVETMi182chQ5XtQhkT8UFnApdWrmgCKv4H/BmPw5b13qYAAAAASUVORK5CYII=",class:re.iconActive},null)}))),"function"==typeof a||"[object Object]"===Object.prototype.toString.call(a)&&!h(a)?e:{default:()=>[e]}))];var a}}):i(u,{btnStatus:!1,tips:"暂无事迹",style:{paddingBottom:"30px"}},null)])}}});e("default",t({name:"my-orchestra",setup(e,t){var r;const l=f();a();const c=p((null===(r=l.query)||void 0===r?void 0:r.tab)||"course"),d=n({orchestraList:[],loading:!0,reshLoading:!1,dataShow:!0}),_=n({orchestra:{},orchestraStatus:!1}),v=()=>{"STUDENT"===o.platformType?(d.loading=!0,g.post(`${o.platformApi}/orchestra/studentOrchestra`,{}).then((e=>{Array.isArray(null==e?void 0:e.data)&&(d.orchestraList=e.data.map((e=>({...e,name:e.name||e.orchestraName||"",id:e.id||e.orchestraId||""}))),_.orchestra=d.orchestraList[0]||{})})).finally((()=>{setTimeout((()=>{d.loading=!1,d.reshLoading=!1}),300)}))):"TEACHER"===o.platformType&&(async()=>{d.loading=!0,g.post(`${o.platformApi}/orchestra/teacherOrchestra`,{}).then((e=>{Array.isArray(null==e?void 0:e.data)&&(d.orchestraList=e.data.map((e=>({...e,name:e.name||e.orchestraName||"",id:e.id||e.orchestraId||""}))),_.orchestra=d.orchestraList[0]||{})})).finally((()=>{setTimeout((()=>{d.loading=!1,d.reshLoading=!1}),300)}))})()};return m((()=>{document.documentElement.style.setProperty("--footer-height","0px"),v()})),()=>i("div",{class:[Q]},[i(y,{onGetHeight:e=>{document.documentElement.style.setProperty("--header-height",e+"px")}},{default:()=>[i(j,{title:"我的乐团"},null)]}),!!d.orchestraList.length&&i(O,{inset:!0},{default:()=>[i(w,{class:z,center:!0,isLink:!0,onClick:()=>_.orchestraStatus=!0},{icon:()=>i("img",{class:K,src:S},null),title:()=>i("div",{class:"van-ellipsis"},[_.orchestra.name])})]}),!!d.orchestraList.length&&i(s,null,[i(V,{active:c.value,"onUpdate:active":e=>c.value=e,class:Y,lazyRender:!0,background:"transparent",animated:!0,swipeable:!0,lineWidth:16,lineHeight:4},{default:()=>[i(x,{name:"course",title:"我的班级"},{default:()=>{var e,t;return[i("div",{class:W},[i(ae,{orchestraName:(null===(e=_.orchestra)||void 0===e?void 0:e.name)||"",list:(null===(t=_.orchestra)||void 0===t?void 0:t.classGroupIdList)||[],orchestraData:_.orchestra},null)])]}}),i(x,{name:"deeds",title:"乐团事迹"},{default:()=>{var e;return[i("div",{class:W},[i(ie,{orchestraId:(null===(e=_.orchestra)||void 0===e?void 0:e.id)||""},null)])]}})]})]),!d.loading&&!d.orchestraList.length&&i("div",{class:!d.orchestraList.length&&"emptyRootContainer",style:{minHeight:"calc(100vh - var(--header-height))"}},[i(u,{btnStatus:!1,tips:"暂无乐团"},null)]),i(A,{show:_.orchestraStatus,"onUpdate:show":e=>_.orchestraStatus=e,position:"bottom",round:!0,class:"popupBottomSearch"},{default:()=>[i(U,{columns:d.orchestraList,columnsFieldNames:{text:"name",value:"id"},onCancel:()=>_.orchestraStatus=!1,onConfirm:({selectedValues:e})=>{var t;const a=e[0]||"";if(_.orchestraStatus=!1,a==(null===(t=_.orchestra)||void 0===t?void 0:t.id))return;const r=d.orchestraList.find((e=>e.id==a))||{};_.orchestra=r}},null)]})])}}))}}}))}();
|