1 |
- !function(){var e=document.createElement("style");e.innerHTML="._itemWrap_d4ln4_1{background:#ffffff;border-radius:.26667rem;padding:.32rem .4rem .53333rem;margin:0 .34667rem .34667rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7{display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-bottom:.02667rem solid #f2f2f2;padding-bottom:.32rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopLeft_d4ln4_15 ._itemTopMain_d4ln4_15{height:.58667rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;margin-bottom:.16rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopLeft_d4ln4_15 ._itemTopSub_d4ln4_23{font-size:.32rem!important;font-weight:400;color:#777;line-height:.45333rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29{display:flex;flex-direction:row;align-items:center}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29 ._imgWrap_d4ln4_34{width:2.66667rem;height:.88rem;background:#e9e3ff;border-radius:.50667rem}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29 ._imgWrap_d4ln4_34 img{width:100%;height:100%}._itemWrap_d4ln4_1 ._itemTop_d4ln4_7 ._itemTopRight_d4ln4_29 ._imgIcon_d4ln4_44{font-size:.42667rem;color:#d8d8d8;margin-left:.16rem}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49{margin-top:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-around;text-align:center}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57{width:25%}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57 ._dotMain_d4ln4_60{font-size:.69333rem;color:#333;line-height:.8rem;margin-bottom:.10667rem;font-family:DINA;font-weight:400}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57 ._dotMain_d4ln4_60 span{margin-left:.02667rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._itemWrap_d4ln4_1 ._itemBottom_d4ln4_49 ._itemBottomDot_d4ln4_57 ._dotSub_d4ln4_75{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._exercisContainer_1j6m1_1{background:url(./assets/detail-bg.1d94c577.png) top center / cover no-repeat;background-size:contain}._topWrap_1j6m1_5 ._topInfo_1j6m1_5{padding:.90667rem .4rem .8rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap}._topWrap_1j6m1_5 ._topInfo_1j6m1_5 ._topInfoLeft_1j6m1_13{width:50%;display:flex;flex-direction:row;align-items:center}._topWrap_1j6m1_5 ._topInfo_1j6m1_5 ._topInfoLeft_1j6m1_13 ._headWrap_1j6m1_19{flex-shrink:0;border-radius:50%;overflow:hidden;border:.05333rem solid #fff;margin-right:.4rem}._topWrap_1j6m1_5 ._topInfo_1j6m1_5 ._topInfoLeft_1j6m1_13 ._infoMsg_1j6m1_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_1j6m1_5 ._topInfo_1j6m1_5 ._topInfoLeft_1j6m1_13 ._infoMsg_1j6m1_26 ._tag_1j6m1_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_1j6m1_5 ._topInfo_1j6m1_5 ._topInfoRight_1j6m1_51{width:50%;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}._topWrap_1j6m1_5 ._topInfo_1j6m1_5 ._topInfoRight_1j6m1_51 ._infoDay_1j6m1_58{margin-right:.8rem}._topWrap_1j6m1_5 ._topInfo_1j6m1_5 ._topInfoRight_1j6m1_51 ._infoDayMain_1j6m1_61{font-size:.66667rem;color:#333;line-height:.74667rem;margin-bottom:.18667rem;font-family:DINA;font-weight:400;text-align:center}._topWrap_1j6m1_5 ._topInfo_1j6m1_5 ._topInfoRight_1j6m1_51 ._infoDayMain_1j6m1_61 span{margin-left:.05333rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._topWrap_1j6m1_5 ._topInfo_1j6m1_5 ._topInfoRight_1j6m1_51 ._infoDaysub_1j6m1_77{font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem;text-align:center}._topWrap_1j6m1_5 ._chioseWrap_1j6m1_84{display:flex;flex-direction:row;align-items:center;background-color:transparent;font-weight:500;color:#333;line-height:.53333rem;font-size:.37333rem}._DialogTitle_1j6m1_94{display:flex;flex-direction:row;align-items:center;padding:.53333rem .66667rem}._DialogTitle_1j6m1_94 span{width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._DialogTitle_1j6m1_94 p{height:.66667rem;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem}._DialogConent_1j6m1_114{padding:0 .66667rem .8rem}._DialogConent_1j6m1_114 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%}._teacherSubject_1j6m1_131{background:transparent;padding:0;padding-right:.10667rem;border-radius:.32rem}._teacherSubject_1j6m1_131 ._tag_1j6m1_38{margin:0 .10667rem}\n",document.head.appendChild(e),System.register(["./index-legacy.eb062188.js","./index-legacy.ad813f4d.js","./index-legacy.d64e5695.js","./quest-icon-legacy.8dd60bcc.js","./icon_student-legacy.6118fd72.js","./index-legacy.5f462740.js","./index-legacy.fecc738b.js","./index-legacy.fad72574.js","./utils-legacy.6e8de97c.js","./Picker-legacy.95f03705.js","./index-legacy.ac7c51db.js","./use-tab-status-legacy.91417466.js","./index-legacy.fab451f1.js","./index-legacy.10d8486a.js","./index-legacy.38b799d5.js"],(function(e){"use strict";var t,a,o,i,n,l,r,s,_,c,m,d,p,u,f,g,h,v,j,y,b,w,T,D,x,I,W,M,k,C,R,S,L,z,B,N,P,V,E,Y,q,A,H;return{setters:[function(e){t=e.t,a=e.w,o=e.d,i=e.R,n=e.r,l=e.aP,r=e.aH,s=e.a0,_=e.W,c=e.Z,m=e.ac,d=e.ay,p=e.c,u=e.a5,f=e.an,g=e.aV,h=e.aI,v=e.a1,j=e.D,y=e.q,b=e.F,w=e.e,T=e.ag,D=e.ah,x=e.g,I=e.ai,W=e.$,M=e._,k=e.b1,C=e.aj,R=e.ak,S=e.P,L=e.b2,z=e.b3,B=e.al,N=e.m},function(e){P=e.O},function(e){V=e.O},function(e){E=e.q},function(e){Y=e.i},function(e){q=e.D},function(e){A=e.I},function(e){H=e.L},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){const[O,$]=t("notice-bar"),F={text:String,mode:String,color:String,delay:a(1),speed:a(60),leftIcon:String,wrapable:Boolean,background:String,scrollable:{type:Boolean,default:null}};var U=o({name:O,props:F,emits:["close","replay"],setup(e,{emit:t,slots:a}){let o,j=0,y=0;const b=i(),w=i(),T=n({show:!0,offset:0,duration:0}),D=a=>{"closeable"===e.mode&&(T.show=!1,t("close",a))},x=()=>{if(a["right-icon"])return a["right-icon"]();const t="closeable"===e.mode?"cross":"link"===e.mode?"arrow":void 0;return t?p(u,{name:t,class:$("right-icon"),onClick:D},null):void 0},I=()=>{T.offset=j,T.duration=0,h((()=>{g((()=>{T.offset=-y,T.duration=(y+j)/+e.speed,t("replay")}))}))},W=()=>{const t=!1===e.scrollable&&!e.wrapable,o={transform:T.offset?`translateX(${T.offset}px)`:"",transitionDuration:`${T.duration}s`};return p("div",{ref:b,role:"marquee",class:$("wrap")},[p("div",{ref:w,style:o,class:[$("content"),{"van-ellipsis":t}],onTransitionend:I},[a.default?a.default():e.text])])},M=()=>{const{delay:t,speed:a,scrollable:i}=e,n=v(t)?1e3*+t:0;j=0,y=0,T.offset=0,T.duration=0,clearTimeout(o),o=setTimeout((()=>{if(!b.value||!w.value||!1===i)return;const e=f(b).width,t=f(w).width;(i||t>e)&&g((()=>{j=e,y=t,T.offset=-y,T.duration=y/+a}))}),n)};return l(M),r(M),s("pageshow",M),_({reset:M}),c((()=>[e.text,e.scrollable]),M),()=>{const{color:t,wrapable:o,background:i}=e;return m(p("div",{role:"alert",class:$({wrapable:o}),style:{color:t,background:i}},[a["left-icon"]?a["left-icon"]():e.leftIcon?p(u,{class:$("left-icon"),name:e.leftIcon},null):void 0,W(),x()]),[[d,T.show]])}}});const G=j(U);var X="_itemWrap_d4ln4_1",Z="_itemTop_d4ln4_7",J="_itemTopLeft_d4ln4_15",K="_itemTopMain_d4ln4_15",Q="_itemTopSub_d4ln4_23",ee="_itemTopRight_d4ln4_29",te="_imgWrap_d4ln4_34",ae="_imgIcon_d4ln4_44",oe="_itemBottom_d4ln4_49",ie="_itemBottomDot_d4ln4_57",ne="_dotMain_d4ln4_60",le="_dotSub_d4ln4_75";const re={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:"你很棒"}};var se=o({props:["item"],name:"detail-item",setup(e){const t=e=>{if(!e&&"number"!=typeof e)return{};let 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()=>p(b,null,[p("div",null,[p("div",{class:X,onClick:t=>{t.stopPropagation(),(()=>{const t=window.location.origin+`/orchestra-music-score/colexiu-report.html?id=${e.item.id}`;w({api:"openWebView",content:{url:t,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}})})()}},[p("div",{class:Z},[p("div",{class:J},[p("p",{class:K},[e.item.musicSheetName]),p("p",{class:Q},[e.item.createTime])]),p("div",{class:ee},[p("div",{class:te},[p("img",{src:re[t(e.item.score||0)].img,alt:""},null)]),p(u,{name:"arrow",class:ae},null)])]),p("div",{class:oe},[p("div",{class:ie},[p("p",{class:ne,style:{color:"#F67146"}},[e.item.score||0,p("span",null,[y("分")])," "]),p("p",{class:le},[y(" 综合得分")])]),p("div",{class:ie},[p("p",{class:ne},[e.item.intonation||0,p("span",null,[y("分")])," "]),p("p",{class:le},[y("音准 ")])]),p("div",{class:ie},[p("p",{class:ne},[e.item.cadence||0,p("span",null,[y("分")])," "]),p("p",{class:le},[y("节奏 ")])]),p("div",{class:ie},[p("p",{class:ne},[e.item.integrity||0,p("span",null,[y("分")])," "]),p("p",{class:le},[y("完成度 ")])])])])])])}});var _e={exercisContainer:"_exercisContainer_1j6m1_1",topWrap:"_topWrap_1j6m1_5",topInfo:"_topInfo_1j6m1_5",topInfoLeft:"_topInfoLeft_1j6m1_13",headWrap:"_headWrap_1j6m1_19",infoMsg:"_infoMsg_1j6m1_26",tag:"_tag_1j6m1_38",topInfoRight:"_topInfoRight_1j6m1_51",infoDay:"_infoDay_1j6m1_58",infoDayMain:"_infoDayMain_1j6m1_61",infoDaysub:"_infoDaysub_1j6m1_77",chioseWrap:"_chioseWrap_1j6m1_84",DialogTitle:"_DialogTitle_1j6m1_94",DialogConent:"_DialogConent_1j6m1_114",teacherSubject:"_teacherSubject_1j6m1_131"};e("default",o({name:"exercis-detail",setup(){T();const e=D(),t=i(x.platformApi),a=n({showPopoverTime:!1,showPopoverOrchestra:!1,currentDate:[I().format("YYYY"),I().format("MM")],actions:[{text:"全部乐团",color:"var(--van-primary-color)"},{text:"交付团"},{text:"晋升团"}],id:e.query.id,heightV:0,scrollTop:0,isClick:!1}),o=n({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:e.query.clientType?e.query.clientType:x.platformType}),l=i(!1),r=i(new Date(I().subtract(10,"year").format("YYYY-MM-DD"))),s=i(new Date(I().add(10,"year").format("YYYY-MM-DD"))),_=i(["year","month"]),c=i(!1),m=i(!1),d=i(!1),g=i(!1),h=i({}),v=i([]),j=async()=>{if(!a.isClick){a.isClick=!0,c.value&&(v.value=[],o.page=1,c.value=!1);try{const e=await N.post(`${t.value}/musicPracticeRecord/page`,{data:{...o,feature:"EVALUATION"}});if(v.value.length>0&&1===e.data.current)return;v.value=v.value.concat(e.data.rows||[]),o.page=e.data.current+1,g.value=v.value.length>0,m.value=!1,console.log(e.data,e.data.current>=e.data.pages),d.value=e.data.current>=e.data.pages}catch(e){e.message,g.value=!1,d.value=!0}a.isClick=!1}},w=i(),O=i(0);W((async()=>{await j(),await(async()=>{if("TEACHER"===o.clientType)try{const e=await N.post(`${t.value}/teacher/detail`,{data:{teacherId:a.id}});h.value={...e.data},h.value.subjectNames=e.data.subjectName.split(",")}catch(e){e.message}else try{const e=await N.get(`${t.value}/student/detail/${a.id}`);console.log(e),h.value={...e.data}}catch(e){e.message}})(),window.addEventListener("scroll",$),M((()=>{const{height:e}=f(w.value);O.value=e}))})),k((()=>{window.removeEventListener("scroll",$)}));const $=()=>{const e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;a.scrollTop=e},F=e=>{a.heightV=e,console.log(e,"dataHeight")},U=e=>{o.practiceMonth=e.selectedValues[0]+e.selectedValues[1],o.practiceMonthName=e.selectedValues[0]+"年"+e.selectedValues[1]+"月",a.showPopoverTime=!1,c.value=!0,j()},X=()=>{d.value=!1,m.value=!0,j()};return()=>{let e;return p(b,null,[p("div",{class:[_e.exercisContainer,!g.value&&"emptyRootContainer"]},[p("div",{class:_e.topWrap,ref:w},[p(P,{position:"top",background:"#F8F8F8",onGetHeight:F},{default:()=>[p(C,{border:!1,background:a.heightV>a.scrollTop?"transparent":"#fff"},{right:()=>p(u,{name:E,size:22,color:"#333",onClick:()=>{l.value=!0}},null)})]}),p("div",{class:_e.topInfo},[p("div",{class:_e.topInfoLeft},[p("div",{class:_e.headWrap},[p(A,{src:h.value.avatar?h.value.avatar:Y,fit:"cover",width:"68px",height:"68px"},null)]),p("div",{class:_e.infoMsg},[p("p",null,[h.value.nickname]),"TEACHER"===o.clientType?p(G,{class:_e.teacherSubject},{default:()=>{var e;return[null===(e=h.value)||void 0===e||null===(e=e.subjectNames)||void 0===e?void 0:e.map((e=>p("div",{class:_e.tag},[e])))]}}):p("div",{class:_e.tag},[h.value.subjectNames?h.value.subjectNames:"暂无声部"])])]),p("div",{class:_e.topInfoRight},[p("div",{class:_e.infoDay},[p("p",{class:_e.infoDayMain},[h.value.practiceDays?h.value.practiceDays:0,"",p("span",null,[y("天")])]),p("p",{class:_e.infoDaysub},[y("练习天数")])]),p("div",{class:_e.infoTime},[p("p",{class:_e.infoDayMain},[h.value.practiceTimes?h.value.practiceTimes:0,"",p("span",null,[y("分钟")])]),p("p",{class:_e.infoDaysub},[y("练习时长")])])])]),p("div",{class:"searchGroup-single",style:"padding-top: 0 !important;"},[p("div",{class:["searchItem",a.showPopoverTime?"searchItem-active":""],onClick:()=>{a.showPopoverTime=!0}},[p("span",null,[o.practiceMonthName])])])]),g.value?p(V,{modelValue:c.value,"onUpdate:modelValue":e=>c.value=e,onRefresh:X,style:"min-height: 100vh;"},{default:()=>{return[p(H,{"loading-text":" ",finished:d.value,"finished-text":"没有更多了",onLoad:j},(t=e=v.value.map((e=>p(se,{item:e},null))),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!B(t)?e:{default:()=>[e]}))];var t}}):p(R,{tips:"暂无练习统计"},null)]),p(S,{show:a.showPopoverTime,"onUpdate:show":e=>a.showPopoverTime=e,position:"bottom",round:!0,class:"popupBottomSearch"},{default:()=>[p(q,{onCancel:()=>{a.showPopoverTime=!1},onConfirm:U,modelValue:a.currentDate,"onUpdate:modelValue":e=>a.currentDate=e,minDate:r.value,maxDate:s.value,formatter:L,columnsType:_.value},null)]}),p(z,{class:"exercisDetailDialog",show:l.value,"onUpdate:show":e=>l.value=e,title:"提示框",confirmButtonText:"我知道了"},{title:()=>p("div",{class:_e.DialogTitle},[p("span",null,null),p("p",null,[y("什么是练习数据")])]),default:()=>p("div",{class:_e.DialogConent},[p("p",null,[y("练习数据是"),"TEACHER"==o.clientType?"":"学员",y("通过云教练自主练习的数据统计,可根据时间段查询"),"TEACHER"==o.clientType?"":"学员",y("的练习天数和练习时长")," "]),p("p",null,[y("练习天数:当天有曲目播放或测评记录即算练习")]),p("p",null,[y("练习时长:曲目播放和曲目测评的时长总和")])])})])}}}))}}}))}();
|