index-legacy.7dec9806.js 42 KB

1
  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 i=null!=arguments[r]?arguments[r]:{};r%2?e(Object(i),!0).forEach((function(e){n(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,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,i,o,a){try{var s=e[o](a),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,l,"next",e)}function l(e){r(a,i,o,s,l,"throw",e)}s(void 0)}))}}var o=document.createElement("style");o.innerHTML='._albumContainer_1c01r_1::-webkit-scrollbar{display:none}._albumContainer_1c01r_1{width:100%;overflow:hidden;overflow-x:auto;display:flex;padding:0 .42667rem;box-sizing:border-box;flex-wrap:nowrap}._albumContainer_1c01r_1 ._album_1c01r_1{margin-right:.53333rem;width:2.50667rem;flex-shrink:0}._albumContainer_1c01r_1 ._album_1c01r_1 ._albumType_1c01r_19{position:absolute;left:0;top:0;background:linear-gradient(180deg,#ff8900 0%,#ff5100 100%);box-shadow:0 .02667rem .05333rem rgba(150,13,0,.11);border-radius:.26667rem 0;font-size:.32rem;padding:0 .16rem;line-height:.53333rem;color:#fff;z-index:9}._albumContainer_1c01r_1 ._album_1c01r_1 ._main_1c01r_32{position:relative}._albumContainer_1c01r_1 ._album_1c01r_1 ._main_1c01r_32 ._favorite_1c01r_35{position:absolute;bottom:.21333rem;text-align:center;transform:translate(50%);background-color:var(--favorite-bg);color:var(--favorite-text-color);padding:.05333rem .18667rem;border-radius:.26667rem;font-size:.29333rem}._albumContainer_1c01r_1 ._album_1c01r_1 ._main_1c01r_32 ._favorite_1c01r_35>span{color:var(--favorite-color)}._albumContainer_1c01r_1 ._album_1c01r_1 ._img_1c01r_49{width:2.50667rem;height:2.50667rem;position:relative}._albumContainer_1c01r_1 ._album_1c01r_1 ._img_1c01r_49>img,._albumContainer_1c01r_1 ._album_1c01r_1 ._img_1c01r_49>div{position:absolute;border-radius:.26667rem;overflow:hidden}._albumContainer_1c01r_1 ._album_1c01r_1 ._title_1c01r_60{padding-top:.21333rem;font-size:.37333rem;color:#333;font-weight:400;width:2.50667rem;text-align:center}._albumContainer_1c01r_1 ._album_1c01r_1 ._model_1c01r_68{position:absolute;left:.10667rem;bottom:.10667rem;background:rgba(67,67,67,.6);backdrop-filter:blur(.53333rem);-webkit-backdrop-filter:blur(.53333rem);display:flex;align-items:center;padding:.10667rem .16rem;border-radius:.53333rem;font-size:.32rem;color:#fff;transform:scale(.9)}._albumContainer_1c01r_1 ._album_1c01r_1 ._num_1c01r_83{margin-left:.08rem}._title_1bbb0_1{padding:.53333rem .37333rem .32rem;background:transparent!important}._title_1bbb0_1 .van-cell__value{font-size:.32rem}._cellTitle_1bbb0_8{font-size:.45333rem;color:#333;font-weight:600;display:flex;align-items:center}._cellTitle_1bbb0_8:before{width:.10667rem;height:.37333rem;border-radius:.10667rem;margin-top:-.05333rem;content:" ";background:linear-gradient(to bottom,#59e5d5,#2dc7aa);display:inline-block;margin-right:.16rem}._cellValue_1bbb0_25{line-height:.53333rem;height:.53333rem;padding:.05333rem .13333rem 0 .18667rem;background:#dfefec;display:inline-block;border-radius:.53333rem;color:var(--van-primary)}._cellGroup_10uju_1{padding:.26667rem .21333rem;margin-top:.21333rem;margin-bottom:.42667rem}._cellGroup_10uju_1 .van-cell{padding:0 0 .42667rem}._cellGroup_10uju_1 .van-cell:last-child{padding:0}._infoImg_10uju_12{width:2.77333rem;height:1.92rem;border-radius:.16rem;overflow:hidden}._valueContent_10uju_18{margin-left:.26667rem;display:flex;flex-direction:column;justify-content:space-between}._valueContent_10uju_18 h2{font-size:.37333rem;font-weight:400;color:#333;line-height:.53333rem}._valueContent_10uju_18 p{font-size:.29333rem;color:#999;line-height:.42667rem}._swipeType_1yx4c_1{padding-top:.53333rem;padding-bottom:.53333rem}._swipeType_1yx4c_1 .van-swipe__indicators{bottom:.32rem}._swipeType_1yx4c_1 .van-swipe__indicator:not(:last-child){margin-right:0}._swipeType_1yx4c_1 .van-swipe__indicator{width:.53333rem;height:.10667rem;background:#ebebeb;border-radius:.10667rem}._swipeTypeShow_1yx4c_17{padding-bottom:.8rem}._typeSection_1yx4c_20{display:flex;align-items:center}._typeItem_1yx4c_24{width:20%;text-align:center}._typeItem_1yx4c_24 ._swipeTypeImg_1yx4c_28{width:1.33333rem;height:1.33333rem;border-radius:50%;overflow:hidden}._typeItem_1yx4c_24 ._typeName_1yx4c_34{font-size:.32rem;color:#333}._title_1eb2o_1{padding:.53333rem .37333rem .32rem;background:transparent}._title_1eb2o_1 .van-cell__value{font-size:.32rem}._cellTitle_1eb2o_8{font-size:.45333rem;color:#333;font-weight:600;display:flex;align-items:center}._cellTitle_1eb2o_8:before{width:.10667rem;height:.37333rem;border-radius:.10667rem;margin-top:-.05333rem;content:" ";background:linear-gradient(to bottom,#59e5d5,#2dc7aa);display:inline-block;margin-right:.16rem}._cellValue_1eb2o_25{line-height:.53333rem;height:.53333rem;padding:.05333rem .13333rem 0 .18667rem;background:#dfefec;display:inline-block;border-radius:.53333rem;color:var(--van-primary)}._hotMusic_1eb2o_34 ._swipeItem_1eb2o_34 ._swipeChild_1eb2o_34{padding-left:.37333rem}._hotMusic_1eb2o_34 ._swipeItem_1eb2o_34:last-child ._swipeChild_1eb2o_34{padding-right:.37333rem}._theSong_qtml0_1{padding:0 .26667rem;background-color:#fff;border-radius:.21333rem;box-shadow:0 .05333rem .26667rem rgba(229,229,229,.1)}._theSong_qtml0_1 ._item_qtml0_7{display:flex;align-items:center;border-bottom:.02667rem solid #e8e8e8;padding:.42667rem 0}._theSong_qtml0_1 ._item_qtml0_7:last-child{border:none}._theSong_qtml0_1 ._play_qtml0_16{flex-shrink:0}._theSong_qtml0_1 ._iconFine_qtml0_19{width:.42667rem;height:.53333rem;margin-right:.16rem;flex-shrink:0}._theSong_qtml0_1 ._iconAlbum_qtml0_25{width:.4rem;height:.4rem;margin-right:.16rem;flex-shrink:0}._theSong_qtml0_1 ._content_qtml0_31{flex:1}._theSong_qtml0_1 ._content_qtml0_31 ._top_qtml0_34{display:flex;align-items:center;margin-bottom:.26667rem}._theSong_qtml0_1 ._content_qtml0_31 ._tag_qtml0_39{flex-shrink:0;padding:.05333rem .10667rem;border-radius:.10667rem}._theSong_qtml0_1 ._content_qtml0_31 ._user_qtml0_44{display:flex;align-items:center}._theSong_qtml0_1 ._content_qtml0_31 ._user_qtml0_44 ._name_qtml0_48{font-size:.37333rem;color:#999;line-height:.42667rem;margin-right:.32rem;max-width:4rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._theSong_qtml0_1 ._content_qtml0_31 ._user_qtml0_44 ._tags_qtml0_58{font-size:.32rem}._theSong_qtml0_1 ._content_qtml0_31 ._user_qtml0_44 ._tags_qtml0_58>span{display:inline-block;background:#effbf9;border-radius:.53333rem;color:var(--van-primary-color);padding:.10667rem .21333rem;margin-right:.10667rem}._theSong_qtml0_1 ._content_qtml0_31 ._title_qtml0_69{max-width:3.86667rem;font-size:.42667rem;font-weight:700;color:#1a1a1a;margin:0 .16rem 0 0}._theSong_qtml0_1 ._content_qtml0_31 ._singer_qtml0_76{max-width:1.33333rem;font-size:.32rem;color:#999}._sageContainer_16d3h_1::-webkit-scrollbar{display:none}._sageContainer_16d3h_1{width:100%;overflow:hidden;overflow-x:auto;display:flex;padding:0 .42667rem;box-sizing:border-box;flex-wrap:nowrap}._sageContainer_16d3h_1 ._sage_16d3h_1{position:relative;margin-right:.32rem;width:2.93333rem;padding:.4rem 0;flex-shrink:0;background-color:#fff;box-shadow:0 .05333rem .26667rem rgba(229,229,229,.1);border-radius:.26667rem;text-align:center}._sageContainer_16d3h_1 ._sage_16d3h_1 ._animation_16d3h_25{position:absolute;width:.34667rem;height:.32rem;top:.24rem;right:.21333rem}._sageContainer_16d3h_1 ._sage_16d3h_1 ._header_16d3h_32{position:relative;border:.05333rem solid var(--van-primary);width:1.54667rem;height:1.54667rem;border-radius:50%;margin:0 auto}._sageContainer_16d3h_1 ._sage_16d3h_1 ._header_16d3h_32 ._living_16d3h_40{position:absolute;bottom:-.16rem;left:.13333rem;background:linear-gradient(216deg,#ff8b39 0%,#ff4046 100%);border-radius:.18667rem;border:.02667rem solid #ffffff;font-size:.32rem;padding:.05333rem 0;width:1.28rem;color:#fff;border-radius:.26667rem}._sageContainer_16d3h_1 ._sage_16d3h_1 ._img_16d3h_53{width:1.54667rem;height:1.54667rem;position:relative}._sageContainer_16d3h_1 ._sage_16d3h_1 ._img_16d3h_53>img,._sageContainer_16d3h_1 ._sage_16d3h_1 ._img_16d3h_53>div{position:absolute;border-radius:50%;overflow:hidden}._sageContainer_16d3h_1 ._sage_16d3h_1 ._username_16d3h_64{font-size:.37333rem;font-weight:600;padding-top:.32rem;color:#333;line-height:.53333rem;max-width:2.34667rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 auto}._sageContainer_16d3h_1 ._sage_16d3h_1 ._cert_16d3h_76{font-size:.32rem;color:#999;line-height:.45333rem;padding:.10667rem 0 .21333rem}._sageContainer_16d3h_1 ._sage_16d3h_1 ._btn_16d3h_82{padding:.32rem 0;width:1.6rem;font-size:.34667rem}._sageContainer_16d3h_1 ._sage_16d3h_1 ._btn_16d3h_82._van-button--disabled_16d3h_87{opacity:1}._style_1fq3q_1{padding:0 .37333rem}._lineContainer_1fq3q_4{display:flex;flex-flow:wrap;justify-content:space-between}._line_1fq3q_4{width:4.48rem}._styleItem_1fq3q_12{position:relative;width:4.48rem;overflow:hidden;box-shadow:0 .05333rem .26667rem rgba(229,229,229,.1);border-radius:.21333rem;background-color:#fff;margin-bottom:.32rem}._styleItem_1fq3q_12 ._styleImg_1fq3q_21{position:relative}._styleItem_1fq3q_12 ._img_1fq3q_24{width:4.48rem;height:4.48rem}._styleItem_1fq3q_12 ._img_1fq3q_24._first_1fq3q_28{height:5.92rem}._styleItem_1fq3q_12 ._iconVideoPlay_1fq3q_31{position:absolute;top:.21333rem;right:.21333rem;width:.64rem;height:.64rem}._styleItem_1fq3q_12 ._living_1fq3q_38{position:absolute;top:.4rem;right:0;line-height:.64rem;background:rgba(0,0,0,.2);border-radius:.34667rem 0 0 .34667rem;display:flex;align-items:center}._styleItem_1fq3q_12 ._living_1fq3q_38 ._animationContainer_1fq3q_48{width:.64rem;height:.64rem;background:linear-gradient(180deg,#ff6e6e 0%,#ff3b3b 100%);border-radius:50%;display:flex;align-items:center;justify-content:center}._styleItem_1fq3q_12 ._living_1fq3q_38 ._animation_1fq3q_48{width:.29333rem;height:.26667rem}._styleItem_1fq3q_12 ._living_1fq3q_38 span{font-size:.32rem;color:#fff;line-height:.45333rem;padding:0 .18667rem 0 .13333rem}._styleItem_1fq3q_12 ._userInfo_1fq3q_67{padding:.37333rem .26667rem}._styleItem_1fq3q_12 ._userInfo_1fq3q_67,._styleItem_1fq3q_12 ._user_1fq3q_67{display:flex;align-items:center;justify-content:space-between}._styleItem_1fq3q_12 ._user_1fq3q_67 ._userImg_1fq3q_76{width:.42667rem;height:.42667rem;border-radius:50%;overflow:hidden;margin-right:.13333rem}._styleItem_1fq3q_12 ._user_1fq3q_67 span{font-size:.32rem;color:#333;line-height:.45333rem;max-width:1.86667rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._styleItem_1fq3q_12 ._lookNum_1fq3q_92{font-size:.32rem;color:#999;line-height:.45333rem}._theHomeHeader_z8488_1{background-color:#fff;padding:.26667rem .37333rem;z-index:100}._theHomeHeader_z8488_1 ._content_z8488_6{display:flex;align-items:center}._theHomeHeader_z8488_1 ._content_z8488_6 ._mall_z8488_10{width:1.65333rem;height:.93333rem;flex-shrink:0}._theHomeHeader_z8488_1 ._content_z8488_6 ._cart_z8488_15{width:.58667rem;height:.58667rem;flex-shrink:0;margin-left:.42667rem}._theHomeHeader_z8488_1 ._searchBox_z8488_21{flex:1;display:flex;align-items:center;padding:0 .42667rem;background-color:#f8f8f8;border-radius:.53333rem;color:#ccc;height:.8rem;margin-left:.10667rem}._theHomeHeader_z8488_1 ._searchBox_z8488_21 ._iconSearch_z8488_32{width:.42667rem;height:.42667rem;margin-right:.42667rem}._videoContainer_1jqb5_1::-webkit-scrollbar{display:none}._videoContainer_1jqb5_1{width:100%;overflow:hidden;overflow-x:auto;display:flex;padding:0 .42667rem;box-sizing:border-box;flex-wrap:nowrap}._videoItem_1jqb5_14{flex-shrink:0;border-radius:.21333rem;background-color:#fff;overflow:hidden;width:3.94667rem;margin-right:.32rem}._videoItem_1jqb5_14 ._viCover_1jqb5_22{height:2.50667rem;width:100%;vertical-align:middle}._videoItem_1jqb5_14 ._viSection_1jqb5_27{padding:.21333rem .32rem .34667rem}._videoItem_1jqb5_14 ._viTitle_1jqb5_30{font-size:.37333rem;color:#1a1a1a;line-height:.53333rem}._videoItem_1jqb5_14 ._viUserNum_1jqb5_35{color:#ff802c;font-size:.32rem}._videoItem_1jqb5_14 ._subjectName_1jqb5_39{position:absolute;bottom:.16rem;right:.16rem;font-size:.26667rem;padding:.08rem .13333rem;color:#fff;line-height:1;border-radius:.05333rem;background:rgba(0,0,0,.29)}._videoItem_1jqb5_14 ._viUser_1jqb5_35{display:flex;align-items:center;justify-content:space-between;padding-top:.16rem}._videoItem_1jqb5_14 ._viUser_1jqb5_35 ._viUserName_1jqb5_56{font-size:.32rem;color:#999;line-height:.45333rem;max-width:1.86667rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}._videoItem_1jqb5_14 ._viUser_1jqb5_35 ._viUserNum_1jqb5_35{display:flex;align-items:center}._videoItem_1jqb5_14 ._viUser_1jqb5_35 ._viUserNum_1jqb5_35:before{content:" ";display:inline-block;width:.10667rem;height:.10667rem;background:#ff8901;border-radius:50%;margin-right:.21333rem}._hotContent_17auz_1{padding:.29333rem .37333rem 0;background-color:#fff;border-radius:0 0 .48rem .48rem}._swipe_17auz_6{height:35.2vmin;border-radius:.26667rem;overflow:hidden}._swipe_17auz_6 ._swipeItemImg_17auz_11{height:100%;width:100%}._swipe_17auz_6 .van-swipe__indicators{right:.26667rem;left:initial}._swipe_17auz_6 .van-swipe__indicator{transition:width .3s}._swipe_17auz_6 .van-swipe__indicator--active{width:.32rem;border-radius:.10667rem}._homeTabs_17auz_26{margin-top:.48rem}._homeTabs_17auz_26 .van-tab{font-size:.48rem;color:#999;font-weight:600;position:relative;z-index:2}._homeTabs_17auz_26 .van-tab--active{color:#333}._homeTabs_17auz_26 .van-tabs__line{width:1.49333rem;height:.26667rem;background:rgba(45,199,170,.5);border-radius:.16rem;bottom:.66667rem}._download_1kf7v_1{background-color:#fff;border-radius:.69333rem;overflow:hidden;text-align:center}._download_1kf7v_1 ._downloadBtn_1kf7v_7{background:linear-gradient(180deg,#59e5d5 0%,#2dc7aa 100%);border-radius:1.04rem;color:#fff;font-size:.48rem;line-height:.66667rem;width:5.17333rem;margin-top:.74667rem;margin-bottom:.90667rem}\n',document.head.appendChild(o),System.register(["./index-legacy.fba2875c.js","./index-legacy.ec32ced6.js","./index-legacy.91d85717.js","./index-legacy.af00a324.js","./index-legacy.d92f7da7.js","./index-legacy.edb65d0c.js","./index-legacy.5aeab789.js","./icon-xin-active-legacy.a17aecbf.js","./index-legacy.7dcec7b3.js","./index-legacy.f231f1c5.js","./index-legacy.a7012d0a.js","./icon-play-legacy.50b88257.js","./icon_exquisite-legacy.178b582f.js","./icon_album_active-legacy.d2829e23.js","./index-legacy.a026685b.js","./auth-legacy.0b00e81c.js","./routes-common-legacy.6845df4a.js","./use-id-legacy.db87b112.js","./use-tab-status-legacy.8752ccde.js","./use-refs-legacy.2affcb61.js"],(function(e){"use strict";var n,r,o,a,s,l,c,_,u,d,m,f,p,h,g,b,v,w,A,q,y,x,C,k,I,S,j,z,E,U,T,B,M,V,N,R,F,L,Y;return{setters:[function(e){n=e.d,r=e.j,o=e.z,a=e.M,s=e.P,l=e.F,c=e.Q,_=e.br,u=e.C,d=e.Z,m=e.U,f=e.S,p=e.B,h=e.W,g=e.X,b=e.n,v=e.f,w=e.p,A=e.g,q=e.b0,y=e.bq,x=e.aR,C=e.a},function(e){k=e.a},function(e){I=e.P},function(e){S=e.a,j=e.S},function(e){z=e.I},function(){},function(e){E=e.T,U=e.a},function(e){T=e.I,B=e.a},function(e){M=e.C},function(e){V=e.C},function(e){N=e.L},function(e){R=e.I},function(e){F=e.i},function(e){L=e.i},function(e){Y=e.C},function(){},function(){},function(){},function(){},function(){}],execute:function(){var O="_albumContainer_1c01r_1",G="_album_1c01r_1",H="_albumType_1c01r_19",K="_main_1c01r_32",P="_img_1c01r_49",D="_title_1c01r_60",X="_model_1c01r_68",Q="_num_1c01r_83",J="_title_1bbb0_1",W="_cellTitle_1bbb0_8",Z="_cellValue_1bbb0_25",$=n({name:"the-music",props:{title:{type:String,default:""}},emits:["detail"],setup:function(e,t){var n=t.emit;return function(){return r(M,{class:J,titleClass:W,title:e.title,border:!1},{value:function(){return r("span",{class:Z,onClick:function(){n("detail")}},[o("更多"),r(a,{name:"arrow"},null)])}})}}}),ee={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new i(r,o||e,a),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);i<o;i++)a[i]=r[i].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,i,o,a){var s=n?n+e:e;if(!this._events[s])return!1;var l,c,_=this._events[s],u=arguments.length;if(_.fn){switch(_.once&&this.removeListener(e,_.fn,void 0,!0),u){case 1:return _.fn.call(_.context),!0;case 2:return _.fn.call(_.context,t),!0;case 3:return _.fn.call(_.context,t,r),!0;case 4:return _.fn.call(_.context,t,r,i),!0;case 5:return _.fn.call(_.context,t,r,i,o),!0;case 6:return _.fn.call(_.context,t,r,i,o,a),!0}for(c=1,l=new Array(u-1);c<u;c++)l[c-1]=arguments[c];_.fn.apply(_.context,l)}else{var d,m=_.length;for(c=0;c<m;c++)switch(_[c].once&&this.removeListener(e,_[c].fn,void 0,!0),u){case 1:_[c].fn.call(_[c].context);break;case 2:_[c].fn.call(_[c].context,t);break;case 3:_[c].fn.call(_[c].context,t,r);break;case 4:_[c].fn.call(_[c].context,t,r,i);break;default:if(!l)for(d=1,l=new Array(u-1);d<u;d++)l[d-1]=arguments[d];_[c].fn.apply(_[c].context,l)}}return!0},s.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||a(this,o);else{for(var l=0,c=[],_=s.length;l<_;l++)(s[l].fn!==t||i&&!s[l].once||r&&s[l].context!==r)&&c.push(s[l]);c.length?this._events[o]=1===c.length?c[0]:c:a(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s}(ee);var te=new(0,ee.exports),ne=n({name:"hot-album",props:{album:{type:Array,default:[]}},setup:function(e){return s(),function(){return r(l,null,[e.album.length>0&&r($,{title:"热门专辑",onDetail:function(){te.emit("downloadApp")}},null),r("div",{class:O},[e.album.map((function(e){return r("div",{class:G,key:e.id,onClick:function(){te.emit("downloadApp")}},[r("div",{class:K},["CHARGE"===e.paymentType&&r("span",{class:H},[o("付费")]),r(z,{class:P,src:e.albumCoverUrl},null),r("div",{class:X},[r(a,{name:e.favorite?T:B},null),r("span",{class:Q},[e.albumFavoriteCount,o("人")])])]),r("h4",{class:[D,"van-ellipsis"]},[e.albumName])])}))])])}}}),re={cellGroup:"_cellGroup_10uju_1",infoImg:"_infoImg_10uju_12",valueContent:"_valueContent_10uju_18"};var ie=n({name:"info-list",setup:function(){s();var e=c({platformType:"STUDENT",type:"1",clientType:"STUDENT",page:1,rows:20}),n=c({list:[],dataShow:!0,loading:!1,finished:!1}),o=function(){var r=i(regeneratorRuntime.mark((function r(){var i,o;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,k.post("/api-cms/news/page",{data:t({},e)});case 3:if(i=r.sent,n.loading=!1,o=i.data||{},!(n.list.length>0&&1===o.pageNo)){r.next=8;break}return r.abrupt("return");case 8:n.list=n.list.concat(o.rows||[]),n.finished=o.pageNo>=o.totalPage,e.page=o.pageNo+1,n.dataShow=n.list.length>0,r.next=18;break;case 14:r.prev=14,r.t0=r.catch(0),n.dataShow=!1,n.finished=!0;case 18:case"end":return r.stop()}}),r,null,[[0,14]])})));return function(){return r.apply(this,arguments)}}();return o(),function(){var e;return r(l,null,[n.dataShow?r(N,{loading:n.loading,"onUpdate:loading":function(e){return n.loading=e},finished:n.finished,finishedText:" ",immediateCheck:!1,class:[re.liveList],onLoad:o},{default:function(){return[r(V,{inset:!0,class:n.list.length>0&&re.cellGroup},(t=e=n.list.map((function(e){return r(M,{valueClass:re.valueContent,onClick:function(){te.emit("downloadApp")}},{icon:function(){return r(z,{src:e.coverImage,class:re.infoImg},null)},value:function(){return r(l,null,[r("h2",{class:"van-multi-ellipsis--l2"},[e.title]),r("p",null,[_(e.createTime,"YYYY年MM月DD日")])])}})})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!d(t)?e:{default:function(){return[e]}}))];var t}}):r(u,{btnStatus:!1,classImgSize:"SMALL",tips:"暂无热门资讯"},null)])}}}),oe="_swipeType_1yx4c_1",ae="_swipeTypeShow_1yx4c_17",se="_typeSection_1yx4c_20",le="_typeItem_1yx4c_24",ce="_swipeTypeImg_1yx4c_28",_e="_typeName_1yx4c_34";function ue(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!d(e)}var de=n({name:"menu-list",props:{productList:{type:Array,default:[]},onOpenWebView:{type:Function,default:function(e){}}},render:function(){var e;return r(j,{class:[oe,this.productList.length>1&&ae],"indicator-color":"var(--van-primary)",loop:!1,showIndicators:this.productList.length>1},ue(e=this.productList.map((function(e){var t;return r(S,{class:se},ue(t=e.map((function(e){return r("div",{class:le,onClick:function(){te.emit("downloadApp")}},[r(z,{class:ce,src:e.coverImage,fit:"cover"},null),r("p",{class:_e},[e.title])])})))?t:{default:function(){return[t]}})})))?e:{default:function(){return[e]}})}}),me="_hotMusic_1eb2o_34",fe="_swipeItem_1eb2o_34",pe="_swipeChild_1eb2o_34",he="_theSong_qtml0_1",ge="_item_qtml0_7",be="_play_qtml0_16",ve="_iconFine_qtml0_19",we="_iconAlbum_qtml0_25",Ae="_content_qtml0_31",qe="_top_qtml0_34",ye="_user_qtml0_44",xe="_name_qtml0_48",Ce="_tags_qtml0_58",ke="_title_qtml0_69",Ie="_singer_qtml0_76",Se=n({name:"TheSong",props:{list:{type:Array,default:function(){return[]}}},emits:["detail"],setup:function(e,t){var n=t.emit;return s(),function(){return r("div",{class:he},[e.list.map((function(e){return r("div",{class:ge,onClick:function(){return n("detail",e)}},[r("div",{class:Ae},[r("div",{class:qe},[1===e.exquisiteFlag&&r(z,{src:F,class:ve},null),e.albumNums>0&&r(z,{src:L,class:we},null),r("span",{class:[ke,"van-ellipsis"]},[e.musicSheetName]),r("span",{class:[Ie,"van-ellipsis"]},[o("-"),e.composer])]),r("div",{class:ye},[e.addName?r("div",{class:xe},[o("上传者:"),e.addName]):r("div",{class:xe},[o("作曲:"),e.composer]),r("div",{class:Ce},[null==e?void 0:e.subjectNames.split(",").map((function(e){return r("span",null,[e])}))])])]),r("div",{style:be},[r(a,{name:R,size:28},null)])])}))])}}});var je=n({name:"music-list",props:{title:{type:String,default:"最热曲目"},music:{type:Array,default:function(){return[]}}},setup:function(e){s(),m((function(){i()}));var t=f(312),n=f(!1),i=function(){n.value=!1;var e=document.body.clientWidth>750?750:document.body.clientWidth;t.value=e-63,n.value=!0};return function(){var i,o;return r(l,null,[e.music.length>0&&r($,{title:e.title,onDetail:function(){te.emit("downloadApp")}},null),r("div",{class:me},[n.value&&r(j,{showIndicators:!1,loop:!1,width:t.value},(o=i=e.music.map((function(e){return r(S,{class:fe},{default:function(){return[r("div",{class:pe},[r(Se,{list:e,onDetail:function(e){te.emit("downloadApp")}},null)])]}})})),"function"==typeof o||"[object Object]"===Object.prototype.toString.call(o)&&!d(o)?i:{default:function(){return[i]}}))])])}}}),ze="_sageContainer_16d3h_1",Ee="_sage_16d3h_1",Ue="_animation_16d3h_25",Te="_header_16d3h_32",Be="_living_16d3h_40",Me="_img_16d3h_53",Ve="_username_16d3h_64",Ne="_cert_16d3h_76",Re="_btn_16d3h_82",Fe=n({name:"recommend-sage",props:{title:{type:String,default:"推荐达人"},sage:{type:Array,default:function(){return[]}}},setup:function(e){return s(),function(){return r(l,null,[e.sage.length>0&&r($,{title:e.title,onDetail:function(){te.emit("downloadApp")}},null),r("div",{class:ze},[e.sage.map((function(e){return r("div",{class:Ee,key:e.id,onClick:function(){te.emit("downloadApp")}},[e.living&&r(z,{src:"./assets/bars.d9d69cc5.svg",class:Ue},null),r("div",{class:Te},[r(z,{class:Me,src:e.avatar,fit:"cover"},null),e.living&&r("span",{class:Be},[o("直播中")])]),r("p",{class:Ve},[e.username]),r("p",{class:Ne},[o("认证达人")]),r(p,{round:!0,size:"mini",class:Re,type:e.watch?"default":"primary",disabled:e.watch,onClick:function(){te.emit("downloadApp")}},{default:function(){return[e.watch?"已关注":"关注"]}})])}))])])}}}),Le="_style_1fq3q_1",Ye="_lineContainer_1fq3q_4",Oe="_line_1fq3q_4",Ge="_styleItem_1fq3q_12",He="_styleImg_1fq3q_21",Ke="_img_1fq3q_24",Pe="_first_1fq3q_28",De="_iconVideoPlay_1fq3q_31",Xe="_living_1fq3q_38",Qe="_animationContainer_1fq3q_48",Je="_animation_1fq3q_48",We="_userInfo_1fq3q_67",Ze="_user_1fq3q_67",$e="_userImg_1fq3q_76",et="_lookNum_1fq3q_92",tt="./assets/bars2.c3b1c432.svg",nt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABANJREFUaEPVWktME0EY/v+hW3wUY6oXHxx8HDwoJnQpVg6ejEbjwUY9GW/GkxITIiFIvJJgYgIXTTmVmxgkEZsYCZEErC1bEjGKBx8h+EgMwkGxdLc7Y6a2WNaW7T7aunNrZ+b7/2/++We+mVkEG0pDQ8Nmt9u9BxF3A8B2SqkXETcwxmo5PCKmGGMrhJBFAFhgjH2SZfnjzMzMslXzaBYgEAhsVBTlEKX0MCFkJ/fTIBajlH4hhLwUBOFVNBpNGuyfaW7UKLS0tNQpinKUUuoDALcZowX6yISQhCAIzycnJ38YwTRCgIiiGACAYzY6rvVVBoBxSZKiAEBLIVISgUAg4FUU5TwA7Cg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Type:"STUDENT",page:1,rows:20}),n=c({list:[],dataShow:!0,loading:!1,finished:!1}),a=function(){var r=i(regeneratorRuntime.mark((function r(){var i,o;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,k.post("/api-student/teacher/stylePage",{data:t({},e)});case 3:if(i=r.sent,n.loading=!1,o=i.data||{},!(n.list.length>0&&1===o.pageNo)){r.next=8;break}return r.abrupt("return");case 8:n.list=n.list.concat(o.rows||[]),n.finished=o.pageNo>=o.totalPage,e.page=o.pageNo+1,n.dataShow=n.list.length>0,r.next=18;break;case 14:r.prev=14,r.t0=r.catch(0),n.dataShow=!1,n.finished=!0;case 18:case"end":return r.stop()}}),r,null,[[0,14]])})));return function(){return r.apply(this,arguments)}}();return a(),function(){return r(l,null,[n.dataShow?r(N,{loading:n.loading,"onUpdate:loading":function(e){return n.loading=e},finished:n.finished,finishedText:" ",immediateCheck:!1,class:Le,onLoad:a},{default:function(){return[r("div",{class:Ye},[r("div",{class:Oe},[n.list.map((function(e,t){return t%2==0&&r("div",{class:Ge,onClick:function(){te.emit("downloadApp")}},[r("div",{class:He},[r(z,{src:e.cover,fit:"cover",class:[Ke,0===t&&Pe]},null),1===e.living?r("div",{class:Xe},[r("div",{class:Qe},[r(z,{src:tt,class:Je},null)]),r("span",null,[o("直播中")])]):r(z,{src:nt,class:De},null)]),r("div",{class:We},[r("p",{class:Ze},[r(z,{src:e.avatar,fit:"cover",class:$e},null),r("span",null,[e.username])]),r("p",{class:et},[e.browse,o("人观看")])])])}))]),r("div",{class:Oe},[n.list.map((function(e,t){return t%2==1&&r("div",{class:Ge,onClick:function(){te.emit("downloadApp")}},[r("div",{class:He},[r(z,{src:e.cover,fit:"cover",class:[Ke,0===t&&Pe]},null),1===e.living?r("div",{class:Xe},[r("div",{class:Qe},[r(z,{src:tt,class:Je},null)]),r("span",null,[o("直播中")])]):r(z,{src:nt,class:De},null)]),r("div",{class:We},[r("p",{class:Ze},[r(z,{src:e.avatar,fit:"cover",class:$e},null),r("span",null,[e.username])]),r("p",{class:et},[e.browse,o("人观看")])])])}))])])]}}):r(u,{btnStatus:!1,classImgSize:"SMALL",tips:"暂无达人风采"},null)])}}}),it="_theHomeHeader_z8488_1",ot="_content_z8488_6",at="_mall_z8488_10",st="_cart_z8488_15",lt="_searchBox_z8488_21",ct="_iconSearch_z8488_32",_t=n({name:"TheHomeHeader",emits:["cart","more","search","headerDom"],setup:function(e,t){var n=t.emit,i=(t.expose,f(sessionStorage.getItem("navHeight")));b({api:"setBarStatus",content:{status:0}}),i.value||b({api:"getNavHeight"},(function(e){var t=e.content,n=t.dpi||2;if(t.navHeight){var r=t.navHeight/n+"";sessionStorage.setItem("navHeight",r),i.value=r}}));var a=f(null);return m((function(){h((function(){setTimeout((function(){var e=g(a).height;n("headerDom",e)}),300)}))})),function(){return r(Y,{position:"top"},{default:function(){return[r("div",{class:it,ref:a},[r("div",{style:{height:i.value+"px",background:"#fff"}},null),r("div",{class:ot},[r("img",{class:at,src:"./assets/icon-mall.96831ca5.png"},null),r("div",{class:lt,onClick:function(){return n("search")}},[r("img",{class:ct,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABLtJREFUWEe9l2toXEUUgM+Zu4kaQVKpVVLKZjMz2bYrRiEpEhHFltJqWpXijxbBNlUQrIoSKkIrFqvS+kb7Q3yB+kPoQ2tBqVLjI7WowUeFxt25s5uIkFCVsk26mN29c2R0d5ndbDebJuT8u/eexzdzzp1zBqEO0Vp3GWN6ELGbiNoRcSERNQLABACMAMBJxlh/KBT6KBwOn6nDZUkFayknk8l1QRA8BQAddTqdZIy96Xne062traP12FQFGBoaam1oaHifiG6ox0kVnQwi7hJC7J3OfgqA1nqlMeYDAFhYw5gAIAcANg215GA2m90ci8VsqqpKGYDWepUx5hMAaHC1icgGOwgAR0Kh0PFIJDKKiNmRkZEF+XyeE9EaItoIAMsroyDiN5OTk6tisVi2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0KMBKycrutn1hCsftV9cB83QSg96qHc22eq08rJRV9dyq952R1BzPS0VGLJb0qe84hq5Uv7gvJe6oP5kOD3pXNbaXBrjv1mbfSwMbFsrSz7+NdsdPvZCSzAtrbb1VDXdKBbzGVnEG0POSnndcdzR4ur3cdf1n8W1PbPXmFBLVfTfjkwzNvywtqXlqvP87/SJlrt8Tr5cbhpUoYKvUXNPXvnis1nKj6Wf6ebz2sRq64w0vAmizpmar42Vtf0fF2KqSnP0Lk64VW+T+aErhx8vl/a2zzMqK3MN1GVt5US3myL+znqxoCqrNFQ5cN3B3GnwwEGcX5l6gs3Lz11w9bHdFSiTMalDBsEkFiUTQZTfrFSlyl1B5z0hd8wU4coWUf7lUJWzJQneki4HyApErtwp0pAraal+N1CcDBR2pjzJ6BpMVumuCPntdVYXr8VJoTudhIBIfFotzXiiSlj+ObRk8clnIJAAAAABJRU5ErkJggg==",onClick:function(){return n("cart")}},null),r("img",{class:st,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABX5JREFUWEfFmGtsVEUUx393d4uo0eAzURGMGhqJpFst1mJVPpioAbXQ0vjBRA0mKD7jG4ymanxGExAfjfpBE9TgtqUQxRg/NCqwFq1bbRVJ8IE2qEEgiKZS2r3mv86s08vebbe7G07S9O69c87858x5/Gc8JiYR4EJgLjAbOBs4DTgK8IB9wO/AVuBL4CPz3y90OhkrRKYBtwHXAacUogj8ArwBtAI7x6s7XoAnAY8BNwGx8RoPGfcP8CrQAuwdy9Z4AF4LvAwcF2LsZ6DXeEhbK9FYebsKmBqipxBYCnTkA5kPoDz1IrAkh4FvgNeBtcCOMbwwA2gAFgN6dkUx+QJwDzCSy04YwMlm8isCSgr6+4H3xtqaHN81VxPwpEkqd0gnoJ06ENTLBbDCuH2+M1irexp4FDg4AXCuihYvW3cG7AikFjDKk7kAKt5ucZT/Mqt7v0hgQXVtueaa5HxYCdzlDgwClJvfcQb8DVwObCox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6JcFPghcCYwiAiVEexHwIXC0Y1PUP2F/5zq46/B8h6Ogg7t4ni6ISilauIC44HSy1IVSVnIBlKuluMAZdwPwZonQKSEeNkdanYesfGBa3PBYAPVdGeR2k1IB1H2PyofqrCviALpRUEiNkrDbrWDLKQagbGk3bnRIiQtCl5micTnZTRhAHeRduqQCOt4YFPkVGRUw1dIw5qxs1e2BjhGhEgZQl5e7gCklijvXjG4rFM+6VtEceSUMoJREGkUeSyXqrW8BKsJj3cpm58wHUIMUe8o4bZObcflAy0Oi+r+Zwt8DdAFbwq558xn7F6kwT18APmEPAAAAAElFTkSuQmCC",onClick:function(){return n("more")}},null)])])]}})}}}),ut="_videoContainer_1jqb5_1",dt="_videoItem_1jqb5_14",mt="_viCover_1jqb5_22",ft="_viSection_1jqb5_27",pt="_viTitle_1jqb5_30",ht="_viUserNum_1jqb5_35",gt="_subjectName_1jqb5_39",bt="_viUser_1jqb5_35",vt="_viUserName_1jqb5_56",wt=n({name:"video-class",props:{video:{type:Array,default:function(){return[]}}},setup:function(e){return s(),function(){return r(l,null,[e.video.length>0&&r($,{title:"精品视频课",onDetail:function(){te.emit("downloadApp")}},null),r("div",{class:ut},[e.video.map((function(e){return r("div",{class:dt,onClick:function(){te.emit("downloadApp")}},[r("div",{style:{position:"relative"}},[r(z,{class:mt,fit:"cover",src:null==e?void 0:e.lessonCoverUrl},null),r("span",{class:gt},[null==e?void 0:e.subjectName])]),r("div",{class:ft},[r("div",{class:[pt,"van-ellipsis"]},[null==e?void 0:e.videoGroupName]),r("div",{class:bt},[r("div",{class:vt},[e.teacherName]),r("div",{class:ht},[null==e?void 0:e.buyCount,o("人在学")])])])])}))])])}}}),At={hotContent:"_hotContent_17auz_1",swipe:"_swipe_17auz_6",swipeItemImg:"_swipeItemImg_17auz_11",homeTabs:"_homeTabs_17auz_26"},qt={download:"_download_1kf7v_1",downloadBtn:"_downloadBtn_1kf7v_7"},yt=n({name:"download-popup",props:{buttonText:{type:String,default:"下载酷乐秀"}},emits:["confirm"],setup:function(e,t){var n=t.emit;return function(){return r("div",{class:qt.download},[r(z,{src:"./assets/popup-download_bg.7a89cbd7.png",class:qt.img},null),r(p,{round:!0,class:qt.downloadBtn,onClick:function(){return n("confirm")}},{default:function(){return[e.buttonText]}})])}}});e("default",n({name:"home-index",props:{album:{type:Array,default:function(){return[]}}},data:function(){return{loading:!1,height:"auto",banner:[],appMenu:[],albumList:[],musicList:{topMusicSheet:[],newMusicSheet:[],hotMusicSheet:[]},sageList:[],videoList:[],headerHeight:0,downloadStatus:!1}},mounted:function(){var e=this;return i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.init();case 2:te.on("downloadApp",i(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=v().orchestraAndroid?"com.cooleshow.student":"ColexiuStudent://",t.next=3,w({api:"isInstall",content:{type:n}}).then((function(t){var n=t.content;A.orchestraInfo.installStatus=n.installStatus,e.downloadStatus=!0}));case 3:case"end":return t.stop()}}),t)})))),q("webViewOnResume",(function(){w({api:"getUserAccount"}).then((function(t){var n=t.content;n.phone!==A.orchestraInfo.phone&&(n.unionId?window.location.reload():(A.orchestraInfo.token=n.token.split(" ")[1],A.orchestraInfo.phone=n.phone,A.orchestraInfo.nickname=n.nickname,A.orchestraInfo.avatar=n.avatar,A.orchestraInfo.unionId=n.unionId||0,C(),e.$router.push({path:"/home-auth"})))}))})),b({api:"setBarStatus",content:{status:0}});case 5:case"end":return t.stop()}}),t)})))()},unmounted:function(){y("webViewOnResume",(function(){}))},methods:{init:function(){var e=this;return i(regeneratorRuntime.mark((function t(){var n,r,i,o,a,s,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,k.post("/api-cms/news/app/home",{data:{clientType:"STUDENT"}});case 3:return n=t.sent,r=n.data||{},e.banner=r.banner||[],e.appMenu=e.arrChange(5,r.appMenu||[]),t.next=9,k.post("/api-student/music/album/list",{data:{albumStatus:1,clientId:"STUDENT"}});case 9:return i=t.sent,e.albumList=i.data.rows||[],t.next=13,k.post("/api-student/music/sheet/appMusicSheet",{data:{}});case 13:return o=t.sent,a=o.data||[],e.musicList={topMusicSheet:e.arrChange(4,a.topMusicSheet||[]),newMusicSheet:e.arrChange(4,a.newMusicSheet||[]),hotMusicSheet:e.arrChange(4,a.hotMusicSheet||[])},t.next=18,k.get("/api-student/teacher/queryHotTeacherList");case 18:return s=t.sent,e.sageList=s.data||[],t.next=22,k.get("/api-student/courseSchedule/queryLiveAndVideo");case 22:l=t.sent,e.videoList=l.data.videoList||[],t.next=28;break;case 26:t.prev=26,t.t0=t.catch(0);case 28:setTimeout((function(){e.loading=!1}),500);case 29:case"end":return t.stop()}}),t,null,[[0,26]])})))()},arrChange:function(e,t){for(var n=[];t.length>0;)n.push(t.splice(0,e));return n},onRefresh:function(){var e=this;return i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.init();case 2:setTimeout((function(){e.loading=!1}),500);case 3:case"end":return t.stop()}}),t)})))()}},render:function(){var e,t=this;return r("div",{class:At.home},[r(_t,{ref:"header",onHeaderDom:function(e){console.log(e,"height"),t.headerHeight=e},onCart:function(){te.emit("downloadApp")},onSearch:function(){te.emit("downloadApp")},onMore:function(){te.emit("downloadApp")}},null),r(I,{modelValue:this.loading,"onUpdate:modelValue":function(e){return t.loading=e},"loading-text":"正在刷新...","success-text":"刷新完成",onRefresh:function(){return t.onRefresh()}},{default:function(){var n,i,o,a;return[r("div",{class:At.hotContent},[r(j,{class:At.swipe,autoplay:3e3},(a=e=t.banner.map((function(e){return r(S,{onClick:function(){te.emit("downloadApp")}},{default:function(){return[r(z,{class:At.swipeItemImg,src:e.coverImage,fit:"fill"},null)]}})})),"function"==typeof a||"[object Object]"===Object.prototype.toString.call(a)&&!d(a)?e:{default:function(){return[e]}})),r(de,{productList:t.appMenu},null)]),r(ne,{album:t.albumList},null),r(je,{title:"推荐曲目",music:(null===(n=t.musicList)||void 0===n?void 0:n.topMusicSheet)||[]},null),r(je,{title:"最新曲目",music:(null===(i=t.musicList)||void 0===i?void 0:i.newMusicSheet)||[]},null),r(je,{title:"最热曲目",music:(null===(o=t.musicList)||void 0===o?void 0:o.hotMusicSheet)||[]},null),r(Fe,{sage:t.sageList},null),r(wt,{video:t.videoList},null),r(E,{shrink:!0,background:"#f6f8f9",class:At.homeTabs,sticky:!0,offsetTop:t.headerHeight+"px"},{default:function(){return[r(U,{title:"达人风采",name:"sage"},{default:function(){return[r(rt,null,null)]}}),r(U,{title:"热门资讯",name:"info"},{default:function(){return[r(ie,null,null)]}})]}})]}}),r(x,{show:this.downloadStatus,"onUpdate:show":function(e){return t.downloadStatus=e},round:!0,style:{width:"86%",background:"transparent"},closeable:!0,closeIcon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAktJREFUaEPtmdFLFUEUh7+bYQlGCBJEogZJBSoR4VMPRkEP/r0+CEU99BQiUUGJgiZFIIJEgRmp8YMdWa47O2fu3r1ywn3dM3N+35yZM2dmOjj/Os71cwFw3hHsZwTGgHHgOjAKXAEuF4B/gUPgF/AD2AP2+wHfFOAqcBu4BYxkCjoAvgFbwO/MtqfmvQIMA3eBSeBSr86LdsfADrAO/MntqxcAjfYsIIh+fhL/sYiKud8cANnOAVPm3nsz/AJ8AE4sza0AQ8Aj4Ial0z7Y7AKrwFGqLwuAbBYGKD5oFsTbVCQsAPMDmDaxgdZ0el8XhRSAFuzDVBhb/r9Wt7DrAJRlnrSQbXJ5lZ1exVJsHYAyznSut5bst4vMdKb7GIB22KcZm1RIeakpGQTk2muze1m1Y8cc3gfuGEdTYt4VsFrwKQjZa2FK1AODfZCxCXzq1hRz9sxY2wTxX4uOVVrUQQTxKh30TWRAqHZ6YQFQVfk4Y/Q1mkGQmsUgusXX2cbcv+muYqsiMAPcMwLIzCLMYmNx+RnYKBtWAahkuGnprWRTJ1Bm1iil3H4vSoxTuyqAReBaqqeK/zEImVqmmMXlT+B1KgLPG2xeVRBlf6lFnoLQpraSAljKyP9VDmMQTcXLl1Lv8n8P4H4KuV/E7tOo+43MfSmhLOW6mBOA+3La/YFGUXB9pBSA+0O9IFxfq4SayfXFliDcXy0KwvXlbphKrq/Xy2cItw8cZQjXT0xlELePfFVnYZfPrKlbhNb/py5iWxfQ1MEFQNMRbNr+H/9tvDF3+cosAAAAAElFTkSuQmCC"},{default:function(){return[r(yt,{buttonText:A.orchestraInfo.installStatus?"打开酷乐秀":"下载酷乐秀",onConfirm:function(){var e=v().orchestraAndroid?"com.cooleshow.student":"ColexiuStudent://";if(A.orchestraInfo.installStatus)b({api:"openApp",content:{type:e}});else{var t=v().orchestraAndroid?window.location.origin+window.location.pathname+"#/download":"https://itunes.apple.com/cn/app/id1626971695?mt=8";b({api:"downloadApp",content:{type:e,url:t}})}}},null)]}})])}}))}}}))}();