1 |
- !function(){var e=["knowledgePointList"];function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function r(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?t(Object(o),!0).forEach((function(t){n(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(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 i(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function a(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(s){return void r(s)}c.done?t(l):Promise.resolve(l).then(n,o)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function c(e){a(i,n,o,c,l,"next",e)}function l(e){a(i,n,o,c,l,"throw",e)}c(void 0)}))}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=document.createElement("style");u.innerHTML=':root{--van-circle-size: 2.66667rem;--van-circle-color: var(--van-primary-color);--van-circle-layer-color: var(--van-white);--van-circle-text-color: var(--van-text-color);--van-circle-text-font-weight: var(--van-font-weight-bold);--van-circle-text-font-size: var(--van-font-size-md);--van-circle-text-line-height: var(--van-line-height-md)}.van-circle{position:relative;display:inline-block;width:var(--van-circle-size);height:var(--van-circle-size);text-align:center}.van-circle svg{position:absolute;top:0;left:0;width:100%;height:100%}.van-circle__layer{stroke:var(--van-circle-layer-color)}.van-circle__hover{fill:none;stroke:var(--van-circle-color);stroke-linecap:round}.van-circle__text{position:absolute;top:50%;left:0;box-sizing:border-box;width:100%;padding:0 var(--van-padding-base);color:var(--van-circle-text-color);font-weight:var(--van-circle-text-font-weight);font-size:var(--van-circle-text-font-size);line-height:var(--van-circle-text-line-height);transform:translateY(-50%)}._courseList_1pmp6_1{min-height:100vh;background-image:url(./assets/bg.d0676112.png);background-size:100% 9.22667rem;background-repeat:no-repeat;box-sizing:border-box;background-color:#f8f8f8}._periodContent_1pmp6_9{display:flex;padding:.53333rem}._periodContent_1pmp6_9 ._cover_1pmp6_13{position:relative;width:2.85333rem;height:3.46667rem;margin-right:.8rem;border-radius:.05333rem;overflow:hidden;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMQAAADwCAMAAABokzviAAAASFBMVEXq6ur29vbHx8e2trbKysrCwsLPz8/S0tK/v7/ExMS8vLy4uLi6urrMzMzm5ubU1NTc3Nzh4eHZ2dnW1tbj4+Pz8/Pe3t7v7++8JAt/AAAENUlEQVR42u3ay5LbIBCFYdSmuQkEukR+/zcNjZ2xNJpkmUJV51ukssyfpj1CHgUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfzeJeS/7PKlbmrZ53/eSE7ELwZHdbxey7WWeiyUXRIzyB9tZ3chW9lIW611w4V0RxzGGmDZ1E1NNWJaVXPMVIULI6hbmUhMWy+4c0SoeY9R3WI15WcuyZk3+UCEJzeMR+QZHSj5U62GqDDsha+2YXagFIvIdZlFDliXndbUsc/B5e/6qnlNJoVX4m1SsuVrJBZp/DR/PmaRCqzsoLSI5t0jCycaPx7io/pXFWlsbeB6ufq2PR+j/QM3ZVobdNvxoC6NRnZtsQ64Mf6Hc2PsolmyMsZr1r+FvVOh8FJtpPG+nRUhlONg734rVmkozHQehx3HMwwEV1bHJmFQjiI//ZhVDiO45NM+tZM09nafLqdhtEp7nnyM2io9qZNUPm/dzx2q01kl7no4rocc4WvlbfrzFfpZi0sakXDb1xSRdkWc1HDytXmVH5oc8yjb9XPNm+W83NtkyT++V0ILaJK78V8TYz2bvSSqSMdbmRTqm9CdiG65UHF+6en4qLUIqjM1ZOpIm4XkZrrax3bVdjD1FrJ8ImcYqV7rG+zRczTUipkltdoz9HKclkVS8I6qcPAlZih8nEViJxfWz2MUcIxrv/SvCDBdTjM6opqOXgnMikojDKDR7USvKJeIZouvvpc2k9TGi8cy++eFO5KNbVW8mo4nOEdlwIxWX26kZnVXdWQ15OkdkYuEr930Wy+h6evL7LIXn82Zn+xnFNpxt0XX4qkPOE7P+NgrnnFRcP2ZVCKT6sxjytcIcI4wTEqGGs6cLXvVnMtqzc3SMsK7x3n+P+MVdRqhdzpMLrD8RmcMrgu8SobKWiBg52ReJEEw83SViSsSuvfR2ZNogVh/fEfNlJ1yPi11tmmpEHOWqE5wnIvcnYr1GJNWnLfkW8WWMgsmny0dsjz+xXybD7hohM3kOJ1Nw/VyGLpZacYgQkYi+P8mWGPq5R1xNVnb7GBGIyH97IWtD5192bZnjGOPXOxlH11FQt3v9sS1WE1F8CE+VJ3V6p8/9XK3/bWoRgRqfDgcqu85P04dpEV6T8Gyew9uTub/L6c+21uBaQ6tIanix7ibf/ipFEjGS/noDxb60I7U57viHxEkeHxXpT4Rn1kUNirn/j6aX8l6Iig4VjjUx3eQwLXGUs5S0OEQIv6tbyPKTLuikGzpW+L6/pvsytZ2OKf0QQTdpUGoNUuF00scKX5Hu+cHvbEsxtp1Ip1EQ2Zvs9Musx5oR6DgKnW6y0h9zCvIgzlrUADLlVmN4m1Zyr+u21ma9zzJcOuYlW7ve79eSAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP6X32HBOwAG/umeAAAAAElFTkSuQmCC) no-repeat;background-size:100% 100%;flex-shrink:0}._periodContent_1pmp6_9 ._cover_1pmp6_13>img{display:block;width:100%;height:100%;opacity:0;transition:opacity .3s;-o-object-fit:cover;object-fit:cover}._periodContent_1pmp6_9 ._cover_1pmp6_13 .van-image__loading{position:relative;height:100%;-webkit-animation:van-skeleton-blink var(--van-skeleton-duration) ease-in-out infinite;animation:van-skeleton-blink var(--van-skeleton-duration) ease-in-out infinite}._periodContent_1pmp6_9 ._cover_1pmp6_13:before{content:"";position:absolute;left:.13333rem;width:.13333rem;height:100%;background:linear-gradient(270deg,rgba(0,0,0,.25) 0%,rgba(0,0,0,.03) 100%);box-shadow:0 .05333rem .16rem rgba(0,0,0,.2);z-index:1}._periodContent_1pmp6_9 ._contentTitle_1pmp6_47{font-weight:600;font-size:.42667rem;color:#131415;line-height:.58667rem;padding-bottom:.21333rem}._periodContent_1pmp6_9 ._contentLabel_1pmp6_54{font-weight:400;font-size:.32rem;color:rgba(0,0,0,.5);line-height:.53333rem}._periodSection_1pmp6_60{flex:1;background:#FFFFFF;border-radius:.53333rem .53333rem 0 0}._periodHeader_1pmp6_65{display:flex;align-items:center;justify-content:space-between;padding:.53333rem .53333rem .32rem}._periodHeader_1pmp6_65 ._searchGroup_1pmp6_71{padding:.08rem .26667rem .05333rem .18667rem;border-radius:.50667rem;border:.02667rem solid rgba(254,36,81,.4);color:rgba(0,0,0,.4);display:flex;cursor:pointer;font-size:0}._periodHeader_1pmp6_65 ._searchGroup_1pmp6_71 ._iconSearch_1pmp6_80{flex-shrink:0;margin-right:.13333rem;height:.32rem;padding-top:.08rem}._periodHeader_1pmp6_65 ._searchGroup_1pmp6_71 span{flex-shrink:0;font-size:.37333rem;line-height:.53333rem}._periodTitle_1pmp6_91{display:flex;align-items:center;padding:0}._periodTitle_1pmp6_91 ._pIcon_1pmp6_96{width:.53333rem;height:.53333rem;margin-top:-.05333rem;margin-right:.16rem}._periodTitle_1pmp6_91 ._pTitle_1pmp6_102{font-size:.42667rem;font-weight:600;color:#2d3131;margin-right:.21333rem}._periodTitle_1pmp6_91 ._pNum_1pmp6_108{font-size:.32rem;font-weight:400;color:rgba(0,0,0,.5);line-height:1}._periodList_1pmp6_114 .van-cell-group--inset{margin:0}._periodList_1pmp6_114 .van-cell-group,._periodList_1pmp6_114 .van-cell{background:transparent}._periodList_1pmp6_114 .van-cell{padding:.48rem .53333rem}._periodList_1pmp6_114 .van-cell:after{left:.53333rem;right:.53333rem;border-color:#f2f2f2;transform:none}._periodList_1pmp6_114 .van-cell .van-cell__title{padding-right:.21333rem}._periodList_1pmp6_114 .van-cell .van-cell__title span{font-size:.4rem;font-weight:600;color:#333;line-height:.56rem;word-break:break-all}._periodList_1pmp6_114 .van-cell .van-cell__title .van-cell__label{font-size:.32rem;font-weight:400;color:#aaa;line-height:.45333rem;margin:0}._periodList_1pmp6_114 .van-cell .van-cell__value{flex:inherit;flex-shrink:0;display:flex;align-items:center}._circleProgress_1pmp6_153{width:.64rem;height:.64rem;position:relative}._circleProgress_1pmp6_153 ._basePlay_1pmp6_158{width:20Px;height:20Px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}._circleProgress_1pmp6_153 .van-circle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:20Px;height:20Px}._circleProgress_1pmp6_153 ._tips_1pmp6_174{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:.17333rem;height:.17333rem;background:#b3b3b3;border-radius:.02667rem}._periodItem_1pmp6_184{width:.96rem;height:1.06667rem;margin-right:.21333rem;flex-shrink:0}._periodItem_1pmp6_184 img{width:100%;height:100%;display:block;-o-object-fit:cover;object-fit:cover}._courseDialog_1pmp6_196{width:8.13333rem;box-sizing:border-box}._courseDialog_1pmp6_196 ._iconCross_1pmp6_200{position:absolute;top:.26667rem;right:.26667rem;font-size:.58667rem;color:#ccc;z-index:99}._periodItemModel_1pmp6_208{position:relative}._periodItemModel_1pmp6_208 ._iconCachePoint_1pmp6_211{position:absolute;right:0;bottom:0;display:block;-o-object-fit:contain;object-fit:contain;width:.34667rem;height:.34667rem}._periodItemModel_1pmp6_208 ._periodTip_1pmp6_220{position:absolute;left:-.18667rem;top:0;max-height:.4rem;display:block;-o-object-fit:contain;object-fit:contain}._periodItemModel_1pmp6_208 ._downloading_1pmp6_228{position:absolute;left:0;right:0;bottom:0;top:0;background:rgba(0,0,0,.4);font-size:.29333rem;color:#fff;border-radius:.24rem;display:flex;align-items:center;justify-content:center}._btnGroup_1pmp6_242{padding:.53333rem .66667rem calc(.53333rem + env(safe-area-inset-bottom));border-top:.02667rem solid #f2f2f2;background-color:#fff}._courseDialog_1pmp6_196{padding:.53333rem .4rem}._courseDialog_1pmp6_196 ._iconClose_1pmp6_250{width:.50667rem;height:.50667rem;position:absolute;top:.61333rem;right:.53333rem;z-index:9;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmBAMAAABaE/SdAAAAElBMVEUAAAAAAAAAAAAAAAAAAAAAAADgKxmiAAAABnRSTlMAWB8cUVCzSKOnAAAAeElEQVQoz73Suw2AMAxFUcRngJcJAhNkBBp6CvafBQkj38ICd0nDk30QIc7QZ01HI1+WZxWvrdqf5yLVtzRKp3mpOFPzVI1Zl0iTTA8IA8KAMODmDCgYUDBgTWq8m3yDvSR75t9+zyCeFRlIBIYZxVl+zDzejS7rBs5uEL3aFZ+HAAAAAElFTkSuQmCC) no-repeat center;background-size:contain}._courseDialog_1pmp6_196 ._title_1pmp6_260{position:relative;font-size:.48rem;font-weight:600;color:#131415;line-height:.66667rem;text-align:center}._courseDialog_1pmp6_196 ._content_1pmp6_47{padding:.53333rem .13333rem .66667rem;font-weight:400;font-size:.42667rem;color:#666;line-height:.64rem}._courseDialog_1pmp6_196 ._popupBtnGroup_1pmp6_275{display:flex;align-items:center}._courseDialog_1pmp6_196 ._popupBtnGroup_1pmp6_275>button{height:1.06667rem;flex:1;font-weight:400;font-size:.42667rem!important}._courseDialog_1pmp6_196 ._popupBtnGroup_1pmp6_275>button:last-child{margin-left:.4rem}._btnLeft_1pmp6_288{color:#333;border-color:#dbdbdb}._btnRight_1pmp6_292{background:#fe2451;border-color:#fe2451}._finch_1pmp6_296{width:4rem;margin:3.73333rem auto 0}._finchLoad_1pmp6_300{text-align:center;color:#333;font-size:.4rem;margin-top:.10667rem;margin-bottom:3.2rem}._footers_1pmp6_307{padding:0 .66667rem .53333rem}._footers_1pmp6_307 .van-button{font-size:.48rem;font-weight:500;color:#fff;line-height:.66667rem}._footers_1pmp6_307 .van-button.van-button--disabled{opacity:initial;background:linear-gradient(270deg,#ff7a93 0%,#ff9daa 100%)!important}\n',document.head.appendChild(u),System.register(["./ResizeObserver.es-legacy.8d60aee1.js","./index-legacy.610f0a70.js","./index-legacy.fd89cccf.js","./vue3-lottie.es-legacy.9d8d3759.js","./refresh_anim-legacy.a0406088.js","./orderStatus-legacy.e7da1c46.js","./index-legacy.4f8bc5f4.js","./index-legacy.87bcd48f.js","./index-legacy.bbc2b10e.js"],(function(t){"use strict";var n,a,s,p,u,d,A,m,f,g,b,h,v,_,y,w,S,x,k,z,T,L,O,P,M,C,V,I,D,U,j,E,R,H,B,X,W,G,N,Z,q,Y,Q,K;return{setters:[function(e){n=e.E,a=e.G,s=e.a0,p=e.ab,u=e.H,d=e.a_,A=e.d,m=e.W,f=e.a3,g=e.bP,b=e.au,h=e.j,v=e.bf,_=e.aJ,y=e.O,w=e.P,S=e.Q,x=e.f,k=e.S,z=e.U,T=e.g,L=e.V,O=e.b5,P=e.bi,M=e.bv,C=e.af,V=e.A,I=e.bQ,D=e.F,U=e.C,j=e.B,E=e.aS,R=e.$,H=e.y,B=e.D,X=e.n,W=e.T},function(e){G=e.C},function(e){N=e.C},function(e){Z=e.V},function(e){q=e.A},function(e){Y=e.o},function(e){Q=e.T},function(e){K=e.C},function(){}],execute:function(){var F=l(n("circle"),2),J=F[0],$=F[1],ee=0,te=function(e){return Math.min(Math.max(+e,0),100)};var re={text:String,size:a,fill:s("none"),rate:p(100),speed:p(0),color:[String,Object],clockwise:u,layerColor:String,currentRate:d(0),strokeWidth:p(40),strokeLinecap:String,startPosition:s("top")},ne=A({name:J,props:re,emits:["update:currentRate"],setup:function(e,t){var r=t.emit,n=t.slots,o="van-circle-".concat(ee++),i=m((function(){return+e.strokeWidth+1e3})),a=m((function(){return function(e,t){var r=e?1:0;return"M ".concat(t/2," ").concat(t/2," m 0, -500 a 500, 500 0 1, ").concat(r," 0, 1000 a 500, 500 0 1, ").concat(r," 0, -1000")}(e.clockwise,i.value)})),c=m((function(){var t={top:0,right:90,bottom:180,left:270}[e.startPosition];if(t)return{transform:"rotate(".concat(t,"deg)")}}));f((function(){return e.rate}),(function(t){var n,o=Date.now(),i=e.currentRate,a=te(t),c=Math.abs(1e3*(i-a)/+e.speed);e.speed?(n&&g(n),n=b((function e(){var t=Date.now(),l=Math.min((t-o)/c,1)*(a-i)+i;r("update:currentRate",te(parseFloat(l.toFixed(1)))),(a>i?l<a:l>a)&&(n=b(e))}))):r("update:currentRate",a)}),{immediate:!0});var l=function(){var t=e.strokeWidth,r=e.currentRate,n=e.strokeLinecap,i=3140*r/100,c=_(e.color)?"url(#".concat(o,")"):e.color,l={stroke:c,strokeWidth:"".concat(+t+1,"px"),strokeLinecap:n,strokeDasharray:"".concat(i,"px ").concat(3140,"px")};return h("path",{d:a.value,style:l,class:$("hover"),stroke:c},null)},s=function(){var t=e.color;if(_(t)){var r=Object.keys(t).sort((function(e,t){return parseFloat(e)-parseFloat(t)})).map((function(e,r){return h("stop",{key:r,offset:e,"stop-color":t[e]},null)}));return h("defs",null,[h("linearGradient",{id:o,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[r])])}};return function(){return h("div",{class:$(),style:v(e.size)},[h("svg",{viewBox:"0 0 ".concat(i.value," ").concat(i.value),style:c.value},[s(),(t={fill:e.fill,stroke:e.layerColor,strokeWidth:"".concat(e.strokeWidth,"px")},h("path",{class:$("layer"),style:t,d:a.value},null)),l()]),n.default?n.default():e.text?h("div",{class:$("text")},[e.text]):void 0]);var t}}}),oe=y(ne),ie={courseList:"_courseList_1pmp6_1",periodContent:"_periodContent_1pmp6_9",cover:"_cover_1pmp6_13",contentTitle:"_contentTitle_1pmp6_47",contentLabel:"_contentLabel_1pmp6_54",periodSection:"_periodSection_1pmp6_60",periodHeader:"_periodHeader_1pmp6_65",searchGroup:"_searchGroup_1pmp6_71",iconSearch:"_iconSearch_1pmp6_80",periodTitle:"_periodTitle_1pmp6_91",pIcon:"_pIcon_1pmp6_96",pTitle:"_pTitle_1pmp6_102",pNum:"_pNum_1pmp6_108",periodList:"_periodList_1pmp6_114",circleProgress:"_circleProgress_1pmp6_153",basePlay:"_basePlay_1pmp6_158",tips:"_tips_1pmp6_174",periodItem:"_periodItem_1pmp6_184",courseDialog:"_courseDialog_1pmp6_196",iconCross:"_iconCross_1pmp6_200",periodItemModel:"_periodItemModel_1pmp6_208",iconCachePoint:"_iconCachePoint_1pmp6_211",periodTip:"_periodTip_1pmp6_220",downloading:"_downloading_1pmp6_228",btnGroup:"_btnGroup_1pmp6_242",iconClose:"_iconClose_1pmp6_250",title:"_title_1pmp6_260",content:"_content_1pmp6_47",popupBtnGroup:"_popupBtnGroup_1pmp6_275",btnLeft:"_btnLeft_1pmp6_288",btnRight:"_btnRight_1pmp6_292",finch:"_finch_1pmp6_296",finchLoad:"_finchLoad_1pmp6_300",footers:"_footers_1pmp6_307"};t("default",A({name:"courseList",setup:function(){var t=w(),n=S(),a=x(),l=k({titleOpacity:0,catchStatus:!1,catchItem:{},loading:!0,detail:{},list:[],isDownloading:!1}),s=z("STUDENT"===T.platformType?"/api-student":"/api-teacher"),p=function(){var e=c(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,H.post(s.value+"/tenantAlbumMusic/getLessonCoursewareDetail",{data:{lessonCoursewareId:t.query.id,albumId:t.query.albumId}});case 3:r=e.sent,l.detail=(null==r?void 0:r.data)||{},e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}(),u=function(){var n=c(regeneratorRuntime.mark((function n(){var c,p;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return l.loading=!0,n.prev=1,n.next=4,H.get(s.value+"/tenantAlbumMusic/getLessonCoursewareCourseList/"+t.query.id);case 4:if(c=n.sent,!Array.isArray(null==c?void 0:c.data)){n.next=12;break}return l.list=c.data,c.data.forEach((function(t){var r=t.knowledgePointList;i(t,e);(r||[]).forEach((function(e){e.materialList=[].concat(o(e.materialList||[]),o(d(e.children||[]))),e.children=null}))})),n.next=10,f(c.data);case 10:p=n.sent,l.list=a.isApp?c.data.map((function(e){var t=p.find((function(t){return t.lessonCoursewareDetailId==e.lessonCoursewareDetailId})),n=r({},e);return t&&(n.hasCache=t.hasCache),n})):c.data;case 12:n.next=16;break;case 14:n.prev=14,n.t0=n.catch(1);case 16:l.loading=!1;case 17:case"end":return n.stop()}}),n,null,[[1,14]])})));return function(){return n.apply(this,arguments)}}(),d=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[];return t.forEach((function(t){t.materialList&&t.materialList.length>0&&r.push.apply(r,o(t.materialList||[])),t.children&&t.children.length>0&&r.push.apply(r,o(e(t.children||[])))})),r};L((function(){p(),u(),O("downloadCoursewareToCache",b)})),P((function(){M("downloadCoursewareToCache",b)}));var A=function(){var e=c(regeneratorRuntime.mark((function e(r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==(n=l.detail)&&void 0!==n&&n.play){e.next=8;break}if("1"!==t.query.buyStatus){e.next=3;break}return e.abrupt("return");case 3:if(x().isApp){e.next=6;break}return F(),e.abrupt("return");case 6:return v(),e.abrupt("return");case 8:if(r.knowledgePointList){e.next=11;break}return B.confirm({message:"该课件暂无知识点"}),e.abrupt("return");case 11:if(r.hasCache){e.next=23;break}if(1!=r.downloadStatus){e.next=17;break}return X({api:"cancelDownloadCourseware"}),setTimeout((function(){X({api:"cancelDownloadCourseware"}),r.downloadStatus=0,l.isDownloading=!1}),1e3),W.loading({message:"取消中...",forbidClick:!1,loadingType:"spinner",duration:1e3}),e.abrupt("return");case 17:if(3!=r.downloadStatus){e.next=20;break}return g(r),e.abrupt("return");case 20:return l.catchStatus=!0,l.catchItem=r,e.abrupt("return");case 23:m(r);case 24:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),m=function(e){l.catchStatus=!1,x().isApp?X({api:"openWebView",content:{url:"".concat(location.origin).concat(location.pathname,"#/coursewarePlay?id=").concat(e.coursewareDetailId,"&source=my-course"),orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0,showLoadingAnim:!0}}):n.push({path:"/coursewarePlay",query:{id:e.coursewareDetailId,source:"my-course"}})},f=function(e){return x().isApp?new Promise((function(t){X({api:"checkCoursewareCache",content:{data:e}},(function(e){var r;if(null==e||null===(r=e.content)||void 0===r||!r.data)return[];t(e.content.data)}))})):Promise.resolve(e)},g=function(){var e=c(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log(t),!a.isApp){e.next=8;break}return l.catchStatus=!1,l.isDownloading=!0,e.next=6,X({api:"downloadCoursewareToCache",content:{data:t}});case 6:return r=e.sent,e.abrupt("return",r);case 8:return e.abrupt("return",!0);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=function(e){var t;if(null!=e&&null!==(t=e.content)&&void 0!==t&&t.lessonCoursewareDetailId){var r=e.content,n=r.lessonCoursewareDetailId,o=r.downloadStatus,i=r.progress,a=l.list.find((function(e){return e.lessonCoursewareDetailId==n}));a&&(a.downloadStatus=o,a.progress=i,2==o&&(a.hasCache=1,a.progress=100,l.isDownloading=!1))}};C("scroll",(function(){var e=window.scrollY||window.pageYOffset||document.documentElement.scrollTop;l.titleOpacity=e>100?1:e/100}));var v=function(){var e=c(regeneratorRuntime.mark((function e(){var n,o,i,a,l,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.value+"/tenantGroupAlbum/buyAlbumInfo?tenantGroupAlbumId="+(t.query.taId||""),e.next=3,H.get(n);case 3:return o=e.sent,i=o.data,a=i[0],Y.orderObject.orderType="TENANT_ALBUM",Y.orderObject.orderName=a.name,Y.orderObject.orderDesc=a.name,Y.orderObject.actualPrice=a.actualPrice,Y.orderObject.orderNo="",Y.orderObject.orderList=[r({orderType:"TENANT_ALBUM",goodsName:a.name,actualPrice:a.actualPrice,price:a.actualPrice},a)],e.next=14,H.post("/api-student/userOrder/getPendingOrder",{data:{goodType:"TENANT_ALBUM",bizId:a.id}});case 14:l=e.sent,(p=l.data)?B.confirm({title:"提示",message:"您有一个未支付的订单,是否继续支付?",theme:"round-button",className:"confirm-button-group",cancelButtonText:"取消订单",confirmButtonText:"继续支付"}).then(c(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Y.orderObject.orderNo=p.orderNo,Y.orderObject.actualPrice=p.actualPrice,Y.orderObject.discountPrice=p.discountPrice,Y.orderObject.paymentConfig=r(r({},p.paymentConfig),{},{paymentVendor:p.paymentVendor,paymentVersion:p.paymentVersion}),y(a.id);case 5:case"end":return e.stop()}}),e)})))).catch((function(){B.close(),_(p.orderNo)})):y(a.id);case 17:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),_=function(){var e=c(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,H.post("/api-student/userOrder/orderCancel/v2",{data:{orderNo:t}});case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(t){return e.apply(this,arguments)}}(),y=function(e){n.push({path:"/orderDetail",query:{orderType:"ALBUM",album:e}})},F=function(){B.alert({title:"提示",message:"请在酷乐秀APP中使用",confirmButtonColor:"#2dc7aa"}).then((function(){window.location.href=location.origin+"/student/#/download"}))};return function(){var e;return h("div",{class:ie.courseList},[h(Q,{position:"top"},{default:function(){return[h(K,{hideHeader:!1,background:"rgba(255,255,255, ".concat(l.titleOpacity,")"),isFixed:!1,border:!1,title:"教程详情",color:"#131415"},null)]}}),h("div",{style:"height: calc(100vh - var(--header-height, 0px) - var(--bottom-height, 0px)); overflow-x: hidden; overflow-y: auto;display:flex; flex-direction: column;"},[h("div",{class:ie.periodContent},[h("div",{class:ie.cover},[h("img",{src:l.detail.coverImg,onLoad:function(e){e.target&&(e.target.style.opacity=1)}},null)]),h("div",null,[h("div",{class:ie.contentTitle},[l.detail.name]),h("div",{class:ie.contentLabel},[V("教学目标:"),l.detail.lessonTargetDesc])])]),h("div",{class:ie.periodSection},[h(I,{name:"van-fade"},{default:function(){return[!l.loading&&h(D,null,[h("div",{class:ie.periodHeader},[h("div",{key:"periodTitle",class:ie.periodTitle},[h("img",{class:ie.pIcon,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAPKADAAQAAAABAAAAPAAAAACL3+lcAAADFUlEQVRoBe1av4sTQRSe2XjBsNnqdnajpEi0zJ+ghY2ihYW9iGB3p6WelYUgai+pRSvrgFocEqzEUkhxICks1kt2UUSzinI7zjsyMLPoJfsrTOBdM+92Zt573/ftzN17LCH4gwwgA8gAMoAMIANGMdButxutVosZlVRJyVDVT6fTOf5jNnvKOb1CCK9TSl7VLOvmZDIZq+vy2r1erz6dRvc5Sa5xTk7k9bPMPpH7Z0qsZ57n3huNRr/lHg2w63rPOeFX5SSMlNKZeLYTTad9YXN1LqvNmP8o4clO1n1F1lvUehyGk7vShw6Yed855005qY5i4bBWs24UUdtlLKhaWTVnsEHpKAxPyueWNGD8H9jDOULOHST8wyZj22KdRpTqw3RbA7woWQHUJpw8Ycx74/v+qUXr0/NwptLPqv49HTMTYJmcOMi51IYLBM4UvGbSV1UjxIBYEFONob2amy7LfCmVcbbVhKq2cymsJpVXbdXHKu3CCqvJroPahRVWAUu1Xd+/rD43yS4VMAA7vMkT/sLzvNMmAZW5lA54DrqREHJeBjFprAQwAKScfjUJqMylEsDi8tpzHPu1DGLSWD5gSt/V6xsXxuPxN5OAylxKAywqqV/UordvbW+dCYLgkwxg2ljO32GhKt04dj0Kgj3TAKbzKaTwXNU7oOo6gAXw+RXOoaoJHY/MCqtnNauq0N6BjscqmgAQA2JBTPW1zqZwDlXVYMZ1PAT6QE1Q2kVUlT5MGWtqIrZt/xEFwCX1mWgKwQ18MdrfHwyHw8z1surLth1RcPOz6rOqbdEE6MfxbFfG0QDHcfzebjY/CqUb4j77Qiz6UNzAWy8Hg0huKDJ2u523cfyzLv7vhMLCKeJr0d55x6MPHY8wDA8Wrcd5ZAAZQAaQAWQAGUAGkAFkABk4mgGtHl5lR+LotIrPQvHwr288tGqJEOvB/BuMSiuZ4nCW8uBAKQrVmVoeai0e+LpmKVdrtCiNSQO8Rjhyp6oBTn8PkdurQRvTmLQz3F1hR6JqTrDjUTXD6B8ZQAaQAWQAGUAGFjLwFzLkMaro6ElHAAAAAElFTkSuQmCC"},null),h("div",{class:ie.pTitle},[V("课程列表")]),h("div",{class:ie.pNum},[V("共"),l.list.length,V("课")])]),h("div",{class:ie.searchGroup,onClick:function(){n.push({path:"/courseListSearch",query:{id:t.query.id,albumId:t.query.albumId,taId:t.query.taId}})}},[h("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAAB5lBMVEUAAAD/Wmb/SXD/Z4f/cIn/UnX/UXb/Y4P/WXj/aYj/ZYX/Z4f/UHT/S3D/Wnz/XoH/U3X/Z4b/T2v/Wnz/Vnn/XX7/S3H/UHT/YoP/SW//Rm3/XH3/WXv/aYj/YYH/Sm//UnX/Zob/Unf/YIH/SW//a4n/YYP/aIn/VHf/U3X/WHz/Zob/Vnb/XYT/XoD/T3P/SG7/U3f/SnD/XX7/V3n/S3H/VHf/Zob/aIn/YIH/YYL/aIf/a4n/a4r/Rm3/aIj/TnT/X3//WXz/TXP/aYj/T3X/WXv/WHv/Sm//Wnr/TnT/XID/SW//a4r/TXL/THH/bIv/RWv/WHr/Z4f/aon/U3b/TnL/aYj/aoj/bYz/S3D/ZIP/V3r/bIv/Wn3/Wnz/VHf/SnD/VXj/TnP/YIH/THL/V3r/SW//ZYX/UHX/Unb/Z4f/UXb/W3z/aoj/Vnr/THH/RWv/Xn//Vnv/SG//aIf/UnL/Zpn/YoP/W37/YIL/Vnn/VXj/SW//SnD/TXL/bIv/bIn/S3H/Xn//T3P/WXr/a4n/X4D/WHv/YoP/Y4X/Y4P/bIj/Unf/S3H/aon/SW//TXL/YYH/Xn//XH3/aIj/Z4b/Vnn/VHj/ZYX/Y4T/UHX/WXv/Unb/Rmz/Wnz/V3r/SG6gN11zAAAAjnRSTlMABVEjDVImEQ/5+Dr96+I1IB8S+fn4+Pfy6unn5+Pfy8mjmZVeTUwoIxwXFAwI+/n59PLu7ODczcjGramnlYyLiXRuYl5dW0dHOTUq/fz6+ff39fTz8fHu6ObmysnGvbOzrqiopaShn52djYWDfnVzcGpUTEpDMgX18+Ti4uLg3tzb187HxsWfl4hiUEc+gLAU2gAAAtlJREFUOMuNlPdXGkEQx++OoiKRJqioIEVEsffeu8ZEE9M0atTYjbEkpvde9vaAowqR/zS7vFO4w3vv5qfvzfu8vZnv7gyRFnKdy9FRbDSUfP1xrM0mxEM+vG6p9fn9/n9nZ8H81tURUfhZR6HX6/P5MHp+HgyFGsrGrgSzdlURL0Jrm4rz8kqa8xEaixX06zNJmU0VQeirzgHXxNTUxPHB6muERuvWlBlkeyAcibxwyOQXmWz3TkM0GmWsAjbLFgiHw225/OxEmTrKMGv8GnZzAmGVTYZljWZ0cHBUU4O1druAYWb6eb3nsIGAzYOlq6P4pcEwV7KowF/6bTUDTCdpfn6j2UAbPtPjqMVmYV+D9iqUqCxjALCm/B2+zbK3cJ1VnV5Mcr6uVKLU5B0AGocuD+2mabYHq9+FCDUu7+8vzwWDoflkDf0AwEcXx+o+0mxpsqVci9e4NIWVcik/9OZvsrUWAN65ObT8Os12Jf08PXIMeDj7DuyjJBbVjwGcpji0h6ZznnAaeySQT28AuMnphzR9t5wQjfFrAFo5fZ+m7+WKo5MPAGzk9E2aLq0QR5UtEE5LQ90tANZLL+Ct1LYgtPLMEglsFoSb/CsQCXQFAFIXF/sB9SUTQ7XvASxSpp4Ly/aJoXsMei56wSO8Mp7zHiEhb8dPW3cVWfmFAeBTVSrxBw/MVlYmmW1XM4yJSk/14THc0mWcaUdjyPTyh7s7gKZ7QSOoMzncMyP8bEVyZRT+lFVf+qndm49FEcqYFCSf7VKF0SKyrA+MaZRuzdjgRmsMLSJ1HWrrmpPPevqSS8tnTFtv0YKdkTqAroASNOFaSC3NsyBemq1oZhVoCGA9RQo2169Oi/dyDzSvDGE/T52ITZidpNBH2dH3z01+Q97ihkLJ+UwqTDARN1OElKCKEon4LEVKQElnUTweN48TUliqHrG9pLQazPHZQ0JSkCe9h3pCYuC//wfFiO/KTzOq5QAAAABJRU5ErkJggg==",class:ie.iconSearch},null),h("span",{class:ie.searchContent},[V("搜索素材")])])]),h("div",{key:"list",class:ie.periodList},[h(N,{inset:!0},(r=e=l.list.map((function(e){return h(G,{border:!0,center:!0,title:e.coursewareDetailName,onClick:function(){return A(e)}},{icon:function(){return h("div",{class:ie.periodItem},[h("div",{class:ie.periodItemModel},[h("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABQCAMAAACNtsODAAABYlBMVEUAAAD/6O3/5+z/5Ov/6O3/5+3/5+v/09v/5+3/6Oz/5+v/6Oz/5uz/6u3/5PL/4///0tv/0tz/3uT/09z/09z/09v/0tr/19f/4+P/5+z/0tvdK1D/eYr/fYz/a4D/VXL/5er/h5L/coX/////gI7/WXX/b4P/ZHz/W3f/go//X3n/XXj/doj/aH//kZn/e4v5xdD/Zn7/TW3/Rmn/dYf/Ynv/V3T/iZT/bYL/dIb/YXr/Qmf/hZH/lpz/jpf/hJD/UXD/T2//SWv//f3/mZ7/i5X/UnH/k5v/P2T/4uj/S2z/nKD/2eD/jZb/O2LiMVX/oKP/N2DiLlP/zdb/wcviM1f/8vT/7fH/sLv/qLP/lqj/5uv/3+T/3OL/1t3/ytP/x8//uMP/sLP/g5j/n6r/eJL/9vj/wMX/oLL/jKLwjaHthZr/doziNVj6zdb0rbzrYH3mX3vlWXblVnPgPV/iNVevbim2AAAAGXRSTlMA1egk++7e2LSudW1dMBMJsejudW1dMBMJaHAW9wAAA69JREFUWMOt2GtTGjEUBuBFRQUFvNU2gCisggJiQSigqFBARVBppQh4Q7y1au/t/+8m2V0SYOR04f2YGZ/Jec1GJwIbk9Gg0w+h7hHTUyMT07NCx1jGdAgaUSxYpYzMvGl3xgfADIVIJl+1MOZREMBBNBOvWWdwGGmCyHyDjDOAtEF0PFUyD6NeIOuIMt0o0g7RnqgzjnqFrOR3Zxn4fygtXnDQJD5PY0gLlLNymZEgnQboXjzloRHp+0IaciqmC7w0KxgR0jRbmYemBYMm6DTdMtwEXxE8ZVEsF7iS9EijlBbTZZRTMiXge0zrdEzSAoJn4bxgPamXSjmFKt+nlbwAneXwz13VH64rjeptMROIJnZWFhfn1tb2zlB7OkDnD5VGo1rMZzKZra29QGB7+zAbdTqdOyvEsdv9BRjUKBaL+XyeME0ngZ054oQvQdBZi3N4GOUdfxwGLbQ4WdlZVPYTdwEh1Qlgh9bDOa7Hx6enb92hfFvNCXUs4ri/2my2P7nuEGaok822jhV3ud0xDNnedoVerMfljsUcf2GQ6pD97LQ7jk8wiK+HnmbVcTscjlUoxJzCZs3hMKkHO0Eg1Pk0h13UWV0NeoBQ55oZBwxRJ4Gdldtb3glKTgQIsfWUELLWWpwNLxDKUoeMtYBX6lFmrMiG13cMg9ia5aVrO+tAIbZm9bKrurETwc7yMhByJmTHbicQzeWN5GwQZwkIJfBXMUdPM7N+Ie3HKzlLS++AEHXoXcis5zy4HuzMAyH2q2CWa3gs4kAh9iNVV0vPTWcXCDGOG9Gc3NCaMTOfTAIhaSzJiWMnRv4UFmrS78vnk7ezm0wBIfbSuJJKrjqk0+NVnGQyFQJC7KXhr1T8HnIKFSeVCh18hEH8pYFPD62HOqHQwXsgRJ2Y/LHLY7EOFGLuVI+HrUdx1oGQOhbvSIzsQCHOofWoNRNnEwg16+GdEN7PuuTAIVqPp0M9mNncB0IxeayI16fWwzkEOi50hZr1NGvmnKMfP3//+o66QorDn2a5nn3JOTqB/aPVUjMei3c+wCAUZ04P3g8/luRAodJzkKmn3YFBNLkL61XpulL9XPtyc+cKLqfIWIqzngND7cVRmcB3ddQJGkJ9yZCg7w+kF3T9gXSCoT+QQTD2BzIKpv5AJqE/Jenok0bvGaOPLD1nwEKffXrOOOAhCpJRwNMYJMNmwGMdpKBBwPMhIMODgAdNSD9mwBMrYKxxjY++fHRjFgbQ8gyNhvQ6g9EkMPkH/FTASwIbrxMAAAAASUVORK5CYII="},null),e.hasCache?h("img",{class:ie.iconCachePoint,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAMAAAAM7l6QAAAApVBMVEUAAAD///////////////////////////////////////////////9Ev3tAvnk+vndCv3pGwHw8vXY7vXVLxYFPy4f7/vxU0YxszpjY8uTy+/bb8+ac3rmN2K/h9uq558500J1wzppTxYag37yB3qt606FhyZBIwX73/PqU27RZx4rp9+/c9efK7dqq6cas4sSZ4LiB1KZ10J5p2ptc15OH1qpmypMm6/isAAAADHRSTlMA6vjFkoSAVEwQBahhgfI7AAABV0lEQVQoz4XT2XqCMBAFYAKIoAdIAqWs7ku1i9Uu7/9onZAaSrlgbv8vmcwSy8TMdx1m28xx/Zn1PwKPwQTzgr5OCavtaiPEZl1XAJv+1QlQrMKQcx5RxOsCmHQ6R3YS4Z1jiibDvDtb3kgpiLXLvLyfnyLbC6HVsMwztPkDhvfUMCdVHMsGLCD28PKQ9k9ft/VZygIedYNhp1h0fAIWR5nkYDPLx+Kxf5qyPh1kkiQVfMvFW5/TZ6CRkryGaznY9Zi/Ass4VpzDsRg+iL+Xy1q0ddcqMSlxCmbZ+CROK+BCytcqcaw5hv3L4lACe843KrGuW7O+XIgrUJ5DlZj6Yi43TxMXoNiqxMTmaV1hxwIAJY4irbqwri3nkvjrPhLZtsU0lcreU2Kt5LqpvZHcGmEG2o5kMNCO9UD1OgznrdbBLNNK83CZhqsYmVUcWeSRbzD6iUa+4A98PDGu23FRUwAAAABJRU5ErkJggg=="},null):"",1==e.downloadStatus&&h("div",{class:ie.downloading},["".concat(e.progress||0,"%")])])])},value:function(){return h(D,null,[e.knowledgePointList?h("div",{class:ie.circleProgress},[e.hasCache||1!==e.downloadStatus?h("img",{class:ie.basePlay,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAAAY1BMVEUAAACzs7O0tLS0tLS1tbWzs7O0tLS0tLS0tLS0tLS1tbW2tra0tLS0tLSzs7Ozs7O3t7fJycmzs7O5ubm5ubm/v7+zs7O2tra0tLS0tLS0tLS0tLS2trazs7O0tLS1tbWzs7NrsV1bAAAAIHRSTlMA+Vukcezxwp+HPweq38ezGgnUIBUNeUXuz8STSYGxJlCAMn4AAAGzSURBVEjHlJTZcsIwDEXlLc5SZyEbJKHV/39lx3InULxgzgszOCdWriVDmGFdytYoxpRpy2UdIJtJaob/YFpOWWrdMQzAuvq9qjGKTuu9wBO1ib2qdrEpPBF93D0KdBSCPz3Wc3EuHDFXouPGBy99fkOHDKpNiYThEIQbJMoGPKaWlq6ygQiNvKKlnbwV515GSDBenP36fldzN0OSuXOVh7Kq4C2Vn9rhu2n7gJO+oJohC6q8eLSBoKzmPHmm1MTZz3RGI2Qy0onV4NCRzkl2on7a2DT5cmNo60cCHD6An/lOzM4CfISdEma7VAY3nr+VGNNby7+4Cm8G7/bfJSYPhYtsYHRqr3y5OakjtrB1D7BS1SGZKOd43Sss9qePyqh4SO7t0kKzqCAiE/oHfBRNpr0EtqSM7O530GYvBTCUV1wmLmsoMUP770k5OOs7fS2jlaRMjP6dwH5Lr5cTAGAQCKINeBb7r9QK/MArIBASnZ2lw3RtejD6KhoSGk9aDFrJCQb5gMGCoYoLQwRAQS9BX+KGgk4ilsJdtEKERlSKJE70UcQVlFlkXWqCFhSvRl7KqA426KJzZIrG/WgAAAAASUVORK5CYII="},null):h(D,null,[h("div",{class:ie.tips},null),h(oe,{"current-rate":e.progress,"onUpdate:current-rate":function(t){return e.progress=t},rate:e.progress,speed:10,"stroke-width":80,"layer-color":"#B3B3B3",color:"#FE2451"},null)])]):""])}})})),"function"==typeof r||"[object Object]"===Object.prototype.toString.call(r)&&!R(r)?e:{default:function(){return[e]}}))])])];var r}}),l.loading&&h("div",null,[h(Z,{animationData:q,class:ie.finch},null)]),!l.loading&&!l.list.length&&h(U,{tips:"暂无内容",classImgSize:"SMALL",btnStatus:!1},null)])]),h(Q,{position:"bottom",varName:"--bottom-height"},{default:function(){return[l.detail.id&&!l.detail.play&&h("div",{class:ie.footers},[h(j,{disabled:"1"===t.query.buyStatus,round:!0,block:!0,type:"primary",color:"linear-gradient(270deg, #FF204B 0%, #FE5B71 100%)",onClick:function(){x().isApp?v():F()}},{default:function(){return[V("开通训练教程")]}})])]}}),h(E,{show:l.catchStatus,"onUpdate:show":function(e){return l.catchStatus=e},round:!0,class:ie.courseDialog},{default:function(){return[h("i",{class:ie.iconClose,onClick:function(){return l.catchStatus=!1}},null),h("div",{class:ie.title},[V("下载提醒")]),h("div",{class:ie.content},[V("您尚未下载课件,为了更加流畅的学习体验,推荐您下载后观看课件。")]),h("div",{class:ie.popupBtnGroup},[h(j,{class:ie.btnLeft,round:!0,onClick:function(){return m(l.catchItem)}},{default:function(){return[V("直接观看")]}}),h(j,{class:ie.btnRight,round:!0,type:"primary",onClick:function(){return g(l.catchItem)}},{default:function(){return[V("下载课件")]}})])]}})])}}}))}}}))}();
|