| 1 |
- !function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function t(t){for(var i=1;i<arguments.length;i++){var o=null!=arguments[i]?arguments[i]:{};i%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 i(e,t,n,i,o,r,a){try{var c=e[r](a),l=c.value}catch(s){return void n(s)}c.done?t(l):Promise.resolve(l).then(i,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var a=e.apply(t,n);function c(e){i(a,o,r,c,l,"next",e)}function l(e){i(a,o,r,c,l,"throw",e)}c(void 0)}))}}var r=document.createElement("style");r.innerHTML="._itemWrap_1pjuh_1{background:#ffffff;border-radius:.26667rem;padding:.32rem .4rem .53333rem;margin:0 .34667rem .34667rem}._itemWrap_1pjuh_1 ._itemTop_1pjuh_7{display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-bottom:.02667rem solid #f2f2f2;padding-bottom:.32rem}._itemWrap_1pjuh_1 ._itemTop_1pjuh_7 ._itemTopLeft_1pjuh_15 ._itemTopMain_1pjuh_15{height:.58667rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;margin-bottom:.16rem}._itemWrap_1pjuh_1 ._itemTop_1pjuh_7 ._itemTopLeft_1pjuh_15 ._itemTopSub_1pjuh_23{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._itemWrap_1pjuh_1 ._itemTop_1pjuh_7 ._itemTopRight_1pjuh_29{display:flex;flex-direction:row;align-items:center}._itemWrap_1pjuh_1 ._itemTop_1pjuh_7 ._itemTopRight_1pjuh_29 ._imgWrap_1pjuh_34{width:2.66667rem;height:.88rem;background:#e9e3ff;border-radius:.50667rem}._itemWrap_1pjuh_1 ._itemTop_1pjuh_7 ._itemTopRight_1pjuh_29 ._imgWrap_1pjuh_34 img{width:100%;height:100%}._itemWrap_1pjuh_1 ._itemTop_1pjuh_7 ._itemTopRight_1pjuh_29 ._imgIcon_1pjuh_44{font-size:.42667rem;color:#d8d8d8;margin-left:.16rem}._itemWrap_1pjuh_1 ._itemBottom_1pjuh_49{margin-top:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-around;text-align:center}._itemWrap_1pjuh_1 ._itemBottom_1pjuh_49 ._itemBottomDot_1pjuh_57{width:25%}._itemWrap_1pjuh_1 ._itemBottom_1pjuh_49 ._itemBottomDot_1pjuh_57 ._dotMain_1pjuh_60{font-size:.69333rem;color:#333;line-height:.8rem;margin-bottom:.10667rem;font-family:DINA;font-weight:400}._itemWrap_1pjuh_1 ._itemBottom_1pjuh_49 ._itemBottomDot_1pjuh_57 ._dotMain_1pjuh_60 span{margin-left:.02667rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._itemWrap_1pjuh_1 ._itemBottom_1pjuh_49 ._itemBottomDot_1pjuh_57 ._dotSub_1pjuh_75{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._exercisContainer_1gkdy_1{background:url(./assets/detail-bg.1d94c577.png) top center / cover no-repeat;background-size:contain}._topWrap_1gkdy_5 ._topInfo_1gkdy_5{padding:.90667rem .4rem .8rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap}._topWrap_1gkdy_5 ._topInfo_1gkdy_5 ._topInfoLeft_1gkdy_13{width:50%;display:flex;flex-direction:row;align-items:center}._topWrap_1gkdy_5 ._topInfo_1gkdy_5 ._topInfoLeft_1gkdy_13 ._headWrap_1gkdy_19{flex-shrink:0;border-radius:50%;overflow:hidden;border:.05333rem solid #fff;margin-right:.4rem}._topWrap_1gkdy_5 ._topInfo_1gkdy_5 ._topInfoLeft_1gkdy_13 ._infoMsg_1gkdy_26 p{display:inline-block;width:3.2rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:.53333rem;font-weight:600;color:#000;line-height:.74667rem;margin-bottom:.16rem}._topWrap_1gkdy_5 ._topInfo_1gkdy_5 ._topInfoLeft_1gkdy_13 ._infoMsg_1gkdy_26 ._tag_1gkdy_38{display:inline-block;padding:0 .29333rem;background:#ff8057;border-radius:.32rem;height:.64rem;font-size:.37333rem;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#fff;line-height:.64rem;text-align:center}._topWrap_1gkdy_5 ._topInfo_1gkdy_5 ._topInfoRight_1gkdy_51{width:50%;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}._topWrap_1gkdy_5 ._topInfo_1gkdy_5 ._topInfoRight_1gkdy_51 ._infoDay_1gkdy_58{margin-right:.8rem}._topWrap_1gkdy_5 ._topInfo_1gkdy_5 ._topInfoRight_1gkdy_51 ._infoDayMain_1gkdy_61{font-size:.66667rem;color:#333;line-height:.74667rem;margin-bottom:.18667rem;font-family:DINA;font-weight:400}._topWrap_1gkdy_5 ._topInfo_1gkdy_5 ._topInfoRight_1gkdy_51 ._infoDayMain_1gkdy_61 span{margin-left:.05333rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._topWrap_1gkdy_5 ._topInfo_1gkdy_5 ._topInfoRight_1gkdy_51 ._infoDaysub_1gkdy_76{font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._topWrap_1gkdy_5 ._chioseWrap_1gkdy_82{display:flex;flex-direction:row;align-items:center;background-color:transparent;font-weight:500;color:#333;line-height:.53333rem;font-size:.37333rem}._DialogTitle_1gkdy_92{display:flex;flex-direction:row;align-items:center;padding:.53333rem .66667rem}._DialogTitle_1gkdy_92 span{width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._DialogTitle_1gkdy_92 p{height:.66667rem;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem}._DialogConent_1gkdy_112{padding:0 .66667rem .8rem}._DialogConent_1gkdy_112 p{font-size:.42667rem;line-height:.8rem;color:#333}.exercisDetailDialog{border-radius:.26667rem}.exercisDetailDialog .van-dialog__header{padding-top:0!important}.van-dialog{top:47%}\n",document.head.appendChild(r),System.register(["./index-legacy.81fd4e6f.js","./index-legacy.00d82922.js","./index-legacy.a9944503.js","./index-legacy.0e551442.js","./quest-icon-legacy.8dd60bcc.js","./icon_student-legacy.6118fd72.js","./index-legacy.aa24f77a.js","./index-legacy.8271e59c.js","./index-legacy.55bd130c.js","./index-legacy.819d05e3.js","./use-tab-status-legacy.7b80393c.js","./utils-legacy.0c949fd0.js","./index-legacy.40afcdaf.js","./index-legacy.e997fd26.js","./index-legacy.8bfb99fc.js","./index-legacy.2a9471c6.js"],(function(e){"use strict";var n,i,r,a,c,l,s,_,u,p,d,m,f,g,h,y,v,j,k,b,w,x,D,T,I,W,M,O,C,P;return{setters:[function(e){n=e.O},function(e){i=e.O},function(e){r=e.d,a=e.c,c=e.a5,l=e.q,s=e.F,_=e.k,u=e.ag,p=e.aU,d=e.R,m=e.f,f=e.r,g=e.ah,h=e.$,y=e._,v=e.al,j=e.aS,k=e.ai,b=e.P,w=e.aV,x=e.aj,D=e.m,T=e.o},function(e){I=e.O},function(e){W=e.q},function(e){M=e.i},function(e){O=e.I},function(e){C=e.L},function(e){P=e.D},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var R="_itemWrap_1pjuh_1",L="_itemTop_1pjuh_7",z="_itemTopLeft_1pjuh_15",B="_itemTopMain_1pjuh_15",S="_itemTopSub_1pjuh_23",V="_itemTopRight_1pjuh_29",N="_imgWrap_1pjuh_34",Y="_imgIcon_1pjuh_44",q="_itemBottom_1pjuh_49",E="_itemBottomDot_1pjuh_57",F="_dotMain_1pjuh_60",U="_dotSub_1pjuh_75",A={1:{img:"./assets/Image1.cbe96dac.png",tips:"你的演奏不太好,音准和完整性还需加强,再练一练吧~",mome:"敢于尝试"},2:{img:"./assets/Image2.0b12593f.png",tips:"你的演奏还不熟练,音准和完整性还需加强,加紧训练才能有好成绩哦~",mome:"还要加油哦~"},3:{img:"./assets/Image3.d7139ab6.png",tips:"你的演奏还不流畅,音准和节奏还需加强,科学的练习才能更完美哦~",mome:"突破自我"},4:{img:"./assets/Image4.4870f6bf.png",tips:"你的演奏还不错,继续加油吧,加强音准,离完美就差一步啦~",mome:"崭露头角"},5:{img:"./assets/Image5.150ad63a.png",tips:"你的演奏非常不错,音准的把握和节奏稍有瑕疵,完整性把握的很好~",mome:"你很棒"}},H=r({props:["item"],name:"detail-item",setup:function(e){var t=function(e){if(!e&&"number"!=typeof e)return{};var t=1;return e>20&&e<=40?t=2:e>40&&e<=60?t=3:e>60&&e<=80?t=4:e>80&&(t=5),t},n=function(){var t=window.location.origin+"/orchestra-music-score/colexiu-report.html?id=".concat(e.item.id);_({api:"openWebView",content:{url:t,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}})};return function(){return a(s,null,[a("div",null,[a("div",{class:R,onClick:n},[a("div",{class:L},[a("div",{class:z},[a("p",{class:B},[e.item.musicSheetName]),a("p",{class:S},[e.item.createTime])]),a("div",{class:V},[a("div",{class:N},[a("img",{src:A[t(e.item.score||0)].img,alt:""},null)]),a(c,{name:"arrow",class:Y},null)])]),a("div",{class:q},[a("div",{class:E},[a("p",{class:F,style:{color:"#F67146"}},[e.item.score||0,a("span",null,[l("分")])," "]),a("p",{class:U},[l(" 综合得分")])]),a("div",{class:E},[a("p",{class:F},[e.item.intonation||0,a("span",null,[l("分")])," "]),a("p",{class:U},[l("音准 ")])]),a("div",{class:E},[a("p",{class:F},[e.item.cadence||0,a("span",null,[l("分")])," "]),a("p",{class:U},[l("节奏 ")])]),a("div",{class:E},[a("p",{class:F},[e.item.integrity||0,a("span",null,[l("分")])," "]),a("p",{class:U},[l("完成度 ")])])])])])])}}}),G={exercisContainer:"_exercisContainer_1gkdy_1",topWrap:"_topWrap_1gkdy_5",topInfo:"_topInfo_1gkdy_5",topInfoLeft:"_topInfoLeft_1gkdy_13",headWrap:"_headWrap_1gkdy_19",infoMsg:"_infoMsg_1gkdy_26",tag:"_tag_1gkdy_38",topInfoRight:"_topInfoRight_1gkdy_51",infoDay:"_infoDay_1gkdy_58",infoDayMain:"_infoDayMain_1gkdy_61",infoDaysub:"_infoDaysub_1gkdy_76",chioseWrap:"_chioseWrap_1gkdy_82",DialogTitle:"_DialogTitle_1gkdy_92",DialogConent:"_DialogConent_1gkdy_112"};e("default",r({name:"exercis-detail",setup:function(){u();var e=p(),r=d(m.platformApi),_=f({showPopoverTime:!1,showPopoverOrchestra:!1,currentDate:[g().format("YYYY"),g().format("MM")],actions:[{text:"全部乐团",color:"var(--van-primary-color)"},{text:"交付团"},{text:"晋升团"}],id:e.query.id,heightV:0,scrollTop:0,isClick:!1}),R=f({practiceMonth:e.query.practiceMonth?e.query.practiceMonth:_.currentDate[0]+""+_.currentDate[1],practiceMonthName:e.query.practiceMonthName?e.query.practiceMonthName:_.currentDate[0]+"年"+_.currentDate[1]+"月",orchestraId:"",orchestraName:"",page:1,rows:20,userId:e.query.id,clientType:"STUDENT"}),L=d(!1),z=d(new Date(g().subtract(10,"year").format("YYYY-MM-DD"))),B=d(new Date(g().add(10,"year").format("YYYY-MM-DD"))),S=d(["year","month"]),V=d(!1),N=d(!1),Y=d(!1),q=d(!1),E=d({}),F=d([]),U=function(){var e=o(regeneratorRuntime.mark((function e(){var n,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!_.isClick){e.next=2;break}return e.abrupt("return");case 2:return _.isClick=!0,V.value&&(F.value=[],R.page=1,V.value=!1),e.prev=4,e.next=7,D.post("".concat(r.value,"/musicPracticeRecord/page"),{data:t(t({},R),{},{feature:"EVALUATION"})});case 7:if(n=e.sent,!(F.value.length>0&&1===n.data.current)){e.next=10;break}return e.abrupt("return");case 10:F.value=F.value.concat(n.data.rows||[]),R.page=n.data.current+1,q.value=F.value.length>0,N.value=!1,console.log(n.data,n.data.current>=n.data.pages),Y.value=n.data.current>=n.data.pages,e.next=24;break;case 18:e.prev=18,e.t0=e.catch(4),i=e.t0.message,T(i),q.value=!1,Y.value=!0;case 24:_.isClick=!1;case 25:case"end":return e.stop()}}),e,null,[[4,18]])})));return function(){return e.apply(this,arguments)}}(),A=function(){var e=o(regeneratorRuntime.mark((function e(){var n,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,D.get("/api-backend/student/detail/".concat(_.id));case 3:n=e.sent,console.log(n),E.value=t({},n.data),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),i=e.t0.message,T(i);case 12:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),$=d(),J=d(0);h(o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,U();case 2:return e.next=4,A();case 4:window.addEventListener("scroll",K),y((function(){var e=v($.value).height;J.value=e}));case 6:case"end":return e.stop()}}),e)})))),j((function(){window.removeEventListener("scroll",K)}));var K=function(){var e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;_.scrollTop=e},Q=function(e){_.heightV=e,console.log(e,"dataHeight")},X=function(e){R.practiceMonth=e.selectedValues[0]+e.selectedValues[1],R.practiceMonthName=e.selectedValues[0]+"年"+e.selectedValues[1]+"月",_.showPopoverTime=!1,V.value=!0,U()},Z=function(){Y.value=!1,N.value=!0,U()};return function(){var e;return a(s,null,[a("div",{class:[G.exercisContainer,!q.value&&"emptyRootContainer"]},[a("div",{class:G.topWrap,ref:$},[a(i,{position:"top",background:"#F8F8F8",onGetHeight:Q},{default:function(){return[a(n,{border:!1,background:_.heightV>_.scrollTop?"transparent":"#fff"},{right:function(){return a(c,{name:W,size:22,color:"#333",onClick:function(){L.value=!0}},null)}})]}}),a("div",{class:G.topInfo},[a("div",{class:G.topInfoLeft},[a("div",{class:G.headWrap},[a(O,{src:E.value.avatar?E.value.avatar:M,fit:"cover",width:"68px",height:"68px"},null)]),a("div",{class:G.infoMsg},[a("p",null,[E.value.nickname]),a("div",{class:G.tag},[E.value.subjectNames?E.value.subjectNames:"暂无声部"])])]),a("div",{class:G.topInfoRight},[a("div",{class:G.infoDay},[a("p",{class:G.infoDayMain},[E.value.practiceDays?E.value.practiceDays:0,"",a("span",null,[l("天")])]),a("p",{class:G.infoDaysub},[l("练习天数")])]),a("div",{class:G.infoTime},[a("p",{class:G.infoDayMain},[E.value.practiceTimes?E.value.practiceTimes:0,"",a("span",null,[l("分钟")])]),a("p",{class:G.infoDaysub},[l("练习时长")])])])]),a("div",{class:"searchGroup-single"},[a("div",{class:["searchItem",_.showPopoverTime?"searchItem-active":""],onClick:function(){_.showPopoverTime=!0}},[a("span",null,[R.practiceMonthName])])])]),q.value?a(I,{modelValue:V.value,"onUpdate:modelValue":function(e){return V.value=e},onRefresh:Z,style:"min-height: 100vh;"},{default:function(){return[a(C,{"loading-text":" ",finished:Y.value,"finished-text":"没有更多了",onLoad:U},(t=e=F.value.map((function(e){return a(H,{item:e},null)})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!x(t)?e:{default:function(){return[e]}}))];var t}}):a(k,{tips:"暂无练习统计"},null)]),a(b,{show:_.showPopoverTime,"onUpdate:show":function(e){return _.showPopoverTime=e},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[a(P,{onCancel:function(){_.showPopoverTime=!1},onConfirm:X,modelValue:_.currentDate,"onUpdate:modelValue":function(e){return _.currentDate=e},title:"选择年月",minDate:z.value,maxDate:B.value,columnsType:S.value},null)]}}),a(w,{class:"exercisDetailDialog",show:L.value,"onUpdate:show":function(e){return L.value=e},title:"提示框",confirmButtonText:"我知道了"},{title:function(){return a("div",{class:G.DialogTitle},[a("span",null,null),a("p",null,[l("什么是练习数据")])])},default:function(){return a("div",{class:G.DialogConent},[a("p",null,[l("练习数据是学生通过云教练自主练习的数据统计,可根据时间段查询学生的练习天数和练习时长")," "]),a("p",null,[l("练习天数:当天有曲目播放或测评记录即算练习")]),a("p",null,[l("练习时长:曲目播放和曲目测评的时长总和")])])}})])}}}))}}}))}();
|