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,a,o){try{var l=e[a](o),s=l.value}catch(_){return void n(_)}l.done?t(s):Promise.resolve(s).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,a){var o=e.apply(t,n);function l(e){r(o,i,a,l,s,"next",e)}function s(e){r(o,i,a,l,s,"throw",e)}l(void 0)}))}}var a=document.createElement("style");a.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(a),System.register(["./index-legacy.b903c881.js","./index-legacy.39aeb540.js","./index-legacy.74c9f1e3.js","./index-legacy.ae2ce69e.js","./index-legacy.5b93d63d.js","./index-legacy.8abefd50.js","./index-legacy.ba78f33e.js","./icon-xin-active-legacy.a17aecbf.js","./index-legacy.b7f666cc.js","./index-legacy.571708b1.js","./index-legacy.5907f1a9.js","./index-legacy.f52c26b4.js","./icon-play-legacy.50b88257.js","./icon_exquisite-legacy.80eb242a.js","./icon_album_active-legacy.fcd6f4c0.js","./index-legacy.6b8d5fc3.js","./auth-legacy.142e2d3d.js","./routes-common-legacy.ea497c09.js","./use-id-legacy.29724920.js","./use-tab-status-legacy.a19d344b.js","./use-refs-legacy.14daae14.js"],(function(e){"use strict";var n,r,a,o,l,s,_,c,u,d,m,f,p,g,h,b,v,w,A,q,y,x,C,I,k,S,j,z,U,E,B,T,M,V,N,R,F,Y,L,G;return{setters:[function(e){n=e.d,r=e.j,a=e.z,o=e.M,l=e.P,s=e.F,_=e.Q,c=e.bs,u=e.C,d=e.Z,m=e.U,f=e.S,p=e.B,g=e.W,h=e.X,b=e.n,v=e.f,w=e.p,A=e.g,q=e.b0,y=e.br,x=e.aR,C=e.a},function(e){I=e.a},function(e){k=e.P},function(e){S=e.a,j=e.S},function(e){z=e.I},function(){},function(e){U=e.T,E=e.a},function(e){B=e.I,T=e.a},function(e){M=e.C},function(e){V=e.E},function(e){N=e.C},function(e){R=e.L},function(e){F=e.I},function(e){Y=e.i},function(e){L=e.i},function(e){G=e.C},function(){},function(){},function(){},function(){},function(){}],execute:function(){var H="_albumContainer_1c01r_1",O="_album_1c01r_1",K="_albumType_1c01r_19",P="_main_1c01r_32",D="_img_1c01r_49",X="_title_1c01r_60",Q="_model_1c01r_68",J="_num_1c01r_83",W="_title_1bbb0_1",Z="_cellTitle_1bbb0_8",$="_cellValue_1bbb0_25",ee=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:W,titleClass:Z,title:e.title,border:!1},{value:function(){return r("span",{class:$,onClick:function(){n("detail")}},[a("更多"),r(o,{name:"arrow"},null)])}})}}}),te=new V,ne=n({name:"hot-album",props:{album:{type:Array,default:[]}},setup:function(e){return l(),function(){return r(s,null,[e.album.length>0&&r(ee,{title:"热门专辑",onDetail:function(){te.emit("downloadApp")}},null),r("div",{class:H},[e.album.map((function(e){return r("div",{class:O,key:e.id,onClick:function(){te.emit("downloadApp")}},[r("div",{class:P},["CHARGE"===e.paymentType&&r("span",{class:K},[a("付费")]),r(z,{class:D,src:e.albumCoverUrl},null),r("div",{class:Q},[r(o,{name:e.favorite?B:T},null),r("span",{class:J},[e.albumFavoriteCount,a("人")])])]),r("h4",{class:[X,"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(){l();var e=_({platformType:"STUDENT",type:"1",clientType:"STUDENT",page:1,rows:20}),n=_({list:[],dataShow:!0,loading:!1,finished:!1}),a=function(){var r=i(regeneratorRuntime.mark((function r(){var i,a;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,I.post("/api-cms/news/page",{data:t({},e)});case 3:if(i=r.sent,n.loading=!1,a=i.data||{},!(n.list.length>0&&1===a.pageNo)){r.next=8;break}return r.abrupt("return");case 8:n.list=n.list.concat(a.rows||[]),n.finished=a.pageNo>=a.totalPage,e.page=a.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(){var e;return r(s,null,[n.dataShow?r(R,{loading:n.loading,"onUpdate:loading":function(e){return n.loading=e},finished:n.finished,finishedText:" ",immediateCheck:!1,class:[re.liveList],onLoad:a},{default:function(){return[r(N,{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(s,null,[r("h2",{class:"van-multi-ellipsis--l2"},[e.title]),r("p",null,[c(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)])}}}),ae="_swipeType_1yx4c_1",oe="_swipeTypeShow_1yx4c_17",le="_typeSection_1yx4c_20",se="_typeItem_1yx4c_24",_e="_swipeTypeImg_1yx4c_28",ce="_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:[ae,this.productList.length>1&&oe],"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:le},ue(t=e.map((function(e){return r("div",{class:se,onClick:function(){te.emit("downloadApp")}},[r(z,{class:_e,src:e.coverImage,fit:"cover"},null),r("p",{class:ce},[e.title])])})))?t:{default:function(){return[t]}})})))?e:{default:function(){return[e]}})}}),me="_hotMusic_1eb2o_34",fe="_swipeItem_1eb2o_34",pe="_swipeChild_1eb2o_34",ge="_theSong_qtml0_1",he="_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",Ie="_title_qtml0_69",ke="_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 l(),function(){return r("div",{class:ge},[e.list.map((function(e){return r("div",{class:he,onClick:function(){return n("detail",e)}},[r("div",{class:Ae},[r("div",{class:qe},[1===e.exquisiteFlag&&r(z,{src:Y,class:ve},null),e.albumNums>0&&r(z,{src:L,class:we},null),r("span",{class:[Ie,"van-ellipsis"]},[e.musicSheetName]),r("span",{class:[ke,"van-ellipsis"]},[a("-"),e.composer])]),r("div",{class:ye},[e.composer?r("div",{class:xe},[a("作曲:"),e.composer]):r("div",{class:xe},[a("上传者:"),e.addName]),r("div",{class:Ce},[null==e?void 0:e.subjectNames.split(",").map((function(e){return r("span",null,[e])}))])])]),r("div",{style:be},[r(o,{name:F,size:28},null)])])}))])}}});var je=n({name:"music-list",props:{title:{type:String,default:"最热曲目"},music:{type:Array,default:function(){return[]}}},setup:function(e){l(),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,a;return r(s,null,[e.music.length>0&&r(ee,{title:e.title,onDetail:function(){te.emit("downloadApp")}},null),r("div",{class:me},[n.value&&r(j,{showIndicators:!1,loop:!1,width:t.value},(a=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 a||"[object Object]"===Object.prototype.toString.call(a)&&!d(a)?i:{default:function(){return[i]}}))])])}}}),ze="_sageContainer_16d3h_1",Ue="_sage_16d3h_1",Ee="_animation_16d3h_25",Be="_header_16d3h_32",Te="_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 l(),function(){return r(s,null,[e.sage.length>0&&r(ee,{title:e.title,onDetail:function(){te.emit("downloadApp")}},null),r("div",{class:ze},[e.sage.map((function(e){return r("div",{class:Ue,key:e.id,onClick:function(){te.emit("downloadApp")}},[e.living&&r(z,{src:"./assets/bars.d9d69cc5.svg",class:Ee},null),r("div",{class:Be},[r(z,{class:Me,src:e.avatar,fit:"cover"},null),e.living&&r("span",{class:Te},[a("直播中")])]),r("p",{class:Ve},[e.username]),r("p",{class:Ne},[a("认证达人")]),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?"已关注":"关注"]}})])}))])])}}}),Ye="_style_1fq3q_1",Le="_lineContainer_1fq3q_4",Ge="_line_1fq3q_4",He="_styleItem_1fq3q_12",Oe="_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/fTIBajlH4hhLwUBOFVNBpNGuyfaW7UKLS0tNQpinKUUuoDALcZowX6yISQhCAIzycnJ38YwTRCgIiiGACAYzY6rvVVBoBxSZKiAEBLIVISgUAg4FUU5TwA7CgF1IY2XwVBGIxGozxn1i26BHw+3wEAOIuImYSsVGGMpQDgYSKReLuezXUJNDc3+9Lp9GlEJJVyPN8OY4y6XK7HsVgsUcx+UQLceVVVz1TDca3NmpqaR8VIFCSQnTYXqjXyWgI8EgBwv9B0+ocAT1hZlq9Ues7rRZrnhNvtvqdNbC0BvlReruBqo+e3tv6rJEmh/CV2DQFRFFsA4LhR1Aq3fypJ0mTO5ioBvsOmUqmrZdyk7OIp19bW9uV27FUCfr//BKWU77T/fSGEROPx+BPuaIZAVphdtzr6Xq/XHQwG96mqyoaHh98vLS0pZRoNWRCEO1wAZgiIougHgFNWjPn9/m3d3d0X6+rqtnKcZDL5MxwOR/r7+2et4K7TNyJJUjxDoLGx8TIhZJcVQ0NDQ5fq6+v3aDFmZ2dfd3Z2Rubn539Zwdf2pZR+np6eDmH2MNJmRlrng8ZisZuEkJpCTiaTyeVwOPzY5mgwWZZvoyiKBwHgnNXRmZqauqWHUYZoPMCmpqaTjLEjesb16kshkM2N5YGBgUgoFHqjh6lXj4gvOIGLjLH9eo316kslkMPh0ejq6orMzc2Zzg1EfIc+n+8aInr1HNSrN0ogF42+vr6hwcHBD3r4heoZY4s8B24AwCYzAPl9zBDg/dPpdLq1tfVuPB7/bsKHXzwCXYhYcPUwAmiWALcxOjr6rKOjY9yIPd6WMab+FwTGxsbG29vbn5kiUO0ppKpquq2tLTQxMfHNKAEAyEyhqiXxysrKcm9vr7UkdvwyWumNjI86F3m2bWSVlhJWNy9NnjywU8x1EkJcxcScXfIhD/+PmON/lFtO2zzqGQ6rcpr/sONAI4ritp6enksej2eL3aKtyPL690Bj15HS4/G4gsHgXkIIjoyMfFxYWOC3zeUoa4+U3IKjD/WcgOOvVbK54NyLrexEdfbVIifh9MvdTCAcfb2eW/Mc/cCRT8KxT0w5Eo5+5MuRcPQza54OcO5Dd76YcfKnBmtEmWM/9igkLav5uc1vW5R1K5ZRo7YAAAAASUVORK5CYII=",rt=n({name:"talent-list",setup:function(){l();var e=_({platformType:"STUDENT",page:1,rows:20}),n=_({list:[],dataShow:!0,loading:!1,finished:!1}),o=function(){var r=i(regeneratorRuntime.mark((function r(){var i,a;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,I.post("/api-student/teacher/stylePage",{data:t({},e)});case 3:if(i=r.sent,n.loading=!1,a=i.data||{},!(n.list.length>0&&1===a.pageNo)){r.next=8;break}return r.abrupt("return");case 8:n.list=n.list.concat(a.rows||[]),n.finished=a.pageNo>=a.totalPage,e.page=a.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(){return r(s,null,[n.dataShow?r(R,{loading:n.loading,"onUpdate:loading":function(e){return n.loading=e},finished:n.finished,finishedText:" ",immediateCheck:!1,class:Ye,onLoad:o},{default:function(){return[r("div",{class:Le},[r("div",{class:Ge},[n.list.map((function(e,t){return t%2==0&&r("div",{class:He,onClick:function(){te.emit("downloadApp")}},[r("div",{class:Oe},[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,[a("直播中")])]):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,a("人观看")])])])}))]),r("div",{class:Ge},[n.list.map((function(e,t){return t%2==1&&r("div",{class:He,onClick:function(){te.emit("downloadApp")}},[r("div",{class:Oe},[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,[a("直播中")])]):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,a("人观看")])])])}))])])]}}):r(u,{btnStatus:!1,classImgSize:"SMALL",tips:"暂无达人风采"},null)])}}}),it="_theHomeHeader_z8488_1",at="_content_z8488_6",ot="_mall_z8488_10",lt="_cart_z8488_15",st="_searchBox_z8488_21",_t="_iconSearch_z8488_32",ct=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 o=f(null);return m((function(){g((function(){setTimeout((function(){var e=h(o).height;n("headerDom",e)}),300)}))})),function(){return r(G,{position:"top"},{default:function(){return[r("div",{class:it,ref:o},[r("div",{style:{height:i.value+"px",background:"#fff"}},null),r("div",{class:at},[r("img",{class:ot,src:"./assets/icon-mall.96831ca5.png"},null),r("div",{class:st,onClick:function(){return n("search")}},[r("img",{class:_t,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABLtJREFUWEe9l2toXEUUgM+Zu4kaQVKpVVLKZjMz2bYrRiEpEhHFltJqWpXijxbBNlUQrIoSKkIrFqvS+kb7Q3yB+kPoQ2tBqVLjI7WowUeFxt25s5uIkFCVsk26mN29c2R0d5ndbDebJuT8u/eexzdzzp1zBqEO0Vp3GWN6ELGbiNoRcSERNQLABACMAMBJxlh/KBT6KBwOn6nDZUkFayknk8l1QRA8BQAddTqdZIy96Xne062traP12FQFGBoaam1oaHifiG6ox0kVnQwi7hJC7J3OfgqA1nqlMeYDAFhYw5gAIAcANg215GA2m90ci8VsqqpKGYDWepUx5hMAaHC1icgGOwgAR0Kh0PFIJDKKiNmRkZEF+XyeE9EaItoIAMsroyDiN5OTk6tisVi2GkEJIJFILEPEbwGguULxYGNj4/ZwOJystVQiYr7vb0TE54noKlcXEd8VQtxzXoDBwcGG5ubmH4no6qISIgaI2Mc5f3m6PLrf4/H4Ys/zPiSiLvc9Y2wr5/ztKTtkX/i+/xARvVJB3SeEeGEmwYu6NjW5XO4EEUUd+7+y2Wyksh6QiDzf9+2/vNhZ/SEhxIYLCV60KaT0F7eeGGOPcs5fKluo7/tricgWXlFssSyXUurZAFhbpdRrAPCA4+dXKeU1ZQBKqVcBYJuz+sNCiDtmG9zax+PxpYyxoQpfS6SUf5TiKaW+A4AVxReMsV7O+TtzAVCor9/cWmCMbeCcH3IB/nQPHcbYCs75D3MFoJQ6AAClekLE7UKI51wAm3P34CnbotmCVEnxbiHEThcgAwCXOClo55yr2QYu2iul3gCAex1/T0opd7kAvwPAEkfhZinlV3MIYP+wtY6/bVLKfS7AUQBY7fwFO4UQu+cCgIhCWuvTRLTA8b9SCPFF6TmRSOxARNvzi/KzlPK6uQBIJpOrgyCwCyxKNpPJXN7R0XGuBDA8PLwsl8udqgh4u5Ty49lC+L4/UDFTHJFSrnf9/tcNlVJfAsBNzjYpROzinKcvFEJrvcUYU9Z8GGO3cc7dUxeKADZ4P8D/zwX5LJ1O93R2dtpZYEaSTCZvDILgcwC4yDE8IaXsrnRUCqiUegsAesu2B3HA87y7IpHIWL0ESqm7EfF1ImpybP4xxlwfjUZtcyqTEkAqlbo4CIJjRFRGSUR/M8b2NDU17WtpabFnRlVJpVLX5vN5W8w9FQqEiJuEEHbMmyJlI5lS6goA+BoAllbRPYeIx+zURESjxhj7vAgR7Uhm//Mp4xgA2NnxcSnlHt/3FwkhTp93B4oflFKXIeJ7RFRWrfWmwNGb8Dyvt62tbb9S6hkAuM+eN1LKn8rSXM0xEaHW2vbxHUR05UyDI+KnRNQnpTyllHoRAB4p+DhjjFkTjUa/L/qseTEZGxu7dHx8/EFE3EpEYhoQ29SOMsb2cs4HrK5Sah0AVJ4nZxHxViHEcatTE8ANWBixuhGxnYjsncHeCcYZY7aXnDTGDEgpz1ZCaq2fMMaUmk/h+wQirhdC9NcNMNM0uPpKqccQ8Vmb2tLWI2YYY3fOC4ANqrV+2BhjB9JSTMbY/nkDsBCJROJ+RLStmAHAgXQ6vWleASyE7/ubAeAWzvkWe/n5F1ek5boVi45TAAAAAElFTkSuQmCC"},null),r("span",null,[a("搜索你喜欢的内容")])]),r("img",{class:lt,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAAA6hJREFUWEftmU1IFVEUgL95Y9LfqoiKCqldRUg9UpP+IVsEkZb2S9uiXYuoVr1WFS3aRW3DrMwsAqEM+k8UURCxdoVUVESt+qMaJ857776u1/HNfX/SQAceMvfnnG+O595z7xmHiImTI+9kYC4wRZv3EZCfjcwC5KfkO/AO+GEzWcbYAK8DdgNbgHkBcxLASUuDJwAZr4sPvAU6gCvAo2y6sgEvBc4Bm0JgCgU21d8DDgNDQXbHA64HLgHTLTxXbGAx+QXYD9w07QcBC2wbEDMGvwfuA68BiT0lD8P+jdpYCa/12rOshQXARmCOYW8E2GFCm8ASBt2GZ4eBI8ANQJSUQsQ524GzQIVmQDxdo4eHCdxpxGwXsBX4VArKAJ0zgdtArdYnMV2nnnVg+Vc90AaKZ+MTCKtMC3Sf4ekNgITeqG3tAnBAA24Crk+QZ00zjUCr1ngROGgCy2Kanx4kC0z23FLFbJgfJKZlb1YL8U16cWY8LBnsm+bxFmBvmNYS918G9qRtSHKZKhlRxfBC4KUGcAY4VmKgMPWngaPaoEXAKwW8xMgsuSSDMMP59ptpXLbc5/+B83VnwLysHpYj3yFtUi7ptoiMo1SZafy8HGNtjpelAspLrxXw0q7WGW7MOe7j63k+L4NBkxycYW/EPzVU2/Q5TKkV8LKe1suMZPbEMJ359cdoGaxuCt377YC7rj3CcdYmz5uyhZs5MhuiGq/GBFhMplPffzxYu1PiNqtYAVd2t6/2fK/ZhQo1weTIWMn1hQAPhl3H3TdQ0/C0KMBKycrutn1hCsftV9cB83QSg96qHc22eq08rJRV9dyq952R1BzPS0VGLJb0qe84hq5Uv7gvJe6oP5kOD3pXNbaXBrjv1mbfSwMbFsrSz7+NdsdPvZCSzAtrbb1VDXdKBbzGVnEG0POSnndcdzR4ur3cdf1n8W1PbPXmFBLVfTfjkwzNvywtqXlqvP87/SJlrt8Tr5cbhpUoYKvUXNPXvnis1nKj6Wf6ebz2sRq64w0vAmizpmar42Vtf0fF2KqSnP0Lk64VW+T+aErhx8vl/a2zzMqK3MN1GVt5US3myL+znqxoCqrNFQ5cN3B3GnwwEGcX5l6gs3Lz11w9bHdFSiTMalDBsEkFiUTQZTfrFSlyl1B5z0hd8wU4coWUf7lUJWzJQneki4HyApErtwp0pAraal+N1CcDBR2pjzJ6BpMVumuCPntdVYXr8VJoTudhIBIfFotzXiiSlj+ObRk8clnIJAAAAABJRU5ErkJggg==",onClick:function(){return n("cart")}},null),r("img",{class:lt,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABX5JREFUWEfFmGtsVEUUx393d4uo0eAzURGMGhqJpFst1mJVPpioAbXQ0vjBRA0mKD7jG4ymanxGExAfjfpBE9TgtqUQxRg/NCqwFq1bbRVJ8IE2qEEgiKZS2r3mv86s08vebbe7G07S9O69c87858x5/Gc8JiYR4EJgLjAbOBs4DTgK8IB9wO/AVuBL4CPz3y90OhkrRKYBtwHXAacUogj8ArwBtAI7x6s7XoAnAY8BNwGx8RoPGfcP8CrQAuwdy9Z4AF4LvAwcF2LsZ6DXeEhbK9FYebsKmBqipxBYCnTkA5kPoDz1IrAkh4FvgNeBtcCOMbwwA2gAFgN6dkUx+QJwDzCSy04YwMlm8isCSgr6+4H3xtqaHN81VxPwpEkqd0gnoJ06ENTLBbDCuH2+M1irexp4FDg4AXCuihYvW3cG7AikFjDKk7kAKt5ucZT/Mqt7v0hgQXVtueaa5HxYCdzlDgwClJvfcQb8DVwObCoxOGvuMkALtyAVk/JiNnFcgCcA3wEnGu00cM0E462Q9ciTSjgryu5zbAlyAb4C3OwMVDA/VMhMRYxdEYhJZXYmRi3A04HtjqvlSdWwoSImLURVidMPnGWUVMz1vNMCVFY94FhU3VpXyAwlGNsMrHHsPA48IoBq/OoGavYSFeFZQMGNvUiQwqKds8VcvXu6XoqVJB3j9wLPFznZRNW1i9pNKzUCuBx4wnl5JvDjRGcoUk/e2+bYWCaAbUCjeam+ekbYJNWb2qeno+nKWMzv7qlptsTgv+G+71V/3nGxHlMb+jbS0qIylZV4au0Uf3C4PjYptrWnZsH3eRYy4IRbQgD7gHONgnrsVbmU45sTi/BYncl0n19HKiL1fbMbf8iC627r9H2u1m/PY32qtqkBz8vEcVV3xwwvPfIpcDIwjO9f3zun+e0QkMIwz3zrF8A/ABVpidjL7TkBJtu2g2/LgOpTa6puUaYlVm9pv8QfSX/s6nnRyKWpCxo/0bt4MvGa4ZJmiLejt64pbKfcVrtLAMUgbKsJLc7xZGI3cLwF4eGtSdU1qTUS726fRzo9muFEIvN7axsz/bsqmWj3YOH/C/D299Y1HRviQeWD8kIyJIAqikeYF6EAq5Ntq3x80X3toe/5XkOqrnG9flZuXHfMkdGhbx1yOjA48ufMbfWL9+v7ecnEwjS0W0A+tH5lvJ8DpAvwQHCLXzJnjkP05nZ1xfZN3r3Ux59FJNJpvWMHnv/Fu9NGDnoZJhKt8Ff01DSrtmYlvrmtAc9vwKc/OmnPyp6aJWG0TWF2q1HcK4Bfm8KsdxucAA3ZgbK/VgfLJJvaX7DMqHrrLHE4RaXOYugUwGD11hk3X50qJ3hlttsklgtgLfCZM6sAP1tOFHls3x1os3MEUH8/OW5Vw555mMiCiIrIqkSH+6mWbqm8LHNWptaX97xaBg+LvevgZOUZ4EEL8FRAbcvWQ5FXtb9DjoFlACaTOkmq5VYa+ypBIi0DLuVfFaiBzwH3lQlQ0OxT8pbzMluPXYC6rhDV0T2MRI1eW63bg3KKyInmiJpJ9hhPiiNkzyQWgPql6JcFPghcCYwiAiVEexHwIXC0Y1PUP2F/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",gt="_viUserNum_1jqb5_35",ht="_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 l(),function(){return r(s,null,[e.video.length>0&&r(ee,{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:ht},[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:gt},[null==e?void 0:e.buyCount,a("人在学")])])])])}))])])}}}),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,a,o,l,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,I.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,I.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,I.post("/api-student/music/sheet/appMusicSheet",{data:{}});case 13:return a=t.sent,o=a.data||[],e.musicList={topMusicSheet:e.arrChange(4,o.topMusicSheet||[]),newMusicSheet:e.arrChange(4,o.newMusicSheet||[]),hotMusicSheet:e.arrChange(4,o.hotMusicSheet||[])},t.next=18,I.get("/api-student/teacher/queryHotTeacherList");case 18:return l=t.sent,e.sageList=l.data||[],t.next=22,I.get("/api-student/courseSchedule/queryLiveAndVideo");case 22:s=t.sent,e.videoList=s.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(ct,{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(k,{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,a,o;return[r("div",{class:At.hotContent},[r(j,{class:At.swipe,autoplay:3e3},(o=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 o||"[object Object]"===Object.prototype.toString.call(o)&&!d(o)?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===(a=t.musicList)||void 0===a?void 0:a.hotMusicSheet)||[]},null),r(Fe,{sage:t.sageList},null),r(wt,{video:t.videoList},null),r(U,{shrink:!0,background:"#f6f8f9",class:At.homeTabs,sticky:!0,offsetTop:t.headerHeight+"px"},{default:function(){return[r(E,{title:"达人风采",name:"sage"},{default:function(){return[r(rt,null,null)]}}),r(E,{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)]}})])}}))}}}))}();
|