exercis-detail-legacy-6a626352.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,o=n.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(k){s=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,a=Object.create(o.prototype),c=new I(n||[]);return i(a,"_invoke",{value:z(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(k){return{type:"throw",arg:k}}}r.wrap=p;var _={};function m(){}function h(){}function d(){}var g={};s(g,c,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(A([])));y&&y!==n&&o.call(y,c)&&(g=y);var w=d.prototype=m.prototype=Object.create(g);function b(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function x(e,r){function n(i,a,c,l){var u=f(e[i],e,a);if("throw"!==u.type){var s=u.arg,p=s.value;return p&&"object"==t(p)&&o.call(p,"__await")?r.resolve(p.__await).then((function(t){n("next",t,c,l)}),(function(t){n("throw",t,c,l)})):r.resolve(p).then((function(t){s.value=t,c(s)}),(function(t){return n("throw",t,c,l)}))}l(u.arg)}var a;i(this,"_invoke",{value:function(t,e){function o(){return new r((function(r,o){n(t,e,r,o)}))}return a=a?a.then(o,o):o()}})}function z(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return D()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=j(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=f(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 j(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,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),_;var o=f(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,_;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,_):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,_)}function L(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 T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function A(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(o.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:D}}function D(){return{value:void 0,done:!0}}return h.prototype=d,i(w,"constructor",{value:d,configurable:!0}),i(d,"constructor",{value:h,configurable:!0}),h.displayName=s(d,u,"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,s(t,u,"GeneratorFunction")),t.prototype=Object.create(w),t},r.awrap=function(t){return{__await:t}},b(x.prototype),s(x.prototype,l,(function(){return this})),r.AsyncIterator=x,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new x(p(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(w),s(w,u,"Generator"),s(w,c,(function(){return this})),s(w,"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=A,I.prototype={constructor:I,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(T),!t)for(var e in this)"t"===e.charAt(0)&&o.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 i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.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&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.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),T(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 o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:A(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){o(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 o(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 o=n.call(e,r||"default");if("object"!==t(o))return o;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 i(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(u){return void r(u)}c.done?e(l):Promise.resolve(l).then(n,o)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function c(t){i(a,n,o,c,l,"next",t)}function l(t){i(a,n,o,c,l,"throw",t)}c(void 0)}))}}System.register(["./index-legacy-fff8b745.js","./index-legacy-49aff192.js","./index-legacy-443f05c6.js","./icon-student-legacy-26129689.js","./index-legacy-3f7db9dd.js","./index-legacy-c55612ee.js","./index-legacy-c8da8776.js","./index-legacy-f6b7c75c.js","./index-legacy-92beecd4.js","./index-legacy-d8ead9cb.js","./use-tab-status-legacy-45817f45.js"],(function(t,r){"use strict";var o,i,c,l,u,s,p,f,_,m,h,d,g,v,y,w,b,x,z,j,L,T,I,A,D,k,W,O,E,M;return{setters:[function(t){o=t.d,i=t.a,c=t.I,l=t.A,u=t.a4,s=t.U,p=t.x,f=t.a5,_=t.r,m=t.y,h=t.z,d=t.S,g=t.a0,v=t.V,y=t.a6,w=t.F,b=t.a1,x=t.D,z=t.M,j=t.Z},function(t){L=t.M},function(t){T=t.M,I=t.D},function(t){A=t.i},function(t){D=t.u,k=t.a},function(t){W=t.I},function(t){O=t.C},function(t){E=t.C},function(t){M=t.L},null,null],execute:function(){var R=document.createElement("style");R.textContent="._itemWrap_t9rtp_1{background:#ffffff;border-radius:.26667rem;padding:.32rem .4rem .53333rem;margin:0 .34667rem .34667rem}._itemWrap_t9rtp_1 ._itemTop_t9rtp_7{display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-bottom:.02667rem solid #f2f2f2;padding-bottom:.32rem}._itemWrap_t9rtp_1 ._itemTop_t9rtp_7 ._itemTopLeft_t9rtp_15 ._itemTopMain_t9rtp_15{height:.58667rem;font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem;margin-bottom:.16rem}._itemWrap_t9rtp_1 ._itemTop_t9rtp_7 ._itemTopLeft_t9rtp_15 ._itemTopSub_t9rtp_23{font-size:.32rem!important;font-weight:400;color:#777;line-height:.45333rem}._itemWrap_t9rtp_1 ._itemTop_t9rtp_7 ._itemTopRight_t9rtp_29{display:flex;flex-direction:row;align-items:center}._itemWrap_t9rtp_1 ._itemTop_t9rtp_7 ._itemTopRight_t9rtp_29 ._imgWrap_t9rtp_34{width:2.66667rem;height:.88rem;background:#e9e3ff;border-radius:.50667rem}._itemWrap_t9rtp_1 ._itemTop_t9rtp_7 ._itemTopRight_t9rtp_29 ._imgWrap_t9rtp_34 img{width:100%;height:100%}._itemWrap_t9rtp_1 ._itemTop_t9rtp_7 ._itemTopRight_t9rtp_29 ._imgIcon_t9rtp_44{font-size:.42667rem;color:#d8d8d8;margin-left:.16rem}._itemWrap_t9rtp_1 ._itemBottom_t9rtp_49{margin-top:.4rem;display:flex;flex-direction:row;align-items:center;justify-content:space-around;text-align:center}._itemWrap_t9rtp_1 ._itemBottom_t9rtp_49 ._itemBottomDot_t9rtp_57{width:25%}._itemWrap_t9rtp_1 ._itemBottom_t9rtp_49 ._itemBottomDot_t9rtp_57 ._dotMain_t9rtp_60{font-size:.69333rem;color:#333;line-height:.8rem;margin-bottom:.10667rem;font-family:DINA;font-weight:700}._itemWrap_t9rtp_1 ._itemBottom_t9rtp_49 ._itemBottomDot_t9rtp_57 ._dotMain_t9rtp_60 span{margin-left:.02667rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._itemWrap_t9rtp_1 ._itemBottom_t9rtp_49 ._itemBottomDot_t9rtp_57 ._dotSub_t9rtp_75{font-size:.32rem;font-weight:400;color:#777;line-height:.45333rem}._exercisContainer_2c7tz_1{background:url("+new URL("detail-bg-59cae66a.png",r.meta.url).href+") top center / cover no-repeat;background-size:contain}._topWrap_2c7tz_5{margin-bottom:.32rem}._topWrap_2c7tz_5 ._topInfo_2c7tz_8{padding:.90667rem .4rem .8rem;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap}._topWrap_2c7tz_5 ._topInfo_2c7tz_8 ._topInfoLeft_2c7tz_16{width:50%;display:flex;flex-direction:row;align-items:center}._topWrap_2c7tz_5 ._topInfo_2c7tz_8 ._topInfoLeft_2c7tz_16 ._headWrap_2c7tz_22{flex-shrink:0;border-radius:50%;overflow:hidden;border:.05333rem solid #fff;margin-right:.4rem}._topWrap_2c7tz_5 ._topInfo_2c7tz_8 ._topInfoLeft_2c7tz_16 ._infoMsg_2c7tz_29 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_2c7tz_5 ._topInfo_2c7tz_8 ._topInfoLeft_2c7tz_16 ._infoMsg_2c7tz_29 ._tag_2c7tz_41{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_2c7tz_5 ._topInfo_2c7tz_8 ._topInfoRight_2c7tz_53{width:50%;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}._topWrap_2c7tz_5 ._topInfo_2c7tz_8 ._topInfoRight_2c7tz_53 ._infoDay_2c7tz_60{margin-right:.8rem}._topWrap_2c7tz_5 ._topInfo_2c7tz_8 ._topInfoRight_2c7tz_53 ._infoDayMain_2c7tz_63{font-size:.66667rem;color:#333;line-height:.74667rem;margin-bottom:.18667rem;font-family:DINA;font-weight:600;text-align:center}._topWrap_2c7tz_5 ._topInfo_2c7tz_8 ._topInfoRight_2c7tz_53 ._infoDayMain_2c7tz_63 span{margin-left:.05333rem;font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem}._topWrap_2c7tz_5 ._topInfo_2c7tz_8 ._topInfoRight_2c7tz_53 ._infoDaysub_2c7tz_79{font-size:.32rem;font-weight:400;color:#333;line-height:.45333rem;text-align:center}._topWrap_2c7tz_5 ._chioseWrap_2c7tz_86{display:flex;flex-direction:row;align-items:center;background-color:transparent;font-weight:500;color:#333;line-height:.53333rem;font-size:.37333rem}._select_2c7tz_96{height:1.2rem}._select_2c7tz_96 ._icon_2c7tz_99{width:.48rem;height:.45333rem;margin-right:.10667rem;flex-shrink:0}._select_2c7tz_96 .van-cell__title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._select_2c7tz_96 .van-cell__right-icon{color:#333;transform:rotate(90deg);margin:0 0 0 .10667rem}\n",document.head.appendChild(R);var S="_itemWrap_t9rtp_1",B="_itemTop_t9rtp_7",N="_itemTopLeft_t9rtp_15",C="_itemTopMain_t9rtp_15",F="_itemTopSub_t9rtp_23",P="_itemTopRight_t9rtp_29",Y="_imgWrap_t9rtp_34",U="_imgIcon_t9rtp_44",V="_itemBottom_t9rtp_49",G="_itemBottomDot_t9rtp_57",K="_dotMain_t9rtp_60",Q="_dotSub_t9rtp_75",X={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:"你很棒"}},q=o({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);u({api:"openWebView",content:{url:e,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}})};return function(){return i("div",{class:S,onClick:r},[i("div",{class:B},[i("div",{class:N},[i("p",{class:C},[t.item.musicSheetName]),i("p",{class:F},[t.item.createTime])]),i("div",{class:P},[i("div",{class:Y},[i("img",{src:X[e(t.item.score||0)].img,alt:""},null)]),i(c,{name:"arrow",class:U},null)])]),i("div",{class:V},[i("div",{class:G},[i("p",{class:K,style:{color:"#F67146"}},[t.item.score||0,i("span",null,[l("分")])," "]),i("p",{class:Q},[l(" 综合得分")])]),i("div",{class:G},[i("p",{class:K},[t.item.intonation||0,i("span",null,[l("分")])," "]),i("p",{class:Q},[l("音准 ")])]),i("div",{class:G},[i("p",{class:K},[t.item.cadence||0,i("span",null,[l("分")])," "]),i("p",{class:Q},[l("节奏 ")])]),i("div",{class:G},[i("p",{class:K},[t.item.integrity||0,i("span",null,[l("分")])," "]),i("p",{class:Q},[l("完成度 ")])])])])}}}),Z={exercisContainer:"_exercisContainer_2c7tz_1",topWrap:"_topWrap_2c7tz_5",topInfo:"_topInfo_2c7tz_8",topInfoLeft:"_topInfoLeft_2c7tz_16",headWrap:"_headWrap_2c7tz_22",infoMsg:"_infoMsg_2c7tz_29",tag:"_tag_2c7tz_41",topInfoRight:"_topInfoRight_2c7tz_53",infoDay:"_infoDay_2c7tz_60",infoDayMain:"_infoDayMain_2c7tz_63",infoDaysub:"_infoDaysub_2c7tz_79",chioseWrap:"_chioseWrap_2c7tz_86",select:"_select_2c7tz_96",icon:"_icon_2c7tz_99"};t("default",o({name:"exercis-detail",setup:function(){var t=s(),r=p({showPopoverTime:!1,currentDate:[f().format("YYYY"),f().format("MM")],isClick:!1,background:"transparent",color:"#fff",practiceMonthName:t.query.practiceMonthName?t.query.practiceMonthName:f().format("YYYY")+"年"+f().format("MM")+"月"}),o=p({practiceMonth:t.query.practiceMonth?t.query.practiceMonth:r.currentDate[0]+""+r.currentDate[1],page:1,rows:20}),c=_(!1),u=_(!1),R=_(!1),S=_(!1),B=_({}),N=_([]),C=function(){var t=a(e().mark((function t(){var i;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&&(N.value=[],o.page=1,c.value=!1),t.prev=4,t.next=7,x.post("/edu-app/musicPracticeRecord/page",{data:n(n({},o),{},{feature:"EVALUATION"})});case 7:if(i=t.sent,!(N.value.length>0&&1===i.data.current)){t.next=10;break}return t.abrupt("return");case 10:N.value=N.value.concat(i.data.rows||[]),o.page=i.data.current+1,S.value=N.value.length>0,u.value=!1,R.value=i.data.current>=i.data.pages,t.next=21;break;case 17:t.prev=17,t.t0=t.catch(4),S.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,o;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,x.get("/edu-app/student/detail",{params:{id:null===(r=z.user.data)||void 0===r?void 0:r.id}});case 3:o=t.sent,B.value=n({},o.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 D(document,"scroll",(function(){k().y.value>52?(r.background="#fff",r.color="#323333"):(r.background="transparent",r.color="#fff")})),t.next=3,C();case 3:return t.next=5,F();case 5:h((function(){var t=j(P.value).height;Y.value=t}));case 6:case"end":return t.stop()}}),t)}))));var U=function(t){o.practiceMonth=t.selectedValues[0]+t.selectedValues[1],r.practiceMonthName=t.selectedValues[0]+"年"+t.selectedValues[1]+"月",r.showPopoverTime=!1,c.value=!0,C()},V=function(){R.value=!1,u.value=!0,C()};return function(){var t;return i(w,null,[i("div",{class:[Z.exercisContainer]},[i("div",{class:Z.topWrap,ref:P},[i(L,{position:"top"},{default:function(){return[i(d,{border:!1,background:r.background,color:r.color},null)]}}),i("div",{class:Z.topInfo},[i("div",{class:Z.topInfoLeft},[i("div",{class:Z.headWrap},[i(W,{src:B.value.avatar?B.value.avatar:A,fit:"cover",width:"68px",height:"68px"},null)]),i("div",{class:Z.infoMsg},[i("p",null,[B.value.nickname]),i("div",{class:Z.tag},[B.value.subjectNames?B.value.subjectNames:"暂无声部"])])]),i("div",{class:Z.topInfoRight},[i("div",{class:Z.infoDay},[i("p",{class:Z.infoDayMain},[B.value.practiceDays?B.value.practiceDays:0,i("span",null,[l("天")])]),i("p",{class:Z.infoDaysub},[l("练习天数")])]),i("div",{class:Z.infoTime},[i("p",{class:Z.infoDayMain},[B.value.practiceTimes?B.value.practiceTimes:0,i("span",null,[l("分钟")])]),i("p",{class:Z.infoDaysub},[l("练习时长")])])])]),i(O,{inset:!0},{default:function(){return[i(E,{class:Z.select,center:!0,isLink:!0,onClick:function(){return r.showPopoverTime=!0}},{icon:function(){return i("img",{class:Z.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 i("div",{class:"van-ellipsis"},[r.practiceMonthName])}})]}})]),S.value?i(T,{modelValue:c.value,"onUpdate:modelValue":function(t){return c.value=t},onRefresh:V,style:{minHeight:"calc(100vh - ".concat(Y.value,"px)")}},{default:function(){return[i(M,{"loading-text":" ",finished:R.value,"finished-text":" ",onLoad:C},(e=t=N.value.map((function(t){return i(q,{item:t},null)})),"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!b(e)?t:{default:function(){return[t]}}))];var e}}):i(g,{description:"暂无练习统计",style:{height:"calc(100vh - ".concat(Y.value,"px)")}},null)]),i(v,{show:r.showPopoverTime,"onUpdate:show":function(t){return r.showPopoverTime=t},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[i(I,{onCancel:function(){r.showPopoverTime=!1},onConfirm:U,modelValue:r.currentDate,"onUpdate:modelValue":function(t){return r.currentDate=t},formatter:y,columnsType:["year","month"]},null)]}})])}}}))}}}))}();