exercis-detail-legacy-f4dece64.js 22 KB

1
  1. !function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var r={},n=Object.prototype,i=n.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(W){u=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,a=Object.create(i.prototype),c=new L(n||[]);return o(a,"_invoke",{value:j(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(W){return{type:"throw",arg:W}}}r.wrap=f;var _={};function m(){}function h(){}function d(){}var g={};u(g,c,(function(){return this}));var v=Object.getPrototypeOf,w=v&&v(v(D([])));w&&w!==n&&i.call(w,c)&&(g=w);var y=d.prototype=m.prototype=Object.create(g);function x(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function b(e,r){function n(o,a,c,l){var s=p(e[o],e,a);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==t(f)&&i.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,c,l)}),(function(t){n("throw",t,c,l)})):r.resolve(f).then((function(t){u.value=t,c(u)}),(function(t){return n("throw",t,c,l)}))}l(s.arg)}var a;o(this,"_invoke",{value:function(t,e){function i(){return new r((function(r,i){n(t,e,r,i)}))}return a=a?a.then(i,i):i()}})}function j(t,e,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return k()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var c=I(a,r);if(c){if(c===_)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=p(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===_)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function I(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,I(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),_;var i=p(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,_;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,_):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,_)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function D(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:k}}function k(){return{value:void 0,done:!0}}return h.prototype=d,o(y,"constructor",{value:d,configurable:!0}),o(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,s,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,u(t,s,"GeneratorFunction")),t.prototype=Object.create(y),t},r.awrap=function(t){return{__await:t}},x(b.prototype),u(b.prototype,l,(function(){return this})),r.AsyncIterator=b,r.async=function(t,e,n,i,o){void 0===o&&(o=Promise);var a=new b(f(t,e,n,i),o);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(y),u(y,s,"Generator"),u(y,c,(function(){return this})),u(y,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=D,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,_):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),_},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),_}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;A(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:D(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),_}},r}function r(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function n(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function i(e,r,n){return(r=function(e){var r=function(e,r){if("object"!==t(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,r||"default");if("object"!==t(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"===t(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function o(t,e,r,n,i,o,a){try{var c=t[o](a),l=c.value}catch(s){return void r(s)}c.done?e(l):Promise.resolve(l).then(n,i)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function c(t){o(a,n,i,c,l,"next",t)}function l(t){o(a,n,i,c,l,"throw",t)}c(void 0)}))}}System.register(["./index-legacy-3319e5cb.js","./index-legacy-7e84b857.js","./index-legacy-e9299d93.js","./icon-student-legacy-26129689.js","./index-legacy-1152aa5b.js","./index-legacy-268de468.js","./index-legacy-e933a0df.js","./index-legacy-de3f1a36.js","./index-legacy-0fd72920.js","./index-legacy-8f78be4e.js","./index-legacy-ed993c86.js","./use-tab-status-legacy-3a2be5fe.js","./index-legacy-729da862.js"],(function(t,r){"use strict";var i,o,c,l,s,u,f,p,_,m,h,d,g,v,w,y,x,b,j,I,T,A,L,D,k,W,O,M,E,N,R=document.createElement("style");return R.textContent="._itemWrap_1txsl_1{background:#ffffff;border-radius:.26667rem;padding:.32rem .4rem .53333rem;margin:0 .34667rem .34667rem}._itemWrap_1txsl_1 ._itemTop_1txsl_7{display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-bottom:.02667rem solid #f2f2f2;padding-bottom:.32rem}._itemWrap_1txsl_1 ._itemTop_1txsl_7 ._itemTopLeft_1txsl_15 ._itemTopMain_1txsl_15{height:.58667rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;margin-bottom:.16rem}._itemWrap_1txsl_1 ._itemTop_1txsl_7 ._itemTopLeft_1txsl_15 ._itemTopSub_1txsl_23{font-size:.32rem!important;font-weight:400;color:#777;line-height:.45333rem}._itemWrap_1txsl_1 ._itemTop_1txsl_7 ._itemTopRight_1txsl_29{display:flex;flex-direction:row;align-items:center}._itemWrap_1txsl_1 ._itemTop_1txsl_7 ._itemTopRight_1txsl_29 ._imgWrap_1txsl_34{width:2.66667rem;height:.88rem;background:#e9e3ff;border-radius:.50667rem}._itemWrap_1txsl_1 ._itemTop_1txsl_7 ._itemTopRight_1txsl_29 ._imgWrap_1txsl_34 img{width:100%;height:100%}._itemWrap_1txsl_1 ._itemTop_1txsl_7 ._itemTopRight_1txsl_29 ._imgIcon_1txsl_44{font-size:.42667rem;color:#d8d8d8;margin-left:.16rem}._itemWrap_1txsl_1 ._itemBottom_1txsl_49{margin-top:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-around;text-align:center}._itemWrap_1txsl_1 ._itemBottom_1txsl_49 ._itemBottomDot_1txsl_57{width:25%}._itemWrap_1txsl_1 ._itemBottom_1txsl_49 ._itemBottomDot_1txsl_57 ._dotMain_1txsl_60{font-size:.69333rem;color:#333;line-height:.8rem;margin-bottom:.10667rem;font-family:DINAlternate-Bold,DINAlternate;font-weight:700}._itemWrap_1txsl_1 ._itemBottom_1txsl_49 ._itemBottomDot_1txsl_57 ._dotMain_1txsl_60 span{margin-left:.02667rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._itemWrap_1txsl_1 ._itemBottom_1txsl_49 ._itemBottomDot_1txsl_57 ._dotSub_1txsl_75{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._exercisContainer_15w7i_1{background:url("+new URL("detail-bg-59cae66a.png",r.meta.url).href+") top center / cover no-repeat;background-size:contain}._topWrap_15w7i_5{padding-bottom:.32rem}._topWrap_15w7i_5 ._topInfo_15w7i_8{padding:.90667rem .4rem .8rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap}._topWrap_15w7i_5 ._topInfo_15w7i_8 ._topInfoLeft_15w7i_16{width:50%;display:flex;flex-direction:row;align-items:center}._topWrap_15w7i_5 ._topInfo_15w7i_8 ._topInfoLeft_15w7i_16 ._headWrap_15w7i_22{flex-shrink:0;border-radius:50%;overflow:hidden;border:.05333rem solid #fff;margin-right:.4rem}._topWrap_15w7i_5 ._topInfo_15w7i_8 ._topInfoLeft_15w7i_16 ._headerImg_15w7i_29{width:1.6rem;height:1.6rem}._topWrap_15w7i_5 ._topInfo_15w7i_8 ._topInfoLeft_15w7i_16 ._infoMsg_15w7i_33 p{display:inline-block;width:2.4rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:.53333rem;font-weight:600;color:#000;line-height:.74667rem;margin-bottom:.16rem}._topWrap_15w7i_5 ._topInfo_15w7i_8 ._topInfoLeft_15w7i_16 ._infoMsg_15w7i_33 ._tag_15w7i_45{display:inline-block;padding:0 .29333rem;border:.02667rem solid #B7E0FE;background:#F5F5F5;border-radius:.32rem;font-size:.32rem;font-weight:500;color:#1cacf1;line-height:.58667rem;text-align:center}._topWrap_15w7i_5 ._topInfo_15w7i_8 ._topInfoRight_15w7i_57{display:flex;flex-direction:row;align-items:center;justify-content:flex-end}._topWrap_15w7i_5 ._topInfo_15w7i_8 ._topInfoRight_15w7i_57 ._infoDay_15w7i_63{margin-right:.53333rem}._topWrap_15w7i_5 ._topInfo_15w7i_8 ._topInfoRight_15w7i_57 ._infoDayMain_15w7i_66{font-size:.66667rem;color:#333;line-height:.74667rem;margin-bottom:.18667rem;font-family:DINAlternate-Bold,DINAlternate;font-weight:600;text-align:center}._topWrap_15w7i_5 ._topInfo_15w7i_8 ._topInfoRight_15w7i_57 ._infoDayMain_15w7i_66 span{margin-left:.05333rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._topWrap_15w7i_5 ._topInfo_15w7i_8 ._topInfoRight_15w7i_57 ._infoDaysub_15w7i_82{font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem;text-align:center}._topWrap_15w7i_5 ._chioseWrap_15w7i_89{display:flex;flex-direction:row;align-items:center;background-color:transparent;font-weight:500;color:#333;line-height:.53333rem;font-size:.37333rem}._select_15w7i_99{height:1.2rem}._select_15w7i_99 ._icon_15w7i_102{width:.48rem;height:.45333rem;margin-right:.10667rem;flex-shrink:0}._select_15w7i_99 .van-cell__title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._select_15w7i_99 .van-cell__right-icon{color:#333;transform:rotate(90deg);margin:0 0 0 .10667rem}\n",document.head.appendChild(R),{setters:[function(t){i=t.d,o=t.a,c=t.I,l=t.A,s=t.a5,u=t.U,f=t.x,p=t.a4,_=t.r,m=t.y,h=t.z,d=t.S,g=t.a0,v=t.V,w=t.a6,y=t.F,x=t.a1,b=t.D,j=t.M,I=t.Z},function(t){T=t.M},function(t){A=t.M,L=t.D},function(t){D=t.i},function(t){k=t.u,W=t.a},function(t){O=t.I},function(t){M=t.C},function(t){E=t.C},function(t){N=t.L},null,null,null,null],execute:function(){var R="_itemWrap_1txsl_1",B="_itemTop_1txsl_7",S="_itemTopLeft_1txsl_15",C="_itemTopMain_1txsl_15",z="_itemTopSub_1txsl_23",F="_itemTopRight_1txsl_29",P="_imgWrap_1txsl_34",Y="_imgIcon_1txsl_44",U="_itemBottom_1txsl_49",V="_itemBottomDot_1txsl_57",K="_dotMain_1txsl_60",G="_dotSub_1txsl_75",Q={1:{img:""+new URL("Image1-cbe96dac.png",r.meta.url).href,tips:"你的演奏不太好,音准和完整性还需加强,再练一练吧~",mome:"敢于尝试"},2:{img:""+new URL("Image2-0b12593f.png",r.meta.url).href,tips:"你的演奏还不熟练,音准和完整性还需加强,加紧训练才能有好成绩哦~",mome:"还要加油哦~"},3:{img:""+new URL("Image3-d7139ab6.png",r.meta.url).href,tips:"你的演奏还不流畅,音准和节奏还需加强,科学的练习才能更完美哦~",mome:"突破自我"},4:{img:""+new URL("Image4-4870f6bf.png",r.meta.url).href,tips:"你的演奏还不错,继续加油吧,加强音准,离完美就差一步啦~",mome:"崭露头角"},5:{img:""+new URL("Image5-150ad63a.png",r.meta.url).href,tips:"你的演奏非常不错,音准的把握和节奏稍有瑕疵,完整性把握的很好~",mome:"你很棒"}},X=i({props:["item"],name:"detail-item",setup:function(t){var e=function(t){if(!t&&"number"!=typeof t)return{};var e=1;return t>20&&t<=40?e=2:t>40&&t<=60?e=3:t>60&&t<=80?e=4:t>80&&(e=5),e},r=function(){var e=window.location.origin+"/instrument/#/evaluat-report?id=".concat(t.item.id);s({api:"openWebView",content:{url:e,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}})};return function(){return o("div",{class:R,onClick:r},[o("div",{class:B},[o("div",{class:S},[o("p",{class:C},[t.item.musicSheetName]),o("p",{class:z},[t.item.createTime])]),o("div",{class:F},[o("div",{class:P},[o("img",{src:Q[e(t.item.score||0)].img,alt:""},null)]),o(c,{name:"arrow",class:Y},null)])]),o("div",{class:U},[o("div",{class:V},[o("p",{class:K,style:{color:"#ff5a56"}},[t.item.score||0,o("span",null,[l("分")])," "]),o("p",{class:G},[l(" 综合得分")])]),o("div",{class:V},[o("p",{class:K},[t.item.intonation||0,o("span",null,[l("分")])," "]),o("p",{class:G},[l("音准 ")])]),o("div",{class:V},[o("p",{class:K},[t.item.cadence||0,o("span",null,[l("分")])," "]),o("p",{class:G},[l("节奏 ")])]),o("div",{class:V},[o("p",{class:K},[t.item.integrity||0,o("span",null,[l("分")])," "]),o("p",{class:G},[l("完成度 ")])])])])}}}),q={exercisContainer:"_exercisContainer_15w7i_1",topWrap:"_topWrap_15w7i_5",topInfo:"_topInfo_15w7i_8",topInfoLeft:"_topInfoLeft_15w7i_16",headWrap:"_headWrap_15w7i_22",headerImg:"_headerImg_15w7i_29",infoMsg:"_infoMsg_15w7i_33",tag:"_tag_15w7i_45",topInfoRight:"_topInfoRight_15w7i_57",infoDay:"_infoDay_15w7i_63",infoDayMain:"_infoDayMain_15w7i_66",infoDaysub:"_infoDaysub_15w7i_82",chioseWrap:"_chioseWrap_15w7i_89",select:"_select_15w7i_99",icon:"_icon_15w7i_102"};t("default",i({name:"exercis-detail",setup:function(){var t=u(),r=f({showPopoverTime:!1,currentDate:[p().format("YYYY"),p().format("MM")],isClick:!1,background:"transparent",color:"#fff",practiceMonthName:t.query.practiceMonthName?t.query.practiceMonthName:p().format("YYYY")+"年"+p().format("MM")+"月"}),i=f({practiceMonth:t.query.practiceMonth?t.query.practiceMonth:r.currentDate[0]+""+r.currentDate[1],page:1,rows:20}),c=_(!1),s=_(!1),R=_(!1),B=_(!1),S=_({}),C=_([]),z=function(){var t=a(e().mark((function t(){var o;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r.isClick){t.next=2;break}return t.abrupt("return");case 2:return r.isClick=!0,c.value&&(C.value=[],i.page=1,c.value=!1),t.prev=4,t.next=7,b.post("/edu-app/musicPracticeRecord/page",{data:n(n({},i),{},{feature:"EVALUATION"})});case 7:if(o=t.sent,!(C.value.length>0&&1===o.data.current)){t.next=10;break}return t.abrupt("return");case 10:C.value=C.value.concat(o.data.rows||[]),i.page=o.data.current+1,B.value=C.value.length>0,s.value=!1,R.value=o.data.current>=o.data.pages,t.next=21;break;case 17:t.prev=17,t.t0=t.catch(4),B.value=!1,R.value=!0;case 21:r.isClick=!1;case 22:case"end":return t.stop()}}),t,null,[[4,17]])})));return function(){return t.apply(this,arguments)}}(),F=function(){var t=a(e().mark((function t(){var r,i;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,b.get("/edu-app/student/detail",{params:{id:null===(r=j.user.data)||void 0===r?void 0:r.id}});case 3:i=t.sent,S.value=n({},i.data),t.next=9;break;case 7:t.prev=7,t.t0=t.catch(0);case 9:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(){return t.apply(this,arguments)}}(),P=_(),Y=_(0);m(a(e().mark((function t(){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return k(document,"scroll",(function(){W().y.value>52?(r.background="#fff",r.color="#323333"):(r.background="transparent",r.color="#fff")})),t.next=3,z();case 3:return t.next=5,F();case 5:h((function(){var t=I(P.value).height;Y.value=t}));case 6:case"end":return t.stop()}}),t)}))));var U=function(t){i.practiceMonth=t.selectedValues[0]+t.selectedValues[1],r.practiceMonthName=t.selectedValues[0]+"年"+t.selectedValues[1]+"月",r.showPopoverTime=!1,c.value=!0,z()},V=function(){R.value=!1,s.value=!0,z()};return function(){var t;return o(y,null,[o("div",{class:[q.exercisContainer]},[o("div",{class:q.topWrap,ref:P},[o(T,{position:"top"},{default:function(){return[o(d,{border:!1,background:r.background,color:r.color},null)]}}),o("div",{class:q.topInfo},[o("div",{class:q.topInfoLeft},[o("div",{class:q.headWrap},[o(O,{src:S.value.avatar?S.value.avatar:D,fit:"cover",class:q.headerImg},null)]),o("div",{class:q.infoMsg},[o("p",null,[S.value.nickname]),o("div",{class:q.tag},[S.value.subjectNames?S.value.subjectNames:"暂无声部"])])]),o("div",{class:q.topInfoRight},[o("div",{class:q.infoDay},[o("p",{class:q.infoDayMain},[S.value.practiceDays?S.value.practiceDays:0]),o("p",{class:q.infoDaysub},[l("练习天数(天)")])]),o("div",{class:q.infoTime},[o("p",{class:q.infoDayMain},[S.value.practiceTimes?Math.ceil(S.value.practiceTimes/60):0]),o("p",{class:q.infoDaysub},[l("练习时长(分钟)")])])])]),o(M,{inset:!0},{default:function(){return[o(E,{class:q.select,center:!0,isLink:!0,onClick:function(){return r.showPopoverTime=!0}},{icon:function(){return o("img",{class:q.icon,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAiCAYAAAA3WXuFAAAAAXNSR0IArs4c6QAAA8tJREFUWEftWFtoHFUY/v6za03a7IXEdbvd3baEUrDoi8178cGiIhKya/pQCj4IudQaKeIFUfIgSikBCVYDgooFhd2ZFGyJYCuG0Bcv9cUqoiiYnUjXoN3Z3ZjbzvllZjOT3bQazzKVgJ6nOfPfvvn+M/9/ziFsMnZ9uLhbrKz87KkJjBh9kXF7nsqZ+yDwgysj8HAhG33TkeXNB0GYcmWS+P5fMtFLm8WjmymkJyt3M7CfwBEAXSz5dIPeBwRyHDNwJ8CvejKis8SYdubE9zDjKVfGzGOCxLcSsiqAnwpXI19hlOTG+E2Aknr1GLF8CeB9m32JD/JrDDo91xUax31UW2fZfvqUg6nfq++C5VEfAim64OkFKXuv93eaDrFOvnVzHIwTip58VKcpIxt62M4zJXKlgwEhPgdY+BhB2ZUAH5nNRnOU0stvgflxZQ++G/CMkY0eopRm/gig23f/ig6ZqNbeXuyglFZeAvj2NfvPiOgTRV8tqzNzD4DDXq2S2/bYDLFXK4jG5jLhp1uOoGiYnqwcZylfbzDb/z+gRhLTmnmcgS3EUCuAdp3n7WKp/Iz7ZYKtS7P9nZedgpozO0F40iv7FLxQyO740p7foc8n2uS2AY+R2wK60dvxdRNDemWYWZ5RWkM7pyqx4B/yV89I0HNGX/jUGqC/7PYJvXRvgOmKZ0eBo0am4/2tDShvDjNhCzHUCiCAKZbDDpfq+W4so4dWnTkzxfINsutXljHQU5eNsogdwHbPLoalxm2G/T6tVYYY8g2lNaRY65TUtyCg0hCD1BmKv3fNS1lx0Vjx0sJM8bNFLy3FdHzZS8soi3h3sd2lrNgWX0I/Wc2FsQVAt/K3T2qVQYJ0DgVrY/Ne9h8DVBokkBpDTutYLj/rtQ5BF2f7wuutQ2BkvXXgQiET+cKe79EXEhbXBr1kBAPaxtaR1FoApPQfKyon9coAsZzYuIaqQL24MTAxl40MKfptWT2tlU8yeMxzIFdT9hb2G4APOC+Jvjf6QneBbjxRthz1bwxTefMjEB6oq/CicTUSpvRkeYwln1xfB/RKIRN+4VYAaKpBevkxBt622089O3R+Lht+hHaeW9wbtFa+A+Bu9G2qpokoD1i/+Q2MIUKQ8iEQ9boH1XpyxKFCJjRTP7lq1RHAes3v4Ar+zhjZyBMOMNcomS89T0QvA/hXT7AETBS6wifcltN0+5E4t3AwYNVeBOgwwF4fUvjSf6TKQI2YZgjyVOHR6MeNRje9H9r7DretRiq7BQfs+yFfx6olFyx0zM73k11ubhh/ArRgQeQlxXpVAAAAAElFTkSuQmCC"},null)},title:function(){return o("div",{class:"van-ellipsis"},[r.practiceMonthName])}})]}})]),B.value?o(A,{modelValue:c.value,"onUpdate:modelValue":function(t){return c.value=t},onRefresh:V,style:{minHeight:"calc(100vh - ".concat(Y.value,"px)")}},{default:function(){return[o(N,{"loading-text":" ",finished:R.value,"finished-text":" ",onLoad:z},(e=t=C.value.map((function(t){return o(X,{item:t},null)})),"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!x(e)?t:{default:function(){return[t]}}))];var e}}):o(g,{description:"暂无练习统计",style:{height:"calc(100vh - ".concat(Y.value,"px)")}},null)]),o(v,{show:r.showPopoverTime,"onUpdate:show":function(t){return r.showPopoverTime=t},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[o(L,{onCancel:function(){r.showPopoverTime=!1},onConfirm:U,modelValue:r.currentDate,"onUpdate:modelValue":function(t){return r.currentDate=t},formatter:w,columnsType:["year","month"]},null)]}})])}}}))}}}))}();