| 1 |
- !function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function t(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?e(Object(i),!0).forEach((function(e){n(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,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 o(e,t,n,o,i,a,r){try{var _=e[a](r),u=_.value}catch(c){return void n(c)}_.done?t(u):Promise.resolve(u).then(o,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,a){var r=e.apply(t,n);function _(e){o(r,i,a,_,u,"next",e)}function u(e){o(r,i,a,_,u,"throw",e)}_(void 0)}))}}var a=document.createElement("style");a.innerHTML="._itemWrap_13uyz_1{background:#ffffff;border-radius:.26667rem;padding:.32rem .4rem .53333rem;margin:0 .34667rem .34667rem}._itemWrap_13uyz_1 ._itemTop_13uyz_7{display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-bottom:.02667rem solid #f2f2f2;padding-bottom:.32rem}._itemWrap_13uyz_1 ._itemTop_13uyz_7 ._itemTopLeft_13uyz_15 ._itemTopMain_13uyz_15{height:.58667rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;margin-bottom:.16rem}._itemWrap_13uyz_1 ._itemTop_13uyz_7 ._itemTopLeft_13uyz_15 ._itemTopSub_13uyz_23{font-weight:400;color:#777;line-height:.45333rem}._itemWrap_13uyz_1 ._itemTop_13uyz_7 ._itemTopRight_13uyz_28{display:flex;flex-direction:row;align-items:center}._itemWrap_13uyz_1 ._itemTop_13uyz_7 ._itemTopRight_13uyz_28 ._imgWrap_13uyz_33{width:2.66667rem;height:.88rem;background:#e9e3ff;border-radius:.50667rem}._itemWrap_13uyz_1 ._itemTop_13uyz_7 ._itemTopRight_13uyz_28 ._imgWrap_13uyz_33 img{width:100%;height:100%}._itemWrap_13uyz_1 ._itemTop_13uyz_7 ._itemTopRight_13uyz_28 ._imgIcon_13uyz_43{font-size:.42667rem;color:#d8d8d8;margin-left:.16rem}._itemWrap_13uyz_1 ._itemBottom_13uyz_48{margin-top:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-around;text-align:center}._itemWrap_13uyz_1 ._itemBottom_13uyz_48 ._itemBottomDot_13uyz_56{width:25%}._itemWrap_13uyz_1 ._itemBottom_13uyz_48 ._itemBottomDot_13uyz_56 ._dotMain_13uyz_59{font-size:.69333rem;font-weight:700;color:#333;line-height:.8rem;margin-bottom:.10667rem}._itemWrap_13uyz_1 ._itemBottom_13uyz_48 ._itemBottomDot_13uyz_56 ._dotMain_13uyz_59 span{font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._itemWrap_13uyz_1 ._itemBottom_13uyz_48 ._itemBottomDot_13uyz_56 ._dotSub_13uyz_72{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._topWrap_x0t7x_1{height:8.42667rem;background:url(./assets/detail-bg.1d94c577.png) center center / cover;margin-bottom:-2.4rem}._topWrap_x0t7x_1 ._topInfo_x0t7x_6{padding:.90667rem .4rem .8rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between}._topWrap_x0t7x_1 ._topInfo_x0t7x_6 ._topInfoLeft_x0t7x_13{width:50%;display:flex;flex-direction:row;align-items:center}._topWrap_x0t7x_1 ._topInfo_x0t7x_6 ._topInfoLeft_x0t7x_13 ._headWrap_x0t7x_19{border-radius:50%;overflow:hidden;border:.05333rem solid #fff;width:1.81333rem;height:1.81333rem;margin-right:.4rem}._topWrap_x0t7x_1 ._topInfo_x0t7x_6 ._topInfoLeft_x0t7x_13 ._headWrap_x0t7x_19 img{width:100%;height:100%}._topWrap_x0t7x_1 ._topInfo_x0t7x_6 ._topInfoLeft_x0t7x_13 ._infoMsg_x0t7x_31 p{font-size:.53333rem;font-weight:600;color:#000;line-height:.74667rem;margin-bottom:.16rem}._topWrap_x0t7x_1 ._topInfo_x0t7x_6 ._topInfoLeft_x0t7x_13 ._infoMsg_x0t7x_31 ._tag_x0t7x_38{padding:.05333rem .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_x0t7x_1 ._topInfo_x0t7x_6 ._topInfoRight_x0t7x_50{width:50%;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}._topWrap_x0t7x_1 ._topInfo_x0t7x_6 ._topInfoRight_x0t7x_50 ._infoDay_x0t7x_57{margin-right:.8rem}._topWrap_x0t7x_1 ._topInfo_x0t7x_6 ._topInfoRight_x0t7x_50 ._infoDayMain_x0t7x_60{font-size:.64rem;font-weight:700;color:#333;line-height:.74667rem;margin-bottom:.18667rem}._topWrap_x0t7x_1 ._topInfo_x0t7x_6 ._topInfoRight_x0t7x_50 ._infoDayMain_x0t7x_60 span,._topWrap_x0t7x_1 ._topInfo_x0t7x_6 ._topInfoRight_x0t7x_50 ._infoDaysub_x0t7x_73{font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._topWrap_x0t7x_1 ._chioseWrap_x0t7x_79{display:flex;flex-direction:row;align-items:center;background-color:transparent}._DialogTitle_x0t7x_85{display:flex;flex-direction:row;align-items:center;padding:.53333rem .66667rem}._DialogTitle_x0t7x_85 span{width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._DialogTitle_x0t7x_85 p{height:.66667rem;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem}._DialogConent_x0t7x_105{padding:0 .66667rem .53333rem}._DialogConent_x0t7x_105 p{font-size:.42667rem;line-height:.58667rem;color:#333}.exercisDetailDialog .van-dialog__header{padding-top:0!important}\n",document.head.appendChild(a),System.register(["./index-legacy.c52b7cbb.js","./index-legacy.4e7f0184.js","./index-legacy.2ae28dc5.js","./default-icon-legacy.ee8113d0.js","./index-legacy.9fb17640.js","./index-legacy.97665c37.js","./index-legacy.1fccc4ce.js","./use-tab-status-legacy.17f6d490.js","./index-legacy.13f9f10f.js","./index-legacy.f900000d.js"],(function(e){"use strict";var n,o,a,r,_,u,c,l,s,p,m,f,d,g,x,h,y,v,b,D,z,w,T;return{setters:[function(e){n=e.O},function(e){o=e.O},function(e){a=e.d,r=e.k,_=e.a2,u=e.l,c=e.F,l=e.aQ,s=e.b8,p=e.R,m=e.ac,f=e.S,d=e.X,g=e.be,x=e.P,h=e.bh,y=e.ad,v=e.g,b=e.j},function(e){D=e.d,z=e.P,w=e.D},function(e){T=e.L},function(){},function(){},function(){},function(){},function(){}],execute:function(){var A="_itemWrap_13uyz_1",M="_itemTop_13uyz_7",W="_itemTopLeft_13uyz_15",I="_itemTopMain_13uyz_15",R="_itemTopSub_13uyz_23",S="_itemTopRight_13uyz_28",B="_imgWrap_13uyz_33",C="_imgIcon_13uyz_43",k="_itemBottom_13uyz_48",O="_itemBottomDot_13uyz_56",P="_dotMain_13uyz_59",j="_dotSub_13uyz_72",F={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.079c8ee3.png",tips:"你的演奏还不错,继续加油吧,加强音准,离完美就差一步啦~",mome:"崭露头角"},5:{img:"./assets/Image5.150ad63a.png",tips:"你的演奏非常不错,音准的把握和节奏稍有瑕疵,完整性把握的很好~",mome:"你很棒"}},V=a({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};return function(){return r(c,null,[r("div",null,[r("div",{class:A},[r("div",{class:M},[r("div",{class:W},[r("p",{class:I},[e.item.musicSheetName]),r("p",{class:R},[e.item.createTime])]),r("div",{class:S},[r("div",{class:B},[r("img",{src:F[t(e.item.score)].img,alt:""},null)]),r(_,{name:"arrow",class:C},null)])]),r("div",{class:k},[r("div",{class:O},[r("p",{class:P,style:{color:"#F67146"}},[e.item.score,u(" "),r("span",null,[u("分")])," "]),r("p",{class:j},[u(" 综合得分")])]),r("div",{class:O},[r("p",{class:P},[e.item.intonation,r("span",null,[u("分")])," "]),r("p",{class:j},[u("音准 ")])]),r("div",{class:O},[r("p",{class:P},[e.item.cadence,u(" "),r("span",null,[u("分")])," "]),r("p",{class:j},[u("节奏 ")])]),r("div",{class:O},[r("p",{class:P},[e.item.integrity,u(" "),r("span",null,[u("分")])," "]),r("p",{class:j},[u("完成度 ")])])])])])])}}}),L={topWrap:"_topWrap_x0t7x_1",topInfo:"_topInfo_x0t7x_6",topInfoLeft:"_topInfoLeft_x0t7x_13",headWrap:"_headWrap_x0t7x_19",infoMsg:"_infoMsg_x0t7x_31",tag:"_tag_x0t7x_38",topInfoRight:"_topInfoRight_x0t7x_50",infoDay:"_infoDay_x0t7x_57",infoDayMain:"_infoDayMain_x0t7x_60",infoDaysub:"_infoDaysub_x0t7x_73",chioseWrap:"_chioseWrap_x0t7x_79",DialogTitle:"_DialogTitle_x0t7x_85",DialogConent:"_DialogConent_x0t7x_105"};e("default",a({name:"exercis-detail",setup:function(){l();var e=s(),a=p({showPopoverTime:!1,showPopoverOrchestra:!1,currentDate:[m().format("YYYY"),m().format("MM")],actions:[{text:"全部乐团",color:"var(--van-primary-color)"},{text:"交付团"},{text:"晋升团"}],id:e.query.id});console.log(e.query);var A=p({practiceMonth:e.query.practiceMonth?e.query.practiceMonth:a.currentDate[0]+""+a.currentDate[1],practiceMonthName:e.query.practiceMonthName?e.query.practiceMonthName:a.currentDate[0]+"年"+a.currentDate[1]+"月",orchestraId:"",orchestraName:"",page:1,rows:20,userId:e.query.id,clientType:"STUDENT"}),M=f(!1),W=f(new Date(m().subtract(5,"year").format("YYYY-MM-DD"))),I=f(new Date(m().add(5,"year").format("YYYY-MM-DD"))),R=f(["year","month"]),S=f(!1),B=f(!1),C=f(!1),k=f(!1),O=f({}),P=f([]),j=function(){var e=i(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return B.value=!0,S.value&&(P.value=[],A.page=1,S.value=!1),e.prev=2,e.next=5,v.post("/api-school/musicPracticeRecord/page",{data:t({},A)});case 5:if(n=e.sent,!(P.value.length>0&&1===n.data.pageNo)){e.next=8;break}return e.abrupt("return");case 8:A.page=n.data.current+1,P.value=P.value.concat(n.data.rows||[]),k.value=P.value.length>0,B.value=!1,C.value=n.data.current>=n.data.pages,e.next=21;break;case 15:e.prev=15,e.t0=e.catch(2),o=e.t0.message,b(o),k.value=!1,C.value=!0;case 21:case"end":return e.stop()}}),e,null,[[2,15]])})));return function(){return e.apply(this,arguments)}}(),F=function(){var e=i(regeneratorRuntime.mark((function e(){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,v.get("/api-backend/student/detail/".concat(a.id));case 3:n=e.sent,console.log(n),O.value=t({},n.data),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),o=e.t0.message,b(o);case 12:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}();d((function(){j(),F()}));var N=function(e){A.practiceMonth=e.selectedValues[0]+e.selectedValues[1],A.practiceMonthName=e.selectedValues[0]+"年"+e.selectedValues[1]+"月",a.showPopoverTime=!1,S.value=!0,j()},q=function(){C.value=!1,B.value=!0,j()};return function(){var e;return r(c,null,[r(o,{position:"top",background:"#F8F8F8"},{default:function(){return[r("div",{class:L.topWrap},[r(n,{isBack:!0,border:!1,background:"transparent"},{right:function(){return r(_,{name:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABKBJREFUWEfVmXtsVEUUh7/Z1opN0WpVTMAGDQZsRSMxhkTBtiYSNT4CbNuNCiGAqMT6TC0Y7N34wnfAR5ZACVFL3RKjKBJaUiAivjD4FqOmCUS0qGAFrDayO2b27nJ3t3d370xXyc6/c37nfDs7M+fMuYJhDGnhA/8ERPENyMho4HwQlcBZcbd9IPcCuxFF+5BH18O6b4VF1DSsMBFKK3AhROYCs0CU6/mQ/cDLUNQmrI4v9LSgBSxbA5cjokuAq3QDZbDvRvoeFsGO97z68wQsLf9pCN9yJDd5daxlJ2hHRpuEte5gLl1OYGk11oDsSNqXuXyazveBCAjrtW3ZHGQFllbDPGClKYGhbr6wwqsyaTMCy9aGFgSPGwYdnkyySATDS92cuAIfp5VN53Nd6SHA8T271WiJTiyFMefByHIoGQF/D8CBPvi5F6IRA5eiNn1PpwDHbgN8X2sfsMoJMHU6nHMB+HxDwRT4rh549w0YHNAB74NodfLtkQocbHhV++qqmQlTZ4DIeeFA/y/Q/gT8ts87tKBdtIZvTgiORYknhe3ePQFTboS6RvcVjRyF0pFDf8ihg7CiBQYOeQ8lfVMSycUBthq6tDLYqEpYsBRE0hb4uAs+2AD9v9owJ5XBpCuh1g9FxQ7gzm7YuNo7MHQLKzxNCWLAdm0Q/VzHA9PvhImXOZL334bN7e4uLq6D62915tSefmq+5kH0XaRqjzhw/TIQTZ6B1ao2r4IRpbZk8C945jb4Z9Ddhdrf94ag7BRnPvQA7N/jOSTI5cLqvEvYJWL9Aa2q64wxcMfTTrDvdkHHk9mD3/IgnDvRsXnlUej9Uge4HzorhLT8VfGrzLt4bDXMVkVbfHy0CTatya6f/RCMrXJs1gRhz27vMWOW0Wohg4FFyOhjWkqVICoSNTpwpB/U6c801OG75yU4ocSxePZ2OPy7VliEb7GQVv0LIBbqKTWtr1sAk2od0f69EGrWdKLM5YsKuAdEnYHam+SKGVDjT7V9/Xn4aoc3fYqV3CKk1fA9MM5AnVsybRZMvibV7tNt8FYot9bd4gcFfBgoM/WQUXf1HLg0dtc7Y2cXbFSHU5qGO/LfAKvaQmW3xJAStoZh+5umoAldDDi/W+Ls8TDHcmoIBavS8Cebhwur9GpL5PnQNd4P4y9x4BToO235gFVbSR26PF5rxSXQstopdFTR/txC+57Oy1DXmkniyBT81FHQtMyZ/akXVi7OC2rMiZ04DFJzJoTR42DeI86slxpD6+eo1GxS/GQLklz3yihEjdtoaVFUi6uzwqy81FqVfBnHy0vlzqiAd+MoPRmunWuXkX/+AVvC8M2HeSJOKuBtaM0nkhuG/26omuzMRCJ2kaPz6HT/ealPpBiw3ZnUe4SmO79PvSrSuq/rQ/BZ1nZZ7n/A7REagzZ55ieHSy/S1VzbEvhRJVPDkemZb28Lw0ZKguXMSgg0Q/npoG6IHRugZ60haUyWvZFiQ8faq2atKuVAXWvqzaey27AzXI5WVWIpCqoZeAy6kNqtx3mlzRraDnQBfTJwoAvoo0zynVQwn73SL9KC+bA4FPz//3T7L2Hfu8iaz0DCAAAAAElFTkSuQmCC",size:22,color:"#333",onClick:function(){M.value=!0}},null)}}),r("div",{class:L.topInfo},[r("div",{class:L.topInfoLeft},[r("div",{class:L.headWrap},[r("img",{src:O.value.avatar?O.value.avatar:D,alt:""},null)]),r("div",{class:L.infoMsg},[r("p",null,[O.value.nickname]),r("div",{class:L.tag},[O.value.subjectNames])])]),r("div",{class:L.topInfoRight},[r("div",{class:L.infoDay},[r("p",{class:L.infoDayMain},[O.value.practiceDays?O.value.practiceDays:0," ",r("span",null,[u("天")])]),r("p",{class:L.infoDaysub},[u("练习天数")])]),r("div",{class:L.infoTime},[r("p",{class:L.infoDayMain},[O.value.practiceTimes?O.value.practiceTimes:0," ",r("span",null,[u("分钟")])]),r("p",{class:L.infoDaysub},[u("练习天数")])])])]),r("div",{class:L.chioseWrap},[r("div",{style:{padding:"12px 13px",background:"transparent"}},[r("div",{class:L.searchBand,onClick:function(){a.showPopoverTime=!0}},[A.practiceMonthName,r(_,{name:a.showPopoverTime?"arrow-up":"arrow-down"},null)])])])])]}}),k.value?r(z,{modelValue:S.value,"onUpdate:modelValue":function(e){return S.value=e},onRefresh:q},{default:function(){return[r(T,{loading:B.value,"onUpdate:loading":function(e){return B.value=e},finished:C.value,"finished-text":"没有更多了",onLoad:j},(t=e=P.value.map((function(e){return r(V,{item:e},null)})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!y(t)?e:{default:function(){return[e]}}))];var t}}):r(g,null,null),r(x,{show:a.showPopoverTime,"onUpdate:show":function(e){return a.showPopoverTime=e},position:"bottom",style:"{ height: '30%' }"},{default:function(){return[r(w,{onCancel:function(){a.showPopoverTime=!1},onConfirm:N,modelValue:a.currentDate,"onUpdate:modelValue":function(e){return a.currentDate=e},title:"选择年月",minDate:W.value,maxDate:I.value,columnsType:R.value},null)]}}),r(h,{class:"exercisDetailDialog",show:M.value,"onUpdate:show":function(e){return M.value=e},title:"提示框",confirmButtonText:"我知道了"},{title:function(){return r("div",{class:L.DialogTitle},[r("span",null,null),r("p",null,[u("什么是练习数据")])])},default:function(){return r("div",{class:L.DialogConent},[r("p",null,[u("练习数据是学生通过云教练自主练习的数据统计,可根据时间段查询学生的练习天数和练习时长")," "]),r("p",null,[u("练习天数:当天又曲目播放或测评记录即算练习")]),r("p",null,[u("练习时长:曲目播放和曲目测评的时长总和")])])}})])}}}))}}}))}();
|