exercis-detail-legacy.26c3b418.js 28 KB

1
  1. !function(){function e(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function t(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?e(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,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 r(e,t,i,r,n,a,o){try{var m=e[a](o),l=m.value}catch(_){return void i(_)}m.done?t(l):Promise.resolve(l).then(r,n)}function n(e){return function(){var t=this,i=arguments;return new Promise((function(n,a){var o=e.apply(t,i);function m(e){r(o,n,a,m,l,"next",e)}function l(e){r(o,n,a,m,l,"throw",e)}m(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,r=new Array(t);i<t;i++)r[i]=e[i];return r}var m=document.createElement("style");m.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_r2mhi_1 .van-calendar__day--end,._exercisContainer_r2mhi_1 .van-calendar__day--start,._exercisContainer_r2mhi_1 .van-calendar__day--start-end,._exercisContainer_r2mhi_1 .van-calendar__day--multiple-middle,._exercisContainer_r2mhi_1 .van-calendar__day--multiple-selected{background:#FF5074}._exercisContainer_r2mhi_1 .van-overlay,._exercisContainer_r2mhi_1 .van-popup{z-index:99999999!important}._exercisContainer_r2mhi_1 ._bgImg_r2mhi_12{position:fixed;top:0;left:0;width:100%;height:5.70667rem;z-index:-1}._userMember_r2mhi_20{background-color:transparent!important;width:auto;padding:0;padding:.48rem}._userMember_r2mhi_20 ._level_r2mhi_26{width:1.17333rem;height:.45333rem}._userMember_r2mhi_20 ._userImgSection_r2mhi_30{position:relative;padding:.08rem;background:#fff;margin-right:.32rem;border-radius:50%}._userMember_r2mhi_20 ._userImgSection_r2mhi_30:before{content:" ";position:absolute;left:.02667rem;top:.02667rem;bottom:.02667rem;right:.02667rem;background-color:#fff;border-radius:50%}._userMember_r2mhi_20 ._userImg_r2mhi_30{width:1.22667rem;height:1.22667rem;border-radius:50%;vertical-align:middle;overflow:hidden}._userMember_r2mhi_20 ._userInfo_r2mhi_54{display:flex;align-items:center;color:#fff;padding-bottom:.13333rem}._userMember_r2mhi_20 ._userInfo_r2mhi_54 ._name_r2mhi_60{padding-right:.13333rem;max-width:2.66667rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.48rem;font-weight:600;color:#742626}._userMember_r2mhi_20 ._timeRemaining_r2mhi_70{margin-top:0;font-size:.37333rem;color:silver}._userMember_r2mhi_20 ._subjectTag_r2mhi_75{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_r2mhi_20 ._subjectTag_r2mhi_75 ._iconSubject_r2mhi_87{width:.34667rem;height:.34667rem;margin-right:.10667rem}._itemBottom_r2mhi_92{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_r2mhi_92 ._itemBottomDot_r2mhi_103{width:25%}._itemBottom_r2mhi_92 ._itemBottomDot_r2mhi_103 ._dotMain_r2mhi_106{font-size:.64rem;color:#333;line-height:.8rem;margin-bottom:.10667rem;font-family:DINAlternate-Bold,DINAlternate;font-weight:700}._itemBottom_r2mhi_92 ._itemBottomDot_r2mhi_103 ._dotMain_r2mhi_106 span{margin-left:.02667rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._itemBottom_r2mhi_92 ._itemBottomDot_r2mhi_103 ._dotSub_r2mhi_121{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._topWrap_r2mhi_127 .van-sticky{background:url(./assets/bg-image.e89554da.png) no-repeat top center;background-size:100% 5.70667rem;z-index:99999999}._topWrap_r2mhi_127 ._topInfoRight_r2mhi_132{margin-bottom:.48rem;padding:0 10%;display:flex;flex-direction:row;align-items:center;justify-content:center}._topWrap_r2mhi_127 ._topInfoRight_r2mhi_132 ._infoDay_r2mhi_140,._topWrap_r2mhi_127 ._topInfoRight_r2mhi_132 ._infoTime_r2mhi_141{width:50%}._topWrap_r2mhi_127 ._topInfoRight_r2mhi_132 ._infoDay_r2mhi_140{position:relative;margin-right:.53333rem}._topWrap_r2mhi_127 ._topInfoRight_r2mhi_132 ._infoDay_r2mhi_140:after{position:absolute;content:" ";right:-.32rem;top:.32rem;width:.02667rem;height:.93333rem;background-color:#e0e5e8}._topWrap_r2mhi_127 ._topInfoRight_r2mhi_132 ._infoDayMain_r2mhi_157{font-size:.64rem;color:#333;line-height:.74667rem;margin-bottom:.18667rem;font-family:DINAlternate-Bold,DINAlternate;font-weight:600;text-align:center}._topWrap_r2mhi_127 ._topInfoRight_r2mhi_132 ._infoDayMain_r2mhi_157 span{margin-left:.05333rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._topWrap_r2mhi_127 ._topInfoRight_r2mhi_132 ._infoDaysub_r2mhi_173{display:flex;align-items:center;justify-content:center;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem;text-align:center}._topWrap_r2mhi_127 ._topInfoRight_r2mhi_132 ._infoDaysub_r2mhi_173 img{width:.37333rem;height:.37333rem;margin-right:.08rem}._trainWeek_r2mhi_188{margin:.4rem .34667rem .32rem;min-height:7.12rem;background-color:#fff;border-radius:.26667rem;padding:.53333rem .4rem}._trainWeek_r2mhi_188 ._exerciseWeek_r2mhi_195{height:5.33333rem}._trainWeek_r2mhi_188 ._TrainDataTopRight_r2mhi_198{display:flex;align-items:center;margin-bottom:.48rem}._trainWeek_r2mhi_188 ._DataTopRightItem_r2mhi_203{display:flex;align-items:center;font-size:.34667rem;color:#777;line-height:1}._trainWeek_r2mhi_188 ._DataTopRightItem_r2mhi_203:first-child{margin-right:.53333rem}._trainWeek_r2mhi_188 ._DataTopRightItem_r2mhi_203:first-child ._DataTopRightDot_r2mhi_213{background-color:#ff7aa7}._trainWeek_r2mhi_188 ._DataTopRightItem_r2mhi_203:last-child ._DataTopRightDot_r2mhi_213{background-color:#3583fa}._trainWeek_r2mhi_188 ._DataTopRightItem_r2mhi_203._DataTopRightItemDis_r2mhi_219 ._DataTopRightDot_r2mhi_213{background-color:#e8e8e8!important}._trainWeek_r2mhi_188 ._DataTopRightItem_r2mhi_203 ._DataTopRightDot_r2mhi_213{width:.32rem;height:.32rem;border-radius:.05333rem;background-color:#ccc;margin-right:.10667rem}._trainWeek_r2mhi_188 ._trainTitle_r2mhi_229{display:flex;align-items:center;justify-content:space-between;padding-bottom:.42667rem}._trainWeek_r2mhi_188 ._trainTitle_r2mhi_229 img{width:1.70667rem;height:.4rem}._trainWeek_r2mhi_188 ._trainTitle_r2mhi_229 ._timeRange_r2mhi_239{display:flex;align-items:center;font-size:.37333rem;color:#131415}._trainWeek_r2mhi_188 ._trainTitle_r2mhi_229 ._timeRange_r2mhi_239 ._iconArrow_r2mhi_245{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_r2mhi_253{min-height:calc(100vh - var(--header-height) - 7.33333rem)}._emptyContainer_r2mhi_256{height:calc(100vh - var(--header-height) - 7.33333rem);display:flex;align-items:center}\n',document.head.appendChild(m),System.register(["./index-legacy.e29ebc18.js","./index-legacy.0389f2f7.js","./index-legacy.bd25e127.js","./index-legacy.36cf8cfa.js","./index-legacy.53edf52b.js","./index-legacy.06d9aa13.js","./index-legacy.99c051ef.js","./index-legacy.2cebfa6d.js","./index-legacy.328e8c31.js","./bg-image-legacy.44e2b3db.js","./icon_student-legacy.45be2fa9.js","./icon-logo-legacy.70c50c7d.js","./installCanvasRenderer-legacy.b4ce6dcb.js","./use-tab-status-legacy.4656d4d6.js","./use-refs-legacy.023819b4.js","./utils-legacy.e1f8a966.js","./use-height-legacy.ea04c122.js","./index-legacy.8ab2848d.js","./index-legacy.ec3a5bfc.js"],(function(e){"use strict";var i,r,o,m,l,_,s,u,c,h,p,d,g,f,A,b,v,T,y,D,w,B,x,R,I,S,M,U,E,k,Y,C,W,j,F,O,N,P,Q,V,L,H,q,G,z,Z;return{setters:[function(e){e.bb,i=e.d,r=e.Q,o=e.a2,m=e.j,l=e.F,_=e.z,s=e.M,u=e.n,c=e.u,h=e.O,p=e.S,d=e.V,g=e.g,f=e.U,A=e.C,b=e.Z,v=e.w,T=e.W,y=e.bG},function(e){D=e.L},function(e){w=e.I},function(){},function(e){B=e.C},function(e){x=e.C},function(e){R=e.P},function(e){I=e.T},function(e){S=e.C},function(e){M=e.b},function(e){U=e.i},function(e){E=e.i,k=e.b},function(e){Y=e.u,C=e.i,W=e.a,j=e.b,F=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,r,n){var a=i(e),o=i(t),m="("===(n=n||"()")[0],l=")"===n[1];return(m?this.isAfter(a,r):!this.isBefore(a,r))&&(l?this.isBefore(o,r):!this.isAfter(o,r))||(m?this.isBefore(a,r):!this.isAfter(a,r))&&(l?this.isAfter(o,r):!this.isBefore(o,r))}};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,n=t.slots,a=r({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 m(R,{modelValue:a.fullState,"onUpdate:modelValue":function(e){return a.fullState=e},onRefresh:function(){return i("refresh")},loadingText:" ",class:K},{default:function(){return m(l,null,[_(" "),n.default&&n.default()])}})}}}),ee="_itemWrap_pnh2u_1",te="_itemTop_pnh2u_7",ie="_itemTopLeft_pnh2u_15",re="_itemTopMain_pnh2u_15",ne="_iconPlay_pnh2u_32",ae="_itemTopSub_pnh2u_39",oe="_itemTopRight_pnh2u_45",me="_imgWrap_pnh2u_50",le="_imgIcon_pnh2u_60",_e="_itemBottom_pnh2u_65",se="_itemBottomDot_pnh2u_73",ue="_dotMain_pnh2u_76",ce="_dotSub_pnh2u_91",he={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;u({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 m("div",{class:ee,onClick:i},[m("div",{class:te},[m("div",{class:ie},[m("p",{class:re},[m("span",null,[e.item.sysMusicScoreName]),e.item.videoFilePath&&m(s,{class:ne,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)]),m("p",{class:ae},[e.item.createTime])]),m("div",{class:oe},[m("div",{class:me},[m("img",{src:he[t(e.item.score||0)].img,alt:""},null)]),m(s,{name:"arrow",class:le},null)])]),m("div",{class:_e},[m("div",{class:se},[m("p",{class:ue,style:{color:"#ff5a56"}},[e.item.score||0,m("span",null,[_("分")])," "]),m("p",{class:ce},[_(" 综合得分")])]),m("div",{class:se},[m("p",{class:ue},[e.item.intonation||0,m("span",null,[_("分")])," "]),m("p",{class:ce},[_("音准 ")])]),m("div",{class:se},[m("p",{class:ue},[e.item.cadence||0,m("span",null,[_("分")])," "]),m("p",{class:ce},[_("节奏 ")])]),m("div",{class:se},[m("p",{class:ue},[e.item.integrity||0,m("span",null,[_("分")])," "]),m("p",{class:ce},[_("完成度 ")])])])])}}}),de={exercisContainer:"_exercisContainer_r2mhi_1",bgImg:"_bgImg_r2mhi_12",userMember:"_userMember_r2mhi_20",level:"_level_r2mhi_26",userImgSection:"_userImgSection_r2mhi_30",userImg:"_userImg_r2mhi_30",userInfo:"_userInfo_r2mhi_54",name:"_name_r2mhi_60",timeRemaining:"_timeRemaining_r2mhi_70",subjectTag:"_subjectTag_r2mhi_75",iconSubject:"_iconSubject_r2mhi_87",itemBottom:"_itemBottom_r2mhi_92",itemBottomDot:"_itemBottomDot_r2mhi_103",dotMain:"_dotMain_r2mhi_106",dotSub:"_dotSub_r2mhi_121",topWrap:"_topWrap_r2mhi_127",topInfoRight:"_topInfoRight_r2mhi_132",infoDay:"_infoDay_r2mhi_140",infoTime:"_infoTime_r2mhi_141",infoDayMain:"_infoDayMain_r2mhi_157",infoDaysub:"_infoDaysub_r2mhi_173",trainWeek:"_trainWeek_r2mhi_188",exerciseWeek:"_exerciseWeek_r2mhi_195",TrainDataTopRight:"_TrainDataTopRight_r2mhi_198",DataTopRightItem:"_DataTopRightItem_r2mhi_203",DataTopRightDot:"_DataTopRightDot_r2mhi_213",DataTopRightItemDis:"_DataTopRightItemDis_r2mhi_219",trainTitle:"_trainTitle_r2mhi_229",timeRange:"_timeRange_r2mhi_239",iconArrow:"_iconArrow_r2mhi_245",fullRefresh:"_fullRefresh_r2mhi_253",emptyContainer:"_emptyContainer_r2mhi_256"},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:"5%",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}};c.extend(J),Y([C,W,j,F,O,N,P,Q,V,L,H,q,G,z]);e("default",i({name:"exercis-detail",setup:function(){var e=h(),i=r({showPopoverTime:!1,currentDate:[c().format("YYYY"),c().format("MM")],isClick:!1,practiceMonthName:e.query.practiceMonthName?e.query.practiceMonthName:c().format("YYYY")+"年"+c().format("MM")+"月",userTrainOverView:{trainDays:0,trainNum:0,trainTime:0,avgTrainTime:0},userTrainChartData:[],myChart:null}),a=p(!0),o=p(!0),l=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,subjectName:null==e?void 0:e.subjectName,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}})),s=r({startTime:c().day(1).format("YYYY-MM-DD"),endTime:c().day(7).format("YYYY-MM-DD"),page:1,rows:20}),u=p(!1),R=p(!1),Y=p(!1),C=p(!1),W=p([]),j=function(){var e=n(regeneratorRuntime.mark((function e(){var r,n;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,u.value&&(W.value=[],s.page=1,u.value=!1),e.prev=4,e.next=7,v.get("/api-student/sysMusicRecord/studentTrainDataByWeek",{params:t({},s)});case 7:if(r=e.sent,1===(n=r.data).detail.pageNo&&(i.userTrainOverView=n.userTrainOverView),!(W.value.length>0&&1===n.detail.pageNo)){e.next=12;break}return e.abrupt("return");case 12:i.userTrainChartData=n.userTrainChartData||[],W.value=W.value.concat(n.detail.rows||[]),s.page=n.detail.pageNo+1,C.value=W.value.length>0,R.value=!1,Y.value=n.detail.pageNo>=n.detail.totalPage,e.next=24;break;case 20:e.prev=20,e.t0=e.catch(4),C.value=!1,Y.value=!0;case 24:i.isClick=!1,T((function(){if(document.getElementById("exerciseWeek")){i.myChart=y(Z(document.getElementById("exerciseWeek")));var e=[],t=[];i.userTrainChartData.forEach((function(i){var r=i.indexMonthData||[];"CLOUD_STUDY_TRAIN_TIME"===i.dataType?r.forEach((function(t){e.push(t.percent)})):"CLOUD_STUDY_TRAIN_NUM"===i.dataType&&r.forEach((function(e){t.push(e.percent)}))})),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)}}(),F=function(){Y.value=!1,R.value=!0,j()};return f(n(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,j();case 2:case"end":return e.stop()}}),e)})))),function(){var e;return m("div",{class:[de.exercisContainer]},[m("div",{class:de.topWrap},[m(I,{position:"top"},{default:function(){return[m(S,{border:!1,background:"transparent",color:"#333333"},null),m(x,{class:de.userMember,labelClass:de.timeRemaining,border:!1},{icon:function(){return m("div",{class:de.userImgSection},[m(w,{class:de.userImg,src:l.value.avatar||U,fit:"cover"},null)])},title:function(){return m("div",{class:de.userInfo},[m("span",{class:de.name},[l.value.username]),m(w,{class:de.level,src:l.value.isVip?E:k},null)])},label:function(){return m("div",{class:de.subjectName},[m("span",{class:de.subjectTag},[m("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAA8NJREFUSEudlk9oFHcUx7/vvVm75uIhtYeCl4LRUl2KJdGYv0XFP1QPBQ+xm91UIxUP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jOm29+0PwLiH4Bf/TWzQw/CAS5d4HTqSLdQSiO8Du5aRWrIdBCtZjWJju8ypJBPnADdlOgD6B2Kul6roViXpHtkkQ7aVjQ9Nxg514r/OBm3peh1HcDKFOiLUUTPXOFmD8A8ENsE5hHn1Dx4eu1VpTTwGDSqfAEofCRAAAAABJRU5ErkJggg==",class:de.iconSubject},null),l.value.subjectName])])}}),m("div",{class:de.itemBottom},[m("div",{class:de.itemBottomDot},[m("p",{class:de.dotMain},[i.userTrainOverView.trainTime||0,m("span",null,[_("分钟")])," "]),m("p",{class:de.dotSub},[_(" 累计练习时长")])]),m("div",{class:de.itemBottomDot},[m("p",{class:de.dotMain},[i.userTrainOverView.trainDays||0,m("span",null,[_("天")])," "]),m("p",{class:de.dotSub},[_("累计练习天数 ")])]),m("div",{class:de.itemBottomDot},[m("p",{class:de.dotMain},[i.userTrainOverView.avgTrainTime||0,m("span",null,[_("分钟")])," "]),m("p",{class:de.dotSub},[_("平均训练时长 ")])]),m("div",{class:de.itemBottomDot},[m("p",{class:de.dotMain},[i.userTrainOverView.trainNum||0,m("span",null,[_("次")])," "]),m("p",{class:de.dotSub},[_("累计训练次数 ")])])])]}})]),m("img",{class:de.bgImg,src:M},null),m("div",{class:de.trainWeek},[m("div",{class:de.trainTitle},[m("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAAAeCAMAAADTjObKAAAAqFBMVEUAAAATExQVFRYTFBQTFBUSFBQSEhYSFhcTExMSFBUUFBQTFBQTFBUTFBUTExUTExUTFBYSFBUTExUTFRURFBYRERcPDw8TExUSExQSExULEBUTExUNEhITFBQSExQTExUTFBUTExUTFBYSFBQTFBUSFBQTFBQSFBUTExUTFBUSFBQTFBQSExQSEhUTFBQSFBUSFBUTExMSFBUTFBQTExMTExQTFBUTFBXVG1rbAAAAN3RSTlMA4i675W9DITXBM6T5qbeFjmJcejkeEJL80gh4E1judPRoFshsZD/NoJVKsIop15lSDN1/GU6T37L51QAAA+VJREFUSM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BxPTwqwN4uVS3g4Ahf94kDEt+m4U6gL14AITrdV4AcCLhlRUAeh/oZ9cAGBA0otJT7BZ/VDUpeglAOPGsRQALr+E9wIgKYOlvqDOmVQDB6Y3aTAFgwe6MrXgPMmP1JKMGYIUrj8bu14UDrDPMu5Vdd4G75DwApvEwPDRddOj1ek0FcIBln8/BPtNVDdDADycV5/wWLU4vExCASN3gl5fPyrp1UU0mNQXNmK6Zctp0SQ6ZQnRuMv4DLiKZed2IcmEAAAAASUVORK5CYII="},null),m("span",{class:de.timeRange,onClick:function(){return i.showPopoverTime=!0}},[c(s.startTime).format("YYYY-MM-DD"),_("至"),c(s.endTime).format("YYYY-MM-DD"),m("i",{class:de.iconArrow},null)])]),m("div",{class:de.TrainDataTopRight},[m("div",{onClick:function(){a.value=!a.value,ge.legend.selected["训练时长"]=a.value,i.myChart.setOption(ge)},class:[de.DataTopRightItem,a.value?"":de.DataTopRightItemDis]},[m("div",{class:de.DataTopRightDot},null),m("p",null,[_("训练时长")])]),m("div",{onClick:function(){o.value=!o.value,ge.legend.selected["使用次数"]=o.value,i.myChart.setOption(ge)},class:[de.DataTopRightItem,o.value?"":de.DataTopRightItemDis]},[m("div",{class:[de.DataTopRightDot,de.red]},null),m("p",null,[_("使用次数")])])]),m("div",{id:"exerciseWeek",class:de.exerciseWeek},null)]),C.value?m($,{modelValue:u.value,"onUpdate:modelValue":function(e){return u.value=e},onRefresh:F,class:de.fullRefresh},{default:function(){return[m(D,{"loading-text":" ",finished:Y.value,"finished-text":" ",onLoad:j,style:{overflow:"hidden"}},(t=e=W.value.map((function(e){return m(pe,{item:e},null)})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!b(t)?e:{default:function(){return[e]}}))];var t}}):m("div",{class:de.emptyContainer},[m(A,{tips:"暂无学练统计",classImgSize:"SMALL",btnStatus:!1},null)]),m(B,{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:[c(s.startTime).toDate(),c(s.endTime).toDate()],style:{height:"70%"},onSelect:function(e){if(s.startTime="",s.endTime="",!c(e[0]).isBetween(c(s.startTime),c(s.endTime))){var t=c(e[0]).day();0===t?(s.startTime=c(e[0]).subtract(6,"day").format("YYYY-MM-DD"),s.endTime=c(e[0]).format("YYYY-MM-DD")):1===t?(s.startTime=c(e[0]).format("YYYY-MM-DD"),s.endTime=c(e[0]).add(6,"day").format("YYYY-MM-DD")):(s.startTime=c(e[0]).subtract(t-1,"day").format("YYYY-MM-DD"),s.endTime=c(e[0]).add(7-t,"day").format("YYYY-MM-DD"))}i.showPopoverTime=!1,u.value=!0,j()}},null)])}}}))}}}))}();