exercis-detail-legacy.c88b2b0f.js 28 KB

12
  1. !function(){function e(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function t(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?e(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function n(e,t,i,n,r,a,o){try{var u=e[a](o),c=u.value}catch(l){return void i(l)}u.done?t(c):Promise.resolve(c).then(n,r)}function r(e){return function(){var t=this,i=arguments;return new Promise((function(r,a){var o=e.apply(t,i);function u(e){n(o,r,a,u,c,"next",e)}function c(e){n(o,r,a,u,c,"throw",e)}u(void 0)}))}}function a(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var u=document.createElement("style");u.innerHTML='._animateWrap_1kuq9_1{width:1.46667rem!important;height:1.46667rem!important}._loading_1kuq9_5{height:1.46667rem!important}._loading_1kuq9_5 img{height:.8rem;width:3.2rem;margin-top:.53333rem}._pullRefresh_1kuq9_13 .van-pull-refresh__track{min-height:inherit}.lottie-animation-container{width:var(--lottie-animation-container-width);height:var(--lottie-animation-container-height);background-color:var(--lottie-animation-container-background-color);overflow:hidden;margin:0 auto}._itemWrap_pnh2u_1{background:#ffffff;border-radius:.26667rem;padding:.32rem .4rem .53333rem;margin:0 .34667rem .34667rem}._itemWrap_pnh2u_1 ._itemTop_pnh2u_7{display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-bottom:.02667rem solid #f2f2f2;padding-bottom:.32rem}._itemWrap_pnh2u_1 ._itemTop_pnh2u_7 ._itemTopLeft_pnh2u_15 ._itemTopMain_pnh2u_15{display:flex;align-items:center;margin-bottom:.16rem}._itemWrap_pnh2u_1 ._itemTop_pnh2u_7 ._itemTopLeft_pnh2u_15 ._itemTopMain_pnh2u_15 span{display:inline-block;height:.58667rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;max-width:4rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._itemWrap_pnh2u_1 ._itemTop_pnh2u_7 ._itemTopLeft_pnh2u_15 ._itemTopMain_pnh2u_15 ._iconPlay_pnh2u_32{margin-top:-.02667rem;font-size:.53333rem;width:.53333rem;height:.53333rem;margin-left:.16rem}._itemWrap_pnh2u_1 ._itemTop_pnh2u_7 ._itemTopLeft_pnh2u_15 ._itemTopSub_pnh2u_39{font-size:.32rem!important;font-weight:400;color:#777;line-height:.45333rem}._itemWrap_pnh2u_1 ._itemTop_pnh2u_7 ._itemTopRight_pnh2u_45{display:flex;flex-direction:row;align-items:center}._itemWrap_pnh2u_1 ._itemTop_pnh2u_7 ._itemTopRight_pnh2u_45 ._imgWrap_pnh2u_50{width:2.66667rem;height:.88rem;background:#e9e3ff;border-radius:.50667rem}._itemWrap_pnh2u_1 ._itemTop_pnh2u_7 ._itemTopRight_pnh2u_45 ._imgWrap_pnh2u_50 img{width:100%;height:100%}._itemWrap_pnh2u_1 ._itemTop_pnh2u_7 ._itemTopRight_pnh2u_45 ._imgIcon_pnh2u_60{font-size:.42667rem;color:#d8d8d8;margin-left:.16rem}._itemWrap_pnh2u_1 ._itemBottom_pnh2u_65{margin-top:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-around;text-align:center}._itemWrap_pnh2u_1 ._itemBottom_pnh2u_65 ._itemBottomDot_pnh2u_73{width:25%}._itemWrap_pnh2u_1 ._itemBottom_pnh2u_65 ._itemBottomDot_pnh2u_73 ._dotMain_pnh2u_76{font-size:.69333rem;color:#333;line-height:.8rem;margin-bottom:.10667rem;font-family:DINAlternate-Bold,DINAlternate;font-weight:700}._itemWrap_pnh2u_1 ._itemBottom_pnh2u_65 ._itemBottomDot_pnh2u_73 ._dotMain_pnh2u_76 span{margin-left:.02667rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._itemWrap_pnh2u_1 ._itemBottom_pnh2u_65 ._itemBottomDot_pnh2u_73 ._dotSub_pnh2u_91{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._exercisContainer_fcuxk_1 .van-calendar__day--end,._exercisContainer_fcuxk_1 .van-calendar__day--start,._exercisContainer_fcuxk_1 .van-calendar__day--start-end,._exercisContainer_fcuxk_1 .van-calendar__day--multiple-middle,._exercisContainer_fcuxk_1 .van-calendar__day--multiple-selected{background:#FF5074}._exercisContainer_fcuxk_1 ._bgImg_fcuxk_8{position:fixed;top:0;left:0;width:100%;height:5.70667rem;z-index:-1}._userMember_fcuxk_16{background-color:transparent!important;width:auto;padding:0;padding:.48rem}._userMember_fcuxk_16 ._level_fcuxk_22{width:1.17333rem;height:.45333rem}._userMember_fcuxk_16 ._userImgSection_fcuxk_26{position:relative;padding:.08rem;background:#fff;margin-right:.32rem;border-radius:50%}._userMember_fcuxk_16 ._userImgSection_fcuxk_26:before{content:" ";position:absolute;left:.02667rem;top:.02667rem;bottom:.02667rem;right:.02667rem;background-color:#fff;border-radius:50%}._userMember_fcuxk_16 ._userImg_fcuxk_26{width:1.22667rem;height:1.22667rem;border-radius:50%;vertical-align:middle;overflow:hidden}._userMember_fcuxk_16 ._userInfo_fcuxk_50{display:flex;align-items:center;color:#fff;padding-bottom:.13333rem}._userMember_fcuxk_16 ._userInfo_fcuxk_50 ._name_fcuxk_56{padding-right:.13333rem;max-width:2.66667rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.48rem;font-weight:600;color:#742626}._userMember_fcuxk_16 ._timeRemaining_fcuxk_66{margin-top:0;font-size:.37333rem;color:silver}._userMember_fcuxk_16 ._subjectTag_fcuxk_71{font-size:.32rem;font-weight:500;color:#fe2451;padding:.02667rem .18667rem;background:rgba(255,255,255,.3);border-radius:.53333rem;border:.02667rem solid #FFFFFF;display:inline-flex;align-items:center;line-height:1}._userMember_fcuxk_16 ._subjectTag_fcuxk_71 ._iconSubject_fcuxk_83{width:.34667rem;height:.34667rem;margin-right:.10667rem}._itemBottom_fcuxk_88{margin:0 .34667rem .4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-around;text-align:center;background-color:#fff;border-radius:.26667rem;padding:.53333rem 0}._itemBottom_fcuxk_88 ._itemBottomDot_fcuxk_99{width:25%}._itemBottom_fcuxk_88 ._itemBottomDot_fcuxk_99 ._dotMain_fcuxk_102{font-size:.64rem;color:#333;line-height:.8rem;margin-bottom:.10667rem;font-family:DINAlternate-Bold,DINAlternate;font-weight:700}._itemBottom_fcuxk_88 ._itemBottomDot_fcuxk_99 ._dotMain_fcuxk_102 span{margin-left:.02667rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._itemBottom_fcuxk_88 ._itemBottomDot_fcuxk_99 ._dotSub_fcuxk_117{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._topWrap_fcuxk_123 .van-sticky{background:url(./assets/bg-image.e89554da.png) no-repeat top center;background-size:100% 5.70667rem}._topWrap_fcuxk_123 ._topInfoRight_fcuxk_127{margin-bottom:.48rem;padding:0 10%;display:flex;flex-direction:row;align-items:center;justify-content:center}._topWrap_fcuxk_123 ._topInfoRight_fcuxk_127 ._infoDay_fcuxk_135,._topWrap_fcuxk_123 ._topInfoRight_fcuxk_127 ._infoTime_fcuxk_136{width:50%}._topWrap_fcuxk_123 ._topInfoRight_fcuxk_127 ._infoDay_fcuxk_135{position:relative;margin-right:.53333rem}._topWrap_fcuxk_123 ._topInfoRight_fcuxk_127 ._infoDay_fcuxk_135:after{position:absolute;content:" ";right:-.32rem;top:.32rem;width:.02667rem;height:.93333rem;background-color:#e0e5e8}._topWrap_fcuxk_123 ._topInfoRight_fcuxk_127 ._infoDayMain_fcuxk_152{font-size:.64rem;color:#333;line-height:.74667rem;margin-bottom:.18667rem;font-family:DINAlternate-Bold,DINAlternate;font-weight:600;text-align:center}._topWrap_fcuxk_123 ._topInfoRight_fcuxk_127 ._infoDayMain_fcuxk_152 span{margin-left:.05333rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._topWrap_fcuxk_123 ._topInfoRight_fcuxk_127 ._infoDaysub_fcuxk_168{display:flex;align-items:center;justify-content:center;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem;text-align:center}._topWrap_fcuxk_123 ._topInfoRight_fcuxk_127 ._infoDaysub_fcuxk_168 img{width:.37333rem;height:.37333rem;margin-right:.08rem}._trainWeek_fcuxk_183{margin:.4rem .34667rem .32rem;min-height:7.12rem;background-color:#fff;border-radius:.26667rem;padding:.53333rem .4rem}._trainWeek_fcuxk_183 ._exerciseWeek_fcuxk_190{height:5.33333rem}._trainWeek_fcuxk_183 ._TrainDataTopRight_fcuxk_193{display:flex;align-items:center;margin-bottom:.48rem}._trainWeek_fcuxk_183 ._DataTopRightItem_fcuxk_198{display:flex;align-items:center;font-size:.34667rem;color:#777;line-height:1}._trainWeek_fcuxk_183 ._DataTopRightItem_fcuxk_198:first-child{margin-right:.53333rem}._trainWeek_fcuxk_183 ._DataTopRightItem_fcuxk_198:first-child ._DataTopRightDot_fcuxk_208{background-color:#ff7aa7}._trainWeek_fcuxk_183 ._DataTopRightItem_fcuxk_198:last-child ._DataTopRightDot_fcuxk_208{background-color:#3583fa}._trainWeek_fcuxk_183 ._DataTopRightItem_fcuxk_198._DataTopRightItemDis_fcuxk_214 ._DataTopRightDot_fcuxk_208{background-color:#e8e8e8!important}._trainWeek_fcuxk_183 ._DataTopRightItem_fcuxk_198 ._DataTopRightDot_fcuxk_208{width:.32rem;height:.32rem;border-radius:.05333rem;background-color:#ccc;margin-right:.10667rem}._trainWeek_fcuxk_183 ._trainTitle_fcuxk_224{display:flex;align-items:center;justify-content:space-between;padding-bottom:.42667rem}._trainWeek_fcuxk_183 ._trainTitle_fcuxk_224 img{width:1.70667rem;height:.4rem}._trainWeek_fcuxk_183 ._trainTitle_fcuxk_224 ._timeRange_fcuxk_234{display:flex;align-items:center;font-size:.37333rem;color:#131415}._trainWeek_fcuxk_183 ._trainTitle_fcuxk_224 ._timeRange_fcuxk_234 ._iconArrow_fcuxk_240{display:inline-block;width:.24rem;height:.13333rem;margin-left:.08rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAKCAYAAAC5Sw6hAAAAAXNSR0IArs4c6QAAALNJREFUKFOV0j1rAkEUheHHSCSCjSlstAgWFgr6/3+GAS0sxMI0KZJGUBQ/uDgLG3XdzWmGYe554Zw7NVd9oIdaulc9zlhjlRn76FZ138x9YZmB4hyh/U/YL2Y456PUMUarImyDTxxj/raTV0zQLIFtMcUhm3tU7luCNQpg+wTZ5d+LthTxImbEzStiRJyI9UfP1h3FD/GSHCfMEQXfqezfdDBIrgW+i7orA4XvPZl/ni3gAsvsGgt8yZh1AAAAAElFTkSuQmCC) no-repeat center;background-size:contain}._fullRefresh_fcuxk_248{min-height:calc(100vh - var(--header-height) - 7.33333rem)}._emptyContainer_fcuxk_251{height:calc(100vh - var(--header-height) - 7.33333rem);display:flex;align-items:center}\n',document.head.appendChild(u),System.register(["./index-legacy.fba2875c.js","./index-legacy.a7012d0a.js","./index-legacy.d92f7da7.js","./index-legacy.9960fd48.js","./index-legacy.6999285e.js","./index-legacy.7dcec7b3.js","./index-legacy.91d85717.js","./index-legacy.0e744c22.js","./index-legacy.e7460ea1.js","./bg-image-legacy.44e2b3db.js","./icon_student-legacy.45be2fa9.js","./icon-logo-legacy.70c50c7d.js","./installCanvasRenderer-legacy.b4ce6dcb.js","./use-tab-status-legacy.8752ccde.js","./use-refs-legacy.2affcb61.js","./utils-legacy.e8546185.js","./use-height-legacy.233a2ec8.js","./index-legacy.33680739.js","./index-legacy.40eca993.js"],(function(e){"use strict";var i,n,o,u,c,l,_,m,s,f,p,d,g,h,A,x,k,b,T,v,y,D,w,B,R,I,S,M,U,E,Y,W,C,F,j,O,N,P,Q,V,L,H,q,G,z,Z;return{setters:[function(e){e.bb,i=e.d,n=e.Q,o=e.a2,u=e.j,c=e.F,l=e.z,_=e.M,m=e.n,s=e.u,f=e.O,p=e.S,d=e.V,g=e.g,h=e.U,A=e.C,x=e.Z,k=e.w,b=e.W,T=e.bG},function(e){v=e.L},function(e){y=e.I},function(){},function(e){D=e.C},function(e){w=e.C},function(e){B=e.P},function(e){R=e.T},function(e){I=e.C},function(e){S=e.b},function(e){M=e.i},function(e){U=e.i,E=e.b},function(e){Y=e.u,W=e.i,C=e.a,F=e.b,j=e.c,O=e.d,N=e.e,P=e.f,Q=e.g,V=e.h,L=e.j,H=e.k,q=e.l,G=e.m,z=e.n,Z=e.o},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var X={exports:{}};X.exports=function(e,t,i){t.prototype.isBetween=function(e,t,n,r){var a=i(e),o=i(t),u="("===(r=r||"()")[0],c=")"===r[1];return(u?this.isAfter(a,n):!this.isBefore(a,n))&&(c?this.isBefore(o,n):!this.isAfter(o,n))||(u?this.isBefore(a,n):!this.isAfter(a,n))&&(c?this.isAfter(o,n):!this.isBefore(o,n))}};var J=X.exports,K="_pullRefresh_1kuq9_13",$=i({name:"m-full-refresh",props:{title:String,modelValue:{type:Boolean,default:!1}},emits:["refresh","update:modelValue"],setup:function(e,t){var i=t.emit,r=t.slots,a=n({fullState:!1});return o((function(){return e.modelValue}),(function(e){a.fullState=e})),o((function(){return a.fullState}),(function(e){i("update:modelValue",e)})),function(){return u(B,{modelValue:a.fullState,"onUpdate:modelValue":function(e){return a.fullState=e},onRefresh:function(){return i("refresh")},loadingText:" ",class:K},{default:function(){return u(c,null,[l(" "),r.default&&r.default()])}})}}}),ee="_itemWrap_pnh2u_1",te="_itemTop_pnh2u_7",ie="_itemTopLeft_pnh2u_15",ne="_itemTopMain_pnh2u_15",re="_iconPlay_pnh2u_32",ae="_itemTopSub_pnh2u_39",oe="_itemTopRight_pnh2u_45",ue="_imgWrap_pnh2u_50",ce="_imgIcon_pnh2u_60",le="_itemBottom_pnh2u_65",_e="_itemBottomDot_pnh2u_73",me="_dotMain_pnh2u_76",se="_dotSub_pnh2u_91",fe={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:"你很棒"}},pe=i({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},i=function(){var t=+new Date;m({api:"openAccompanyWebView",content:{url:location.origin+"/accompany/colexiu-report.html?id="+e.item.id+"&behaviorId="+t,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}})};return function(){return u("div",{class:ee,onClick:i},[u("div",{class:te},[u("div",{class:ie},[u("p",{class:ne},[u("span",null,[e.item.sysMusicScoreName]),e.item.videoFilePath&&u(_,{class:re,name:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAwBJREFUWEfNmU1IVFEUx3/nKZrZjIFfhZaLhBKECvveBbaoCAIVJGpjFBW610UrF7osDHXlyojIRZvWbY1qNS2SalEZqTMtnAl1Qt+J92ZGZ9TRuW9m5N3tu+d/f5zDPee8cwUPS1Ut5qNnKS25DNqGzXHgMBBIysWA31jMgHxkde0t9cH3ImKbHicmBhpZasBe7QVuA40mtsAsMIlV+kxq9v/K1TYnQJ2NVlOug6jVA1qeq/j2+ySO2BPE5bE0Bv/sprUroIYXu1EZAWp2EzP8HqFEeqU68HInu6yAqlrKQnQEkQeGB5ttVx2nLtgnIqvbGW4LqKoVRGKvUK6bneZxt/CGmkCXiCxvVtgC6HouEnu9Z3ApogTkzc2e3Ao4vzhW9LBmc7TquNRXPUz/nAGYvBAvPAaqMGYl0p1+cdYB3VRSxuci3FZT8Aj/OJFKQRuA4dgoqhnuNVUu2H7RMamteuTouYCJCrH2Lf8kXChEiWOVHHMqTgJwIToE9BvLL6/AdAgCldDWArJr3jc5YljqggPiFv5w7LuH2gpPn8OXH4lDm4/AnRtQXWUCsdPeWWoDTaJzi+exZNqTat8wqG6YlpdBZztcPOlJbouRrRdEI3/7sW0nxOarN4tZazPcugbBSnPNdAvLGhBdiE4BHZ6UsgE6YgcqoPsqnHJaRY/LkikHMAS0epLYCTAleK4Vuq5AxT4vR3wSXYiFQb21UrkAOlgHA3C/A446TbfJkogDuOI5/+UK6DA11MHAXRM6J03H9w6wsR76ezwB7k2I73VAk6cQ+/mSSEjU6Zxt7TT0fWL7nqQZ3yfqvErdEKRVOpxS19EOlwpZ6vJpFp5MwtefiXAXq1lwtD23W0sr8C6UqLmnW8AqQrvlAvq9YXUhw4ujqPiz5XcB/f7TlPSiM4fx529nKlGrn3/cXS/6ffSRhPTv8Gg91H4ev6U3Dr4dYGZAuiNgGUQp0AiYCeJamBFwBqhfh+ibe8WMZwjbPgPOM4QcynyG0DlgBsv6kM8zxH8xBWCmZ8JFPwAAAABJRU5ErkJggg=="},null)]),u("p",{class:ae},[e.item.createTime])]),u("div",{class:oe},[u("div",{class:ue},[u("img",{src:fe[t(e.item.score||0)].img,alt:""},null)]),u(_,{name:"arrow",class:ce},null)])]),u("div",{class:le},[u("div",{class:_e},[u("p",{class:me,style:{color:"#ff5a56"}},[e.item.score||0,u("span",null,[l("分")])," "]),u("p",{class:se},[l(" 综合得分")])]),u("div",{class:_e},[u("p",{class:me},[e.item.intonation||0,u("span",null,[l("分")])," "]),u("p",{class:se},[l("音准 ")])]),u("div",{class:_e},[u("p",{class:me},[e.item.cadence||0,u("span",null,[l("分")])," "]),u("p",{class:se},[l("节奏 ")])]),u("div",{class:_e},[u("p",{class:me},[e.item.integrity||0,u("span",null,[l("分")])," "]),u("p",{class:se},[l("完成度 ")])])])])}}}),de={exercisContainer:"_exercisContainer_fcuxk_1",bgImg:"_bgImg_fcuxk_8",userMember:"_userMember_fcuxk_16",level:"_level_fcuxk_22",userImgSection:"_userImgSection_fcuxk_26",userImg:"_userImg_fcuxk_26",userInfo:"_userInfo_fcuxk_50",name:"_name_fcuxk_56",timeRemaining:"_timeRemaining_fcuxk_66",subjectTag:"_subjectTag_fcuxk_71",iconSubject:"_iconSubject_fcuxk_83",itemBottom:"_itemBottom_fcuxk_88",itemBottomDot:"_itemBottomDot_fcuxk_99",dotMain:"_dotMain_fcuxk_102",dotSub:"_dotSub_fcuxk_117",topWrap:"_topWrap_fcuxk_123",topInfoRight:"_topInfoRight_fcuxk_127",infoDay:"_infoDay_fcuxk_135",infoTime:"_infoTime_fcuxk_136",infoDayMain:"_infoDayMain_fcuxk_152",infoDaysub:"_infoDaysub_fcuxk_168",trainWeek:"_trainWeek_fcuxk_183",exerciseWeek:"_exerciseWeek_fcuxk_190",TrainDataTopRight:"_TrainDataTopRight_fcuxk_193",DataTopRightItem:"_DataTopRightItem_fcuxk_198",DataTopRightDot:"_DataTopRightDot_fcuxk_208",DataTopRightItemDis:"_DataTopRightItemDis_fcuxk_214",trainTitle:"_trainTitle_fcuxk_224",timeRange:"_timeRange_fcuxk_234",iconArrow:"_iconArrow_fcuxk_240",fullRefresh:"_fullRefresh_fcuxk_248",emptyContainer:"_emptyContainer_fcuxk_251"},ge={tooltip:{trigger:"axis",axisPointer:{lineStyle:{width:2,color:"#FFA3C2"}}},legend:{show:!1,selected:{"训练时长":!0,"使用次数":!0}},xAxis:{type:"category",boundaryGap:!0,axisLabel:{show:!0,interval:0},data:["周一","周二","周三","周四","周五","周六","周日"]},yAxis:[{type:"value",axisLabel:{formatter:"{value}"},axisTick:{show:!1},splitArea:{show:!1,areaStyle:{color:["rgba(255,255,255,0.2)"]}},minInterval:1,splitNumber:5}],grid:{left:"1%",right:"1%",top:"2 %",bottom:0,containLabel:!0},series:[{data:["0.00","0.00","0.00","0.00","0.00","0.00","0.00"],symbolSize:10,type:"line",name:"训练时长",symbol:"circle",smooth:!0,itemStyle:{color:"#FF7AA7",borderColor:"#fff",borderWidth:3},lineStyle:{width:3},areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(255, 243, 246, 1)"},{offset:1,color:"rgba(255, 246, 248, 0)"}]}},emphasis:{disabled:!0}},{data:["0.00","0.00","0.00","0.00","0.00","0.00","0.00"],type:"line",name:"使用次数",symbolSize:10,symbol:"circle",smooth:!0,itemStyle:{color:"#3583FA",borderColor:"#fff",borderWidth:3},lineStyle:{width:2},areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(212, 231, 255, 1)"},{offset:1,color:"rgba(221, 235, 254, 0)"}]}},emphasis:{disabled:!0}}],formatter:function(e){return Array.isArray(e)?[e[0].axisValueLabel].concat(a(e.map((function(e,t){return"<br/>".concat(e.marker,'<span style="margin-top:10px;margin-left:5px;font-size: 13px;font-weight: 500;\n color: #333333;\n line-height: 18px;">').concat(e.seriesName,": ").concat(e.value).concat(0===t?"分钟":"次"," </span>")})))).join(""):e}};s.extend(J),Y([W,C,F,j,O,N,P,Q,V,L,H,q,G,z]);e("default",i({name:"exercis-detail",setup:function(){var e=f(),i=n({showPopoverTime:!1,currentDate:[s().format("YYYY"),s().format("MM")],isClick:!1,practiceMonthName:e.query.practiceMonthName?e.query.practiceMonthName:s().format("YYYY")+"年"+s().format("MM")+"月",userTrainOverView:{trainDays:0,trainNum:0,trainTime:0,avgTrainTime:0},userTrainChartData:[],myChart:null}),a=p(!0),o=p(!0),c=d((function(){var e=g.user.data;return{username:null==e?void 0:e.username,phone:null==e?void 0:e.phone,avatar:null==e?void 0:e.heardUrl,id:null==e?void 0:e.userId,memberRankSettingId:null==e?void 0:e.memberRankSettingId,isVip:null==e?void 0:e.isVip,membershipDays:null==e?void 0:e.membershipDays,membershipEndTime:null==e?void 0:e.membershipEndTime}})),_=n({startTime:s().day(1).format("YYYY-MM-DD"),endTime:s().day(7).format("YYYY-MM-DD"),page:1,rows:20}),m=p(!1),B=p(!1),Y=p(!1),W=p(!1),C=p([]),F=function(){var e=r(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!i.isClick){e.next=2;break}return e.abrupt("return");case 2:return i.isClick=!0,m.value&&(C.value=[],_.page=1,m.value=!1),e.prev=4,e.next=7,k.get("/api-student/sysMusicRecord/studentTrainDataByWeek",{params:t({},_)});case 7:if(n=e.sent,1===(r=n.data).detail.pageNo&&(i.userTrainOverView=r.userTrainOverView),!(C.value.length>0&&1===r.detail.pageNo)){e.next=12;break}return e.abrupt("return");case 12:i.userTrainChartData=r.userTrainChartData||[],C.value=C.value.concat(r.detail.rows||[]),_.page=r.detail.pageNo+1,W.value=C.value.length>0,B.value=!1,Y.value=r.detail.pageNo>=r.detail.totalPage,e.next=24;break;case 20:e.prev=20,e.t0=e.catch(4),W.value=!1,Y.value=!0;case 24:i.isClick=!1,b((function(){if(document.getElementById("exerciseWeek")){i.myChart=T(Z(document.getElementById("exerciseWeek")));var e=[],t=[];i.userTrainChartData.forEach((function(i){var n=i.indexMonthData||[];"CLOUD_STUDY_TRAIN_TIME"===i.dataType?n.forEach((function(t){e.push(t.totalNum)})):"CLOUD_STUDY_TRAIN_NUM"===i.dataType&&n.forEach((function(e){t.push(e.totalNum)}))})),ge.series[0].data=e,ge.series[1].data=t,i.myChart.clear(),i.myChart.setOption(ge)}}));case 26:case"end":return e.stop()}}),e,null,[[4,20]])})));return function(){return e.apply(this,arguments)}}(),j=function(){Y.value=!1,B.value=!0,F()};return h(r(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,F();case 2:case"end":return e.stop()}}),e)})))),function(){var e;return u("div",{class:[de.exercisContainer]},[u("div",{class:de.topWrap},[u(R,{position:"top"},{default:function(){return[u(I,{border:!1,background:"transparent",color:"#333333"},null),u(w,{class:de.userMember,labelClass:de.timeRemaining,border:!1},{icon:function(){return u("div",{class:de.userImgSection},[u(y,{class:de.userImg,src:c.value.avatar||M,fit:"cover"},null)])},title:function(){return u("div",{class:de.userInfo},[u("span",{class:de.name},[c.value.username]),u(y,{class:de.level,src:c.value.isVip?U:E},null)])},label:function(){return u("div",{class:de.subjectName},[u("span",{class:de.subjectTag},[u("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAA8NJREFUSEudlk9oFHcUx7/vvVm75uIhtYeCl4LRUl2KJdGYv0XFP1QPBQ+xm91UIxUPBXMpCLbTHsRIi0WFiJYSXZMaUmqLlbaY2BiTnupBRKtNTxW10KJSKBq7O09mdmZ2ZmdmIy4ENpvs7zPv+77vfX+EOV66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jQ9Nxg514r/OBm3peh1HcDKFOiLUUTPXOFmD8A8ENsE5hHn1Dx4eu1VpTTwGDSqfAEofCRAAAAABJRU5ErkJggg==",class:de.iconSubject},null),l("口风琴")])])}}),u("div",{class:de.itemBottom},[u("div",{class:de.itemBottomDot},[u("p",{class:de.dotMain},[i.userTrainOverView.trainTime||0,u("span",null,[l("分钟")])," "]),u("p",{class:de.dotSub},[l(" 累计练习时长")])]),u("div",{class:de.itemBottomDot},[u("p",{class:de.dotMain},[i.userTrainOverView.trainDays||0,u("span",null,[l("天")])," "]),u("p",{class:de.dotSub},[l("累计练习天数 ")])]),u("div",{class:de.itemBottomDot},[u("p",{class:de.dotMain},[i.userTrainOverView.avgTrainTime||0,u("span",null,[l("分钟")])," "]),u("p",{class:de.dotSub},[l("平均训练时长 ")])]),u("div",{class:de.itemBottomDot},[u("p",{class:de.dotMain},[i.userTrainOverView.trainNum||0,u("span",null,[l("次")])," "]),u("p",{class:de.dotSub},[l("累计训练次数 ")])])])]}})]),u("img",{class:de.bgImg,src:S},null),u("div",{class:de.trainWeek},[u("div",{class:de.trainTitle},[u("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAAAeCAMAAADTjObKAAAAqFBMVEUAAAATExQVFRYTFBQTFBUSFBQSEhYSFhcTExMSFBUUFBQTFBQTFBUTFBUTExUTExUTFBYSFBUTExUTFRURFBYRERcPDw8TExUSExQSExULEBUTExUNEhITFBQSExQTExUTFBUTExUTFBYSFBQTFBUSFBQTFBQSFBUTExUTFBUSFBQTFBQSExQSEhUTFBQSFBUSFBUTExMSFBUTFBQTExMTExQTFBUTFBXVG1rbAAAAN3RSTlMA4i675W9DITXBM6T5qbeFjmJcejkeEJL80gh4E1judPRoFshsZD/NoJVKsIop15lSDN1/GU6T37L51QAAA+VJREFUSMell+16sjAMhqtTeBW/p6IIAuqECYpOHed/Zm+StlbKYF7Xnh8unWlyN6YRGSjNssxAw+h0OiMmdIRFXy7sLPt0hJ3AG2P2J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YOlvqDOmVQDB6Y3aTAFgwe6MrXgPMmP1JKMGYIUrj8bu14UDrDPMu5Vdd4G75DwApvEwPDRddOj1ek0FcIBln8/BPtNVDdDADycV5/wWLU4vExCASN3gl5fPyrp1UU0mNQXNmK6Zctp0SQ6ZQnRuMv4DLiKZed2IcmEAAAAASUVORK5CYII="},null),u("span",{class:de.timeRange,onClick:function(){return i.showPopoverTime=!0}},[s(_.startTime).format("YYYY-MM-DD"),l("至"),s(_.endTime).format("YYYY-MM-DD"),u("i",{class:de.iconArrow},null)])]),u("div",{class:de.TrainDataTopRight},[u("div",{onClick:function(){a.value=!a.value,ge.legend.selected["训练时长"]=a.value,i.myChart.setOption(ge)},class:[de.DataTopRightItem,a.value?"":de.DataTopRightItemDis]},[u("div",{class:de.DataTopRightDot},null),u("p",null,[l("训练时长")])]),u("div",{onClick:function(){o.value=!o.value,ge.legend.selected["使用次数"]=o.value,i.myChart.setOption(ge)},class:[de.DataTopRightItem,o.value?"":de.DataTopRightItemDis]},[u("div",{class:[de.DataTopRightDot,de.red]},null),u("p",null,[l("使用次数")])])]),u("div",{id:"exerciseWeek",class:de.exerciseWeek},null)]),W.value?u($,{modelValue:m.value,"onUpdate:modelValue":function(e){return m.value=e},onRefresh:j,class:de.fullRefresh},{default:function(){return[u(v,{"loading-text":" ",finished:Y.value,"finished-text":" ",onLoad:F,style:{overflow:"hidden"}},(t=e=C.value.map((function(e){return u(pe,{item:e},null)})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!x(t)?e:{default:function(){return[e]}}))];var t}}):u("div",{class:de.emptyContainer},[u(A,{tips:"暂无学练统计",classImgSize:"SMALL",btnStatus:!1},null)]),u(D,{show:i.showPopoverTime,"onUpdate:show":function(e){return i.showPopoverTime=e},firstDayOfWeek:1,showConfirm:!1,type:"range",title:"周期选择",maxRange:7,minDate:new Date("2023-02-27"),defaultDate:[s(_.startTime).toDate(),s(_.endTime).toDate()],style:{height:"70%"},onSelect:function(e){if(_.startTime="",_.endTime="",!s(e[0]).isBetween(s(_.startTime),s(_.endTime))){var t=s(e[0]).day();0===t?(_.startTime=s(e[0]).subtract(6,"day").format("YYYY-MM-DD"),_.endTime=s(e[0]).format("YYYY-MM-DD")):1===t?(_.startTime=s(e[0]).format("YYYY-MM-DD"),_.endTime=s(e[0]).add(6,"day").format("YYYY-MM-DD")):(_.startTime=s(e[0]).subtract(t-1,"day").format("YYYY-MM-DD"),_.endTime=s(e[0]).add(7-t,"day").format("YYYY-MM-DD"))}i.showPopoverTime=!1,m.value=!0,F()}},null)])}}}))}}}))}();