index-legacy.054ffa38.js 20 KB

12
  1. !function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){n(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,c,"next",e)}function c(e){r(a,o,i,s,c,"throw",e)}s(void 0)}))}}var i=document.createElement("style");i.innerHTML='._musicContent_1ahbo_1{position:absolute;top:0;height:7.06667rem;width:100%;padding-top:1.46667rem;z-index:10;background-color:rgba(0,0,0,.2);backdrop-filter:blur(.53333rem);-webkit-backdrop-filter:blur(.53333rem)}._bgImg_1ahbo_12{position:absolute;left:0;top:0;width:100%;height:7.06667rem;-o-object-fit:cover;object-fit:cover;filter:blur(.53333rem);backdrop-filter:blur(.58667rem);-webkit-backdrop-filter:blur(.53333rem)}._bg_1ahbo_12{position:relative;height:100%;padding:.42667rem .42667rem .32rem;z-index:11}._alumWrap_1ahbo_29{position:relative;display:flex;align-items:center;flex-direction:column;margin-bottom:2.02667rem}._alumWrap_1ahbo_29 ._img_1ahbo_36{width:3.14667rem;height:3.14667rem;flex-shrink:0;border-radius:.16rem;position:relative;z-index:9;--van-image-error-icon-size: 3.14667rem}._alumWrap_1ahbo_29 ._iconPian_1ahbo_45{position:absolute;right:-1.06667rem;top:.21333rem;z-index:-1;width:2.93333rem;height:2.93333rem;display:flex;align-items:center;justify-content:center;background:url(./assets/icon-pian.371e4e6a.png) no-repeat center;background-size:contain}._alumWrap_1ahbo_29 ._iconPian_1ahbo_45 .van-image{width:1.6rem!important;height:1.6rem!important;border-radius:50%;overflow:hidden}._alumWrap_1ahbo_29 ._numContent_1ahbo_64{position:absolute;right:.10667rem;bottom:.10667rem;display:flex;align-items:center;background:rgba(255,255,255,.8);border-radius:.10667rem;font-size:.32rem;font-weight:500;color:#000;padding:.05333rem .08rem}._alumWrap_1ahbo_29 ._numContent_1ahbo_64 ._iconMenu_1ahbo_77{margin-top:-.05333rem;width:.26667rem;height:.32rem;margin-right:.10667rem}._alumWrap_1ahbo_29 ._alumTitle_1ahbo_83{font-size:.42667rem;font-weight:600;color:#fff;line-height:.64rem;padding-bottom:.21333rem}._alumWrap_1ahbo_29 ._alumDes_1ahbo_90{position:absolute;bottom:-2.13333rem;z-index:99;width:calc(100% - 2.56rem);padding-top:.42667rem;text-align:center}._alumWrap_1ahbo_29 ._alumDes_1ahbo_90 ._des_1ahbo_98{font-size:.32rem;color:#fff}._musicList_1ahbo_102{position:relative;z-index:12;background-color:#fff;border-radius:.42667rem;min-height:40vh;--van-cell-background-color: transparent;--van-cell-font-size: .42667rem;--van-cell-text-color: #333;--van-cell-value-color: #999;--van-cell-icon-size: .26667rem}._musicList_1ahbo_102 .van-tab{font-size:.42667rem!important;margin-top:.4rem;color:#999}._musicList_1ahbo_102 .van-tab--active{font-size:.42667rem!important;color:#131415}._musicList_1ahbo_102 .van-tabs__line{width:.64rem;height:.10667rem;background:linear-gradient(90deg,#FF3C81 0%,rgba(255,118,166,.5) 100%)!important;border-radius:.96rem .96rem 0 0}._musicList_1ahbo_102 .van-button--plain.van-button--primary{background-color:transparent}._musicList_1ahbo_102 ._alumnList_1ahbo_132{padding:0 .4rem}._btnGroup_1ahbo_135{padding:.32rem}._btnGroup_1ahbo_135 .van-button{font-size:.48rem;font-weight:500}._system-list_1ahbo_142::-webkit-scrollbar{display:none}._system-list_1ahbo_142{width:100%;overflow-x:auto;overflow-y:hidden;display:flex;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-sizing:content-box;margin-bottom:.66667rem;height:auto;transition:all .2s}._system-list_1ahbo_142._systemHide_1ahbo_158{height:0;transition:all .2s;margin-bottom:0}._system-item_1ahbo_163{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1 0 auto;width:2.56rem;min-height:3.2rem;box-sizing:border-box;background:#ffffff;border-radius:.32rem;border:.02667rem solid #e5e5e5;margin-left:.26667rem}._system-item_1ahbo_163:last-child{margin-right:.26667rem}._system-item_1ahbo_163 ._title_1ahbo_180{font-size:.37333rem;font-weight:500;color:#333;line-height:.53333rem}._system-item_1ahbo_163 ._price_1ahbo_186{color:#ef2f56;font-size:.66667rem;line-height:1.5;font-family:DINAlternate-Bold,DINAlternate;font-weight:700}._system-item_1ahbo_163 ._price_1ahbo_186 span{font-size:.42667rem}._system-item_1ahbo_163 ._originalPrice_1ahbo_196{color:#999;font-size:.34667rem}._system-item_1ahbo_163._active_1ahbo_200{background:linear-gradient(223deg,#FEECE3 0%,#FEE4E3 52%,#FFDCE6 100%);border:.02667rem solid #FF4264;position:relative}._system-item_1ahbo_163._active_1ahbo_200 ._title_1ahbo_180,._system-item_1ahbo_163._active_1ahbo_200 ._originalPrice_1ahbo_196{color:#ef2f56}._system-item_1ahbo_163._active_1ahbo_200:before{content:" ";font:.37333rem/1 vant-icon;width:.72rem;height:.48rem;position:absolute;top:-.02667rem;right:-.02667rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAAkCAMAAAD1hTl/AAABfVBMVEUAAAD/mXn/NWD/N2D/mXr/NmH/OWT/PGL/mXn/mHn/mXj/NWD/knf/hXT/QGP/kHf/PmP/P2P/NWD/mXn/NmH/k3b/m3n/M2D/N2D/mXr/kXr/nID/OWP/mWb/M2b/S2b/lHj/lHf/SWX/O2L/lXj/h3T/j3f/i3b/QGT/NWH/mHz/nHj/////UWf/TWb/aW3/VGj/SWX/RGT/QWP/hnT/bW7/gXP/PmL/cW//YGv/hHP/iHX/enH/Zmz/ZGz/RmT/e3H/d3D/c2//kXf/i3X/b27/Ymv/jnb/Xmr/OWH/WGn/f3L/Vmj/S2X/a23/O2H/XWr/T2b/j3b/fnL/fXH/dnD/dXD/W2n/lHf/lXj/jHX/Wmn/NmD/l3j/SGT/+/v/8fH/NGD/0tT/hIv/mXj/9vb/4uP/vL7/t7v/iZP/5ef/zMz/qav/o6v/opz/j5b/mJL/d4b/c4H/hnz/c3b/7ev/3Nv/xsX/rrT/nKf/r6T/joX/e3n/bHf/ZXc+jsR6AAAALHRSTlMA8/PLaGgX9syO/Pz28tu2to6OdXVXUFAlGRYSEgUF+PPr6+vb28iPV1clJE8FSC0AAAKvSURBVDjLfZVXWxpBFIZHqXaNmhij6T0rTSEsElBBgaAhQaNJRGlBwd7Sy2/3nNkZzhbgXPBwse/zvXxnZmF+j2dmxud7u731Pq2uxN54vcHgcnjp42J0YSMbGhh4MvRsfJJZxr/m+QDcKnDp9EoMuHeIbSK3ng1F5ubnk6mn9jtmjHM+4GSc4LQ45JJfUvn+ntsGLO4HTeBWNU6LI03AOJdI3B+d1mGBuF4T45qaUdAMCc184tNn9ysDZtUMNjXXpSZyXTcJC3BNHie4NprA9dolNhswaaqkSW0mNc2dr3aJzQbiu8ABhpxV86SkKCUZt9MrPF8DZ9BUjUv/U1MU5TfkpTSu66XApCbFkebiwh5Qh9im1HRPc4zH7bZb+j5Q3y4jsk3kRhFzAadrk84mYMvhs6KiFM94m6SJ5+VRrqWmxv0tQVhdWzq12QPYYM6oeV6tXjQ1K0B9N5xNHgfnejgDnIhD7gCe/Ck0j+B77VIuD7k814Tl3cgAh3FC87wIzzY4VsWvJ7C8qEnTzdiLQiYHHC39WIH1/gMuiN3/aF4hfZuTzFmAOEOb+IMqsHTs/uAqjEsnzRTXHGfMBpyhzf9Y37F6Cp/FqjxjyFEcdOkog6Zsk7fSQKCB8BGdTdKEuCHGprotmnVFm4rX6wXMqvmYQZdls+b2HqdKV7g80qTlPQDM2U2aIu6iiNipWHrYfGPz/QxmrFwo0NI59wuofVWeTasmYndtQpOW7qvXDlXjFYpGN8QLCeIYzoTQpFbMLySzJuNzqw/jSJOuUKy1JtPGQZq6G7sl4kgzKzSZ5Pr0bVrem+Y2gRCe3S00AaM2N3WarDkTNqnpp5tu/TdBjjDcw5iLbjqPa9dmZI7pxzni6qS5RG0y40w5bDyuoya0ySzjfD4yPPjw3lrHpV8D6bCnb6bRe7YAAAAASUVORK5CYII=) no-repeat center;background-size:contain}._bottom_function_1ahbo_222{background:url(./assets/price-bg.b133ab24.png) no-repeat top center #fff;background-size:contain;box-shadow:inset 0 .02667rem #fff;border-radius:.42667rem .42667rem 0 0}._bottom_function_1ahbo_222 ._iconRightTop_1ahbo_228{position:absolute;top:-1.36rem;right:.24rem;width:3.84rem;height:4.10667rem}._bottom_function_1ahbo_222 ._iconClose_1ahbo_235{position:absolute;top:-1.36rem;right:.24rem;width:.85333rem;height:.85333rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAb1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8v0wLRAAAAJHRSTlMA+i316gUgEJmEP8RKGNzRoloLzXlWNjLg/Lu1m3RxXzooJcZjPZSlAAACH0lEQVRYw5zS246iQBSF4VVWl0JxdhjAs+387/+ME+hEAwhCf1cEWIvaYWuOSx51/UicfmEfh6f0QOeQnsJ4vyp9OxoGzPG2tGMbWAAbnS9F7H1cXM7Rz51guySeGyANfW9y58MUMPmnClfa9rW73ri31bZ0mvGdgQm208MZyL41qbAQbTRjE4EtNCEEc9UHVwPh+/EDaCp9VDUQOI0FkCVaIMkgeHv+aKdFdtGbKQrIdlpol0Ex+H+WJtFiSYPt/U2XYSqtUBkyp5cSrlrlCqWetpZIK0XY18bmmI1W2hjy5wEMgVYLMNve5Vqvz+4tuX4hx+7VusFdfYl3w93xozW7w02tI6n6asu//vubL5pRQ8qxm8CMFrsE/uz6efAaCDHtDPH4UWW6hn7+a3QCD3HXY50G/j4bXvnxpjjbnf1EJE00zOaliJOklLMmG2bzOpNK7sBF0w1zeV04OCVQaLrBz+RVQKIHxJpuYCavGB6qwWuqYT4vD/X/0ssYBUAgiIGFaCHaHfgA/f8bLQeOuWpqScDbbDZZECAoPjuB/wLzZ5qrX+ARHQ+DP6KPEf0MFOVjdCGhHxTlQkLKjp9UbVJmmRwPgy8T6+x4Z2Cd3VAO8DC8uxmKW9r4wMNwmqW5qV7gYdhuNVW39Wscs8uNx2y9HpZ82upxzee9BowccWrIqjGvBs0adXvY7nG/F45eeXrp6rWvF89efXv5zvX/BxK1Tone0ldGAAAAAElFTkSuQmCC) no-repeat center;background-size:contain;display:inline-block;z-index:99}._popupStatus_1ahbo_246{overflow-y:initial}._memberMeal_1ahbo_249 ._titleMeal_1ahbo_249{display:flex;align-items:center;justify-content:space-between;font-size:.42667rem;font-weight:600;color:#131415;line-height:.58667rem;padding:.69333rem .64rem}._memberMeal_1ahbo_249 ._titleMeal_1ahbo_249 ._iconArrowLine_1ahbo_259{display:inline-block;width:.37333rem;height:.37333rem;background:url(./images/icon-arrow-line.png) no-repeat center;background-size:contain}._btnGroup_1ahbo_135{display:flex;align-items:center;padding:0 .42667rem .32rem;justify-content:space-between}._btnGroup_1ahbo_135 ._btn_1ahbo_135{padding:0 .58667rem;height:1.17333rem;color:#fff!important;background:linear-gradient(270deg,#FF204B 0%,#FE5B71 100%);border-radius:1.04rem;font-size:.48rem;font-weight:700;border:none}._btnGroup_1ahbo_135 ._btn_1ahbo_135 ._unit_1ahbo_282{font-size:.37333rem}._btnGroup_1ahbo_135 ._priceSection_1ahbo_285{display:flex;align-items:center;font-size:.42667rem;color:#1a1a1a}._btnGroup_1ahbo_135 ._priceSection_1ahbo_285 ._price_1ahbo_186{font-size:.48rem;font-weight:700;color:#ff3535}._btnGroup_1ahbo_135 ._priceSection_1ahbo_285 ._price_1ahbo_186 ._priceUnit_1ahbo_296{font-size:.37333rem}\n',document.head.appendChild(i),System.register(["./index-legacy.fba2875c.js","./index-legacy.d92f7da7.js","./index-legacy.edb65d0c.js","./index-legacy.af00a324.js","./index-legacy.5aeab789.js","./index-legacy.a7012d0a.js","./index-legacy.0e744c22.js","./index-legacy.e7460ea1.js","./index-legacy.33680739.js","./index-legacy.85fd8338.js","./orderStatus-legacy.9b3fdd6c.js","./use-id-legacy.db87b112.js","./use-tab-status-legacy.8752ccde.js","./use-refs-legacy.2affcb61.js","./index-legacy.40eca993.js","./use-height-legacy.233a2ec8.js","./icon-xin-legacy.98015baf.js"],(function(e){"use strict";var n,r,i,a,s,c,l,u,m,b,_,d,p,h,f,g,v,A,y,j,C,P,w,x,k,z;return{setters:[function(e){n=e.d,r=e.O,i=e.P,a=e.S,s=e.Q,c=e.g,l=e.U,u=e.n,m=e.j,b=e.z,_=e.C,d=e.B,p=e.aR,h=e.by,f=e.w,g=e.D},function(e){v=e.I},function(){},function(){},function(e){A=e.T,y=e.a},function(e){j=e.L},function(e){C=e.T},function(e){P=e.C},function(e){w=e.u,x=e.a},function(e){k=e.S},function(e){z=e.o},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var E={musicContent:"_musicContent_1ahbo_1",bgImg:"_bgImg_1ahbo_12",bg:"_bg_1ahbo_12",alumWrap:"_alumWrap_1ahbo_29",img:"_img_1ahbo_36",iconPian:"_iconPian_1ahbo_45",numContent:"_numContent_1ahbo_64",iconMenu:"_iconMenu_1ahbo_77",alumTitle:"_alumTitle_1ahbo_83",alumDes:"_alumDes_1ahbo_90",des:"_des_1ahbo_98",musicList:"_musicList_1ahbo_102",alumnList:"_alumnList_1ahbo_132",btnGroup:"_btnGroup_1ahbo_135","system-list":"_system-list_1ahbo_142",systemHide:"_systemHide_1ahbo_158","system-item":"_system-item_1ahbo_163",title:"_title_1ahbo_180",price:"_price_1ahbo_186",originalPrice:"_originalPrice_1ahbo_196",active:"_active_1ahbo_200",bottom_function:"_bottom_function_1ahbo_222",iconRightTop:"_iconRightTop_1ahbo_228",iconClose:"_iconClose_1ahbo_235",popupStatus:"_popupStatus_1ahbo_246",memberMeal:"_memberMeal_1ahbo_249",titleMeal:"_titleMeal_1ahbo_249",iconArrowLine:"_iconArrowLine_1ahbo_259",btn:"_btn_1ahbo_135",unit:"_unit_1ahbo_282",priceSection:"_priceSection_1ahbo_285",priceUnit:"_priceUnit_1ahbo_296"},S="./assets/icon-album-cover.101d7fe7.png";e("default",n({name:"train-tool",setup:function(){var e=r(),n=i(),T=a("rgba(55, 205, 177, 0)"),M=a("#fff"),O=s({details:{},albumId:e.query.albumId||null,activeTab:"SUBJECT",loading:!1,finished:!1,isError:!1,list:[],popupStatus:!1,selectMember:{},buyList:[{purchaseCycle:6,salePrice:0,costPrice:0,status:!0},{purchaseCycle:12,salePrice:0,costPrice:0,status:!1},{purchaseCycle:18,salePrice:0,costPrice:0,status:!1},{purchaseCycle:24,salePrice:0,costPrice:0,status:!1},{purchaseCycle:30,salePrice:0,costPrice:0,status:!1},{purchaseCycle:36,salePrice:0,costPrice:0,status:!1}],ensembleCounts:!1,musicCounts:!1,subjectCounts:!1}),N=s({page:1,rows:20}),W=a("STUDENT"===c.platformType?"/api-student":"/api-teacher"),L=function(){var e=o(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.post(W.value+"/userTenantAlbumRecord/detail?albumId="+O.albumId);case 3:n=e.sent,r=n.data,O.details=r||{},console.log(O.details,"details"),O.buyList.forEach((function(e,t){e.salePrice=(t+1)*r.salePrice,e.costPrice=(t+1)*r.costPrice})),O.selectMember=t({},O.buyList[0]),O.ensembleCounts=!(r.ensembleCounts<=0),O.subjectCounts=!(r.subjectCounts<=0),O.musicCounts=!(r.musicCounts<=0),O.subjectCounts?O.activeTab="SUBJECT":O.ensembleCounts?O.activeTab="ENSEMBLE":O.musicCounts&&(O.activeTab="MUSIC"),e.next=17;break;case 15:e.prev=15,e.t0=e.catch(0);case 17:case"end":return e.stop()}}),e,null,[[0,15]])})));return function(){return e.apply(this,arguments)}}(),D=function(){var e=o(regeneratorRuntime.mark((function e(){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!O.loading){e.next=2;break}return e.abrupt("return");case 2:return console.log(O.details,"state.details"),O.loading=!0,O.isError=!1,n=t({albumId:O.details.id||null,subjectType:O.activeTab},N),e.prev=6,e.next=9,f.post("".concat(W.value,"/tenantAlbumMusic/page"),{data:n});case 9:if(r=e.sent,o=r.data,!(O.list.length>0&&1===o.pageNo)){e.next=13;break}return e.abrupt("return");case 13:O.list=O.list.concat(o.rows||[]),N.page=o.pageNo+1,O.loading=!1,O.finished=o.pageNo>=o.totalPage,N.page=o.pageNo+1,e.next=23;break;case 20:e.prev=20,e.t0=e.catch(6),O.isError=!0;case 23:O.loading=!1;case 24:case"end":return e.stop()}}),e,null,[[6,20]])})));return function(){return e.apply(this,arguments)}}();l(o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w(document,"scroll",(function(e){x().y.value>20?(T.value="rgba(255, 255, 255)",M.value="black",u({api:"backIconChange",content:{iconStyle:"black"}})):(T.value="transparent",M.value="#fff",u({api:"backIconChange",content:{iconStyle:"white"}}))})),e.next=3,L();case 3:return e.next=5,D();case 5:case"end":return e.stop()}}),e)}))));var H=function(){var e=o(regeneratorRuntime.mark((function e(){var n,r,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=O.selectMember,r=O.details,z.orderObject.orderType="TENANT_ALBUM",z.orderObject.orderName=r.name,z.orderObject.orderDesc=r.name,z.orderObject.actualPrice=n.salePrice,z.orderObject.orderNo="",z.orderObject.orderList=[t(t({orderType:"TENANT_ALBUM",goodsName:r.name,actualPrice:n.salePrice,price:n.salePrice},r),n)],e.next=10,f.post("/api-student/userOrder/getPendingOrder",{data:{goodType:"TENANT_ALBUM",bizId:r.id}});case 10:i=e.sent,(a=i.data)?(O.popupStatus=!1,g.confirm({title:"提示",message:"您有一个未支付的订单,是否继续支付?",confirmButtonColor:"#269a93",cancelButtonText:"取消订单",confirmButtonText:"继续支付"}).then(o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:z.orderObject.orderNo=a.orderNo,z.orderObject.actualPrice=a.actualPrice,z.orderObject.discountPrice=a.discountPrice,z.orderObject.paymentConfig=a.paymentConfig,I();case 5:case"end":return e.stop()}}),e)})))).catch((function(){g.close(),G(a.orderNo)}))):I();case 13:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),I=function(){var e=O.details;n.push({path:"/orderDetail",query:{orderType:"ALBUM",album:e.id}})},G=function(){var e=o(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,f.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)}}();return function(){var e,t,r,o,i,a;return m("div",{class:E.trainTool},[m(C,{position:"top"},{default:function(){return[m(P,{background:T.value,border:!1,isFixed:!1,color:M.value,backIconColor:"white"},null)]}}),m("img",{class:E.bgImg,src:null===(e=O.details)||void 0===e?void 0:e.coverImg},null),m("div",{class:E.musicContent},null),m("div",{class:E.bg},[m("div",{class:E.alumWrap},[m("div",{class:E.img},[m(v,{class:E.image,width:"100%",height:"100%",fit:"cover",src:(null===(t=O.details)||void 0===t?void 0:t.coverImg)||S,errorIcon:S},null),m("span",{class:E.numContent},[m("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAYCAYAAAD6S912AAAAAXNSR0IArs4c6QAAAU9JREFUSEvNlT8sBFEQh79ZHVGJ5E5EJLcqhU6nUEgkFFZzlYpGobhOIoJEIVFsp6ERhWhQnOQ6BYlEpxAFIkG4RJQnCrcjK/7d7e2623vEK9/7zW++l3kzTzC85MNP7ZEUyLTCIEoSoSEyl1JEuBfIgS7Jxe6lr38z1K7RIVVvC6QpHrAWRKy0nG/viU+mcBLf7POOBYEeUdtZVZiIR1YaJbAmnu3cAO0mDIFb8VLOS0kBLAGnH9pao3PcPcDOPnj6pVOKPuG3HWC4D3EzVQFrxoXsQYk2aNjbDRsLiGVFvxrPg7E5OD79wdA/7khAoiWaMv8I1/mAJkhY1WXDRX9g2JmE9XmkQpX16RlmViB7GIoYJEwPIIuToQGaO4Kp5RoMmxthdrzyO/QJ3U04u6rB8P8Vpbz16iF8bz2zw8H4+DI+YI1/Ab/ySdVT2PLYVxYzj1+d5XjBAAAAAElFTkSuQmCC",class:E.iconMenu},null),b("共"),null===(r=O.details)||void 0===r?void 0:r.musicNum,b("首")]),m("div",{class:E.iconPian},[m(v,{class:E.image,width:"100%",height:"100%",fit:"cover",src:null===(o=O.details)||void 0===o?void 0:o.coverImg},null)])]),m("div",{class:E.alumDes},[m("div",{class:[E.alumTitle,"van-ellipsis"]},[null===(i=O.details)||void 0===i?void 0:i.name]),m("div",{class:[E.des,"van-multi-ellipsis--l2"],style:{height:"32px",lineHeight:"16px"}},[null===(a=O.details)||void 0===a?void 0:a.describe])])])]),m("div",{class:E.musicList},[m(A,{color:"var(--van-primary)",background:"transparent",lineWidth:20,shrink:!0,active:O.activeTab,"onUpdate:active":function(e){return O.activeTab=e},onChange:function(e){O.activeTab=e,N.page=1,O.list=[],D()}},{default:function(){return[O.subjectCounts&&m(y,{title:"声部练习",name:"SUBJECT"},null),O.musicCounts&&m(y,{title:"合奏练习",name:"ENSEMBLE"},null),O.ensembleCounts&&m(y,{title:"独奏曲目",name:"MUSIC"},null)]}}),m("div",{class:E.alumnList},[m(j,{loading:O.loading,finished:O.finished,"finished-text":" ",onLoad:D,immediateCheck:!1,error:O.isError},{default:function(){return[O.list&&O.list.length?m(k,{showNumber:!0,list:O.list,onDetail:function(e){n.push({path:"/music-detail",query:{id:e.id}})}},null):!O.loading&&m(_,{tips:"暂无曲目",classImgSize:"SMALL",btnStatus:!1},null)]}})])]),!O.loading&&!O.details.ifBuy&&m(C,{position:"bottom"},{default:function(){return[m("div",{class:E.btnGroup},[m(d,{round:!0,block:!0,color:"#FE2451",onClick:function(){return O.popupStatus=!0}},{default:function(){return[b("购买教程")]}})])]}}),m(p,{show:O.popupStatus,"onUpdate:show":function(e){return O.popupStatus=e},position:"bottom",round:!0,zIndex:9999,"safe-area-inset-bottom":!0,closeable:!1,class:E.popupStatus,onClose:function(){return O.popupStatus=!1}},{default:function(){return[m("div",{class:E.bottom_function},[m("i",{class:E.iconClose,onClick:function(){return O.popupStatus=!1}},null),m("img",{src:"./assets/icon-right-top.1c7d1f37.png",class:E.iconRightTop},null),m("div",{class:E.memberMeal},[m("div",{class:E.titleMeal},[m("span",null,[b("请选择教程购买周期")])]),m("div",{class:E["system-list"]},[O.buyList.map((function(e){return m("div",{class:[E["system-item"],e.status&&E.active],onClick:function(){O.buyList.forEach((function(e){e.status=!1})),e.status=!0,O.selectMember=e}},[m("p",{class:E.title},[e.purchaseCycle,b("个月")]),m("p",{class:E.price},[m("span",null,[b("¥")]),h(e.salePrice,"0,0[.]00")]),m("del",{class:E.originalPrice},[b("¥"),h(e.costPrice,"0,0[.]00")])])}))])]),m("div",{class:E.btnGroup},[m(d,{round:!0,block:!0,class:E.btn,onClick:H},{default:function(){return[b("点击购买")]}})])])]}})])}}}))}}}))}();