index-legacy.b6ac6192.js 21 KB

12
  1. !function(){function e(e,r,n,t,i,o,a){try{var l=e[o](a),u=l.value}catch(c){return void n(c)}l.done?r(u):Promise.resolve(u).then(t,i)}function r(r){return function(){var n=this,t=arguments;return new Promise((function(i,o){var a=r.apply(n,t);function l(r){e(a,i,o,l,u,"next",r)}function u(r){e(a,i,o,l,u,"throw",r)}l(void 0)}))}}var n=document.createElement("style");n.innerHTML='._base_1urjh_1>div{background:url(./header-bg.png) no-repeat top center}._detail_1urjh_4{overflow:hidden;--van-nav-bar-background-color: transparent;--van-nav-bar-icon-color: #fff;--van-nav-bar-text-color: #fff;--van-nav-bar-title-text-color: #fff;--plyr-color-main: var(--van-primary);--plyr-control-icon-size: .32rem}._detail_1urjh_4 .plyr__controls .plyr__controls__item:first-child{background-color:var(--van-primary);color:#fff;border-radius:50%}._base_1urjh_1 .van-sticky--fixed{box-shadow:.26667rem .26667rem .26667rem var(--box-shadow-color)}._shareBtn_1urjh_21{display:flex;align-items:flex-start;color:#fff;font-size:.37333rem;line-height:.53333rem!important}._shareBtn_1urjh_21 .van-image{width:.48rem;height:.48rem;margin-right:.16rem}._bgImg_1urjh_33{position:absolute;left:0;top:0;width:100%;height:7.06667rem;-o-object-fit:cover;object-fit:cover;filter:blur(.26667rem)}._bgContent_1urjh_42{position:absolute;top:0;height:7.06667rem;width:100%;background-color:rgba(0,0,0,.5);backdrop-filter:blur(.53333rem);-webkit-backdrop-filter:blur(.53333rem)}._musicContent_1urjh_51{position:relative;width:100%;height:13.33333rem;overflow:hidden}._musicContent_1urjh_51:after{content:" ";position:absolute;bottom:0;left:0;right:0;background:linear-gradient(180deg,rgba(255,255,255,0) 0%,#ffffff 100%);height:7.65333rem}._musicContent_1urjh_51 ._musicTitle_1urjh_66{text-align:center;font-size:.42667rem}._musicContent_1urjh_51 ._musicImg_1urjh_70{width:100%}._musicContent_1urjh_51 ._finch_1urjh_73{width:4rem;margin:2.13333rem auto 0}._musicContent_1urjh_51 ._finchLoad_1urjh_77{text-align:center;color:#333;font-size:.4rem;margin-top:.10667rem}._musicContent_1urjh_51 iframe{visibility:hidden}._musicContent_1urjh_51 iframe body ::-webkit-scrollbar-thumb{background-color:#efeff0;border:.02667rem solid transparent;background-clip:padding-box;border-radius:.13333rem}._collectCell_1urjh_92{margin:.26667rem .42667rem 0;background:#ffffff;border-radius:.26667rem;box-shadow:0 0 .16rem rgba(229,229,229,.7);overflow:hidden}._videoOperation_1urjh_99{position:absolute;left:0;right:0;bottom:.13333rem;z-index:1}._audition_1urjh_106{display:flex;align-items:center;margin:.26667rem .42667rem 0;background:linear-gradient(180deg,#fff0d9 0%,#ffdfb8 100%);border-radius:.42667rem;padding:.18667rem .32rem;font-size:.32rem;font-weight:600;color:#ff731d;height:.48rem}._audition_1urjh_106 img{margin-top:-.05333rem;width:.56rem;height:.4rem;margin-right:.29333rem}._collect_1urjh_92{display:flex;align-items:center;justify-content:space-between;padding:.29333rem;font-size:.37333rem;color:#666}._collect_1urjh_92 ._userInfo_1urjh_132{display:flex;align-items:center;padding:.08rem .16rem;background:#d5f3ee;border-radius:.42667rem}._collect_1urjh_92 ._userInfo_1urjh_132 img{width:.69333rem;height:.69333rem;border-radius:50%}._collect_1urjh_92 ._userInfo_1urjh_132 span{padding-left:.21333rem;max-width:1.6rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#2dc7aa}._collect_1urjh_92 ._collectSection_1urjh_152{display:flex;align-items:center}._collect_1urjh_92 ._collectSection_1urjh_152 img{margin-top:-.05333rem;margin-left:.13333rem;width:.48rem;height:.48rem}._collect_1urjh_92 ._collectSection_1urjh_152 .van-icon{font-size:.53333rem;margin-top:-.05333rem;margin-left:.13333rem;color:var(--van-primary)}._collect_1urjh_92 ._collectSection_1urjh_152:first-child{margin-right:.37333rem}._lookAlbum_1urjh_171{padding:.45333rem .53333rem;margin-bottom:.4rem;font-size:.37333rem;color:#333;line-height:.53333rem;display:flex;align-items:center;justify-content:space-between}._lookAlbum_1urjh_171>div{display:flex;align-items:center;line-height:1}._lookAlbum_1urjh_171>div img{width:.53333rem;height:.53333rem;margin-right:.26667rem}._bg_1urjh_33{position:relative;height:100%;padding:.42667rem;z-index:11}._musicContainer_1urjh_197{position:relative;z-index:12;border-radius:.48rem .48rem 0 0;background-color:#fff;overflow-y:auto}._shareMate_1urjh_204{position:relative;margin-top:1.33333rem;display:flex;flex:1;align-items:center;padding:.29333rem .32rem;background:#ffffff;border-radius:.26667rem}._shareMate_1urjh_204 ._icon_1urjh_214{width:.96rem;height:.96rem;border-radius:.26667rem}._shareMate_1urjh_204 ._info_1urjh_219{margin-left:.37333rem;flex:1;margin-right:.37333rem;word-break:break-all}._shareMate_1urjh_204 ._info_1urjh_219>h4{color:var(--music-list-item-title-color);font-size:.37333rem;font-weight:600;width:5.33333rem}._shareMate_1urjh_204 ._info_1urjh_219>p{color:var(--music-list-item-mate-color);line-height:.45333rem}._shareMate_1urjh_204 ._tagDiscount_1urjh_235{position:absolute;top:-.69333rem;left:.4rem;padding:.05333rem .26667rem .02667rem;height:.61333rem;background:linear-gradient(180deg,#ffb635 0%,#ff4e18 100%);border-radius:.21333rem .21333rem 0 0;font-size:.37333rem;font-weight:600;color:#fff;line-height:.53333rem}._shareVip_1urjh_248{position:relative;margin-top:.93333rem;display:flex;flex:1;align-items:center;padding:.18667rem;background:#ffffff;border-radius:.26667rem}._shareVip_1urjh_248 ._icon_1urjh_214{width:1.92rem;height:1.92rem;border-radius:.26667rem}._shareVip_1urjh_248 ._info_1urjh_219{margin-left:.16rem;flex:1;word-break:break-all}._shareVip_1urjh_248 ._info_1urjh_219>h4{color:var(--music-list-item-title-color);font-size:.42667rem;font-weight:600}._shareVip_1urjh_248 ._info_1urjh_219>p{color:var(--music-list-item-mate-color);line-height:.45333rem}._tagDiscount_1urjh_235{position:absolute;top:-.61333rem;left:.4rem;padding:0 .26667rem;height:.61333rem;background:linear-gradient(180deg,#ffb635 0%,#ff4e18 100%);border-radius:.21333rem .21333rem 0 0;font-size:.37333rem;font-weight:600;color:#fff;line-height:.64rem}._buttonDiscount_1urjh_290{position:absolute;top:-.48rem;right:.4rem;padding:0 .13333rem;height:.48rem;background:linear-gradient(180deg,#ffb635 0%,#ff4e18 100%);border-radius:.21333rem .21333rem 0 0;font-size:.32rem;font-weight:600;color:#fff;line-height:.53333rem}._pImg_1urjh_303{width:1.22667rem;height:1.22667rem;border-radius:.26667rem;overflow:hidden;flex-shrink:0}._musicInfo_1urjh_310{padding-top:.61333rem!important;padding-bottom:.61333rem!important;margin-bottom:.26667rem}._musicInfo_1urjh_310 ._coomposer_1urjh_315{padding-top:.05333rem;padding-left:.16rem;max-width:3.2rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._musicInfo_1urjh_310 ._tag_1urjh_235{flex-shrink:0;padding:.05333rem .10667rem 0;border-radius:.10667rem}._musicInfo_1urjh_310 ._tag_1urjh_235+._tag_1urjh_235{margin-left:.13333rem}._musicInfo_1urjh_310 ._info_1urjh_219{margin-left:.37333rem;flex:1;margin-right:.37333rem;word-break:break-all}._musicInfo_1urjh_310 ._info_1urjh_219>h4{font-size:.42667rem;font-weight:700;color:#1a1a1a;width:4.66667rem;padding-bottom:.08rem}._musicInfo_1urjh_310 ._info_1urjh_219>p{font-size:.32rem;color:#999;line-height:.45333rem}._musicInfo_1urjh_310 ._download_1urjh_349{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:.32rem}._musicInfo_1urjh_310 ._download_1urjh_349 img{height:.64rem;width:.64rem}._musicInfo_1urjh_310 ._exquisiteFlag_1urjh_360{width:.37333rem;margin-left:.13333rem;flex-shrink:0}._musicInfo_1urjh_310 ._songAlbum_1urjh_365{width:.4rem;height:.4rem;margin-left:.13333rem;flex-shrink:0}._musicInfo_1urjh_310 .van-cell__value{display:flex;justify-content:space-around}._colSticky_1urjh_375{display:flex;align-items:center;justify-content:space-between}._colSticky_1urjh_375 ._priceSection_1urjh_380{font-size:.37333rem;font-weight:400;color:#999}._colSticky_1urjh_375 ._priceSection_1urjh_380 ._price_1urjh_380{font-size:.58667rem;font-weight:700;color:#ff4e19}._colSticky_1urjh_375 ._priceSection_1urjh_380 ._price_1urjh_380 i{font-style:normal;font-size:.42667rem}._buyBtn_1urjh_394{--van-button-default-height: 1.12rem;flex:1;display:flex;align-items:center;justify-content:flex-end}._buyBtn_1urjh_394 .van-button{padding:0 .58667rem;font-weight:600}._buyBtn_1urjh_394 .van-button+.van-button{margin-left:.32rem}._buyBtn_1urjh_394 ._primry_1urjh_408{box-shadow:0 .05333rem .18667rem rgba(45,199,170,.25)}._buyBtn_1urjh_394 ._member_1urjh_411{box-shadow:0 .05333rem .18667rem rgba(187,156,83,.25)}._functionSection_1urjh_414{display:flex}._empty_1urjh_417{margin:0 auto;font-size:.37333rem;color:#999;line-height:.53333rem;text-align:center;padding-top:1.6rem}._empty_1urjh_417 ._emptyImg_1urjh_425{width:4.58667rem}._staffContainer_1urjh_428{padding:.4rem .4rem .64rem}._staffContainer_1urjh_428 ._staffTitle_1urjh_431{padding-bottom:.66667rem;font-size:.42667rem;color:#1a1a1a;line-height:.58667rem}._staffContainer_1urjh_428 ._staffImg_1urjh_437{width:.85333rem;height:.53333rem}._staffContainer_1urjh_428 ._name_1urjh_441{padding-left:.45333rem;font-size:.34667rem;font-weight:500;color:#333}._staffContainer_1urjh_428 ._boxStyle_1urjh_447{background:transparent!important;width:.4rem;height:.4rem;border:transparent!important}._staffContainer_1urjh_428 ._active_1urjh_453{background:#f7f8f9;border-radius:.21333rem}._staffContainer_1urjh_428 ._active_1urjh_453 ._name_1urjh_441{color:#2dc7aa}._staffContainer_1urjh_428 .van-cell{padding:.24rem .42667rem;margin-bottom:.16rem}._staffContainer_1urjh_428 .van-cell:hover,._staffContainer_1urjh_428 .van-cell:active,._staffContainer_1urjh_428 .van-cell.active{background:#f7f8f9;border-radius:.21333rem}._staffContainer_1urjh_428 .van-cell:hover .name,._staffContainer_1urjh_428 .van-cell:active .name,._staffContainer_1urjh_428 .van-cell.active .name{color:#2dc7aa}._staffContainer_1urjh_428 .van-cell:last-child{margin-bottom:0}._staffContainer_1urjh_428 .van-cell__value{display:flex;justify-content:flex-end}._staffContainer_1urjh_428 .van-checkbox{overflow:inherit;height:.48rem;display:flex;align-items:center;justify-content:flex-end}._staffContainer_1urjh_428 .van-checkbox__icon{height:.4rem;line-height:.4rem;display:inline-block;vertical-align:middle}._staffContainer_1urjh_428 .van-checkbox__label{line-height:.4rem}\n',document.head.appendChild(n),System.register(["./index-legacy.fba2875c.js","./index-legacy.e7460ea1.js","./index-legacy.7dcec7b3.js","./index-legacy.f231f1c5.js","./index-legacy.d92f7da7.js","./index-legacy.23cbc114.js","./index-legacy.32d1c54d.js","./index-legacy.edb65d0c.js","./index-legacy.78361179.js","./vue3-lottie.es-legacy.7623b217.js","./music-legacy.4cbbd879.js","./index-legacy.a026685b.js","./icon_album-legacy.d489a774.js","./download-legacy.9e6fe95c.js","./icon_teacher-legacy.42ba77b1.js","./icon_checkbox_default-legacy.e33240bc.js","./plyr-legacy.180f4c53.js","./icon_exquisite-legacy.178b582f.js","./icon_album_active-legacy.d2829e23.js","./wx_bg-legacy.a09a21f9.js","./share-legacy.125a9021.js","./index-legacy.40eca993.js","./use-height-legacy.233a2ec8.js","./index-legacy.af00a324.js"],(function(e){"use strict";var n,t,i,o,a,l,u,c,_,s,f,m,d,h,g,v,p,j,b,y,x,w,k,C,I,S,z,T,A,D,B,V,R,F,M,q,E,N,P,L,O,U,H,G,J,Q,X,K,W,Y;return{setters:[function(e){n=e.d,t=e.O,i=e.S,o=e.Q,a=e.y,l=e.a2,u=e.U,c=e.X,_=e.V,s=e.j,f=e.F,m=e.z,d=e.M,h=e.B,g=e.aR,v=e.w,p=e.g,j=e.f},function(e){b=e.C},function(e){y=e.C},function(e){x=e.C},function(e){w=e.I},function(e){k=e.R,C=e.a},function(){},function(e){I=e.S},function(e){S=e.T},function(e){z=e.V},function(e){T=e.g},function(e){A=e.C},function(e){D=e.i},function(e){B=e.i,V=e.a,R=e.A,F=e.e,M=e.b,q=e.c,E=e.d,N=e.D,P=e.s,L=e.f,O=e.g},function(e){U=e.i},function(e){H=e.a,G=e.i},function(e){J=e.P},function(e){Q=e.i},function(e){X=e.i},function(e){K=e.w},function(e){W=e.i,Y=e.s},function(){},function(){},function(){}],execute:function(){var Z={base:"_base_1urjh_1",detail:"_detail_1urjh_4",shareBtn:"_shareBtn_1urjh_21",bgImg:"_bgImg_1urjh_33",bgContent:"_bgContent_1urjh_42",musicContent:"_musicContent_1urjh_51",musicTitle:"_musicTitle_1urjh_66",musicImg:"_musicImg_1urjh_70",finch:"_finch_1urjh_73",finchLoad:"_finchLoad_1urjh_77",collectCell:"_collectCell_1urjh_92",videoOperation:"_videoOperation_1urjh_99",audition:"_audition_1urjh_106",collect:"_collect_1urjh_92",userInfo:"_userInfo_1urjh_132",collectSection:"_collectSection_1urjh_152",lookAlbum:"_lookAlbum_1urjh_171",bg:"_bg_1urjh_33",musicContainer:"_musicContainer_1urjh_197",shareMate:"_shareMate_1urjh_204",icon:"_icon_1urjh_214",info:"_info_1urjh_219",tagDiscount:"_tagDiscount_1urjh_235",shareVip:"_shareVip_1urjh_248",buttonDiscount:"_buttonDiscount_1urjh_290",pImg:"_pImg_1urjh_303",musicInfo:"_musicInfo_1urjh_310",coomposer:"_coomposer_1urjh_315",tag:"_tag_1urjh_235",download:"_download_1urjh_349",exquisiteFlag:"_exquisiteFlag_1urjh_360",songAlbum:"_songAlbum_1urjh_365",colSticky:"_colSticky_1urjh_375",priceSection:"_priceSection_1urjh_380",price:"_price_1urjh_380",buyBtn:"_buyBtn_1urjh_394",primry:"_primry_1urjh_408",member:"_member_1urjh_411",functionSection:"_functionSection_1urjh_414",empty:"_empty_1urjh_417",emptyImg:"_emptyImg_1urjh_425",staffContainer:"_staffContainer_1urjh_428",staffTitle:"_staffTitle_1urjh_431",staffImg:"_staffImg_1urjh_437",name:"_name_1urjh_441",boxStyle:"_boxStyle_1urjh_447",active:"_active_1urjh_453"};e("default",n({name:"MusicDetail",setup:function(){localStorage.setItem("behaviorId",T());var e=t(),n=i(!1),$=i(!1),ee=i(null),re=i(null),ne=i("0"),te=i(null),ie=i(""),oe=i(!1),ae=[],le=i([]),ue=i([]),ce=i([]);i("");var _e=i(!1),se=o({status:!1,radio:"staff"}),fe="".concat(location.origin,"/student/#/music-detail?").concat(a.stringify(e.query)),me=i(fe),de={FREE:{color:"#01B84F",text:"免费"},VIP:{color:"#CD863E",text:"会员"},CHARGE:{color:"#3591CE",text:"点播"}},he=function(e){se.radio=e,se.status=!1};l((function(){return se.radio}),(function(e){ae="first"==e?le.value:"fixed"==e?ue.value:ce.value}));var ge=function(){var t=r(regeneratorRuntime.mark((function r(t){var i,o,a,l,u,c,_,s,f,m,d;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!n.value){r.next=2;break}return r.abrupt("return");case 2:return n.value=!0,$.value=!1,r.prev=4,f=e.query,r.next=8,v.post("/open/musicShareProfit",{prefix:"/api-teacher",requestType:"json",data:{bizId:f.id,userId:f.recomUserId}});case 8:m=r.sent,d=m.data.musicSheet.background,ie.value=d&&d.length>0?d[0].audioFileUrl:"",console.log(ie.value),te.value=m.data.musicSheet,ae=null!==(i=te.value)&&void 0!==i&&i.musicImg?null===(o=te.value)||void 0===o?void 0:o.musicImg.split(","):[],le.value=null!==(a=te.value)&&void 0!==a&&a.firstTone?null===(l=te.value)||void 0===l?void 0:l.firstTone.split(","):[],ue.value=null!==(u=te.value)&&void 0!==u&&u.fixedTone?null===(c=te.value)||void 0===c?void 0:c.fixedTone.split(","):[],ce.value=null!==(_=te.value)&&void 0!==_&&_.musicImg?null===(s=te.value)||void 0===s?void 0:s.musicImg.split(","):[],r.next=22;break;case 19:r.prev=19,r.t0=r.catch(4),$.value=!0;case 22:n.value=!1;case 23:case"end":return r.stop()}}),r,null,[[4,19]])})));return function(e){return t.apply(this,arguments)}}(),ve=i(null),pe=i(null),je=i(0),be=function(){var e=r(regeneratorRuntime.mark((function e(){var r,n,t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.get(p.platformApi+"/sysConfig/queryByParamNameList",{params:{paramNames:"music_sheet_free_rate"}});case 2:n=e.sent,je.value=(null===(r=n.data[0])||void 0===r?void 0:r.paramValue)||0,t=["play","progress","duration"],ve.value=new J(pe.value,{controls:t}),ve.value.on("timeupdate",(function(){var e,r=ve.value,n=r.duration*je.value/100||0;r.currentTime>=n&&"PAID"!==(null===(e=te.value)||void 0===e?void 0:e.orderStatus)&&!ye.value.includes("FREE")&&r.pause()}));case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();u(r(regeneratorRuntime.mark((function e(){var r,n,t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return W(me.value),e.next=3,ge();case 3:r=c(ee),n=r.height,t=c(re),ne.value=n+t.height,ie.value&&be();case 7:case"end":return e.stop()}}),e)}))));var ye=_((function(){var e,r=null===(e=te.value)||void 0===e?void 0:e.paymentType;return"string"==typeof r?r=r.split(","):[]})),xe=function(){j().weixin?oe.value=!0:(Y(me.value),setTimeout((function(){window.location.href=location.origin+"/student/#/download"}),3e3))};return function(){var e,r,t,i,o,a,l,u;return s("div",{class:Z.detail},[s(I,{position:"top"},{default:function(){return[s("div",{ref:ee},[s(b,{background:"transparent",border:!1,isFixed:!1,color:"#fff",backIconColor:"white"},null)])]}}),s("img",{class:Z.bgImg,src:null===(e=te.value)||void 0===e?void 0:e.titleImg},null),s("div",{class:Z.bgContent},null),s("div",{class:Z.musicContainer,style:{marginTop:"16px",height:"calc(100vh - ".concat(ne.value+16+"px",")")}},[s(y,{border:!1,center:!0,class:Z.musicInfo},{icon:function(){var e;return s(w,{class:Z.pImg,src:null===(e=te.value)||void 0===e?void 0:e.titleImg},null)},title:function(){var e,r,n,t;return s("div",{class:Z.info},[s("h4",{class:"van-ellipsis"},[null===(e=te.value)||void 0===e?void 0:e.musicSheetName]),s("p",{style:{display:"flex"}},[ye.value.map((function(e){return s(S,{style:{color:de[e].color},class:Z.tag,type:"success",plain:!0},{default:function(){return[de[e].text]}})})),1===(null===(r=te.value)||void 0===r?void 0:r.exquisiteFlag)&&s(w,{class:Z.exquisiteFlag,src:Q},null),(null===(n=te.value)||void 0===n?void 0:n.albumNums)>0&&s(w,{class:Z.songAlbum,src:X},null),s("span",{style:{paddingTop:"2px",paddingLeft:"6px"}},[null===(t=te.value)||void 0===t?void 0:t.composer])])])},value:function(){var e;return s(f,null,[null!==(e=te.value)&&void 0!==e&&e.notation?s("span",{class:Z.download,onClick:function(){return xe()}},[s("img",{src:B},null),s("span",null,[m("转谱")])]):null,s("span",{class:Z.download,onClick:function(){return xe()}},[s("img",{src:V},null),s("span",null,[m("下载曲谱")])])])}}),s("div",{class:Z.musicContent},[s("p",{class:Z.musicTitle},[null===(r=te.value)||void 0===r?void 0:r.musicSheetName]),ae.length>0?s("img",{src:ae[0],alt:"",class:Z.musicImg},null):n.value?s(f,null,[s(z,{animationData:R,class:Z.finch},null),s("p",{class:Z.finchLoad},[m("加载中...")])]):s("div",{class:Z.empty},[s(w,{src:F,class:Z.emptyImg},null),s("p",{class:Z.emptyTip},[m("暂无乐谱预览图")])]),s("div",{class:Z.videoOperation},[ie.value&&s(f,null,[(ye.value.includes("CHARGE")||ye.value.includes("VIP"))&&"PAID"!==(null===(t=te.value)||void 0===t?void 0:t.orderStatus)&&s("div",{class:[Z.audition]},[s("img",{src:M},null),s("span",null,[m("每首曲目可试听"),je.value,m("%")])]),s("div",{class:[Z.audio,Z.collectCell]},[s("audio",{id:"player",controls:!0,ref:pe},[s("source",{src:ie.value,type:"audio/mp3"},null)])])]),s("div",{class:[Z.collect,Z.collectCell]},[s("div",{class:[Z.userInfo]},[s("img",{src:(null===(i=te.value)||void 0===i?void 0:i.userAvatar)||U},null),s("span",null,[null===(o=te.value)||void 0===o?void 0:o.userName])]),s("div",{class:[Z.collectSection],onClick:function(){return xe()}},[s("span",null,[null===(a=te.value)||void 0===a?void 0:a.favoriteCount,m("人收藏")]),s("img",{src:null!==(l=te.value)&&void 0!==l&&l.favorite?q:E},null)])])])]),s("div",{class:[Z.lookAlbum,Z.collectCell],onClick:function(){xe()}},[s("div",null,[s("img",{src:D},null),s("span",null,[m("进入曲目所在专辑列表")])]),s(d,{name:"arrow",size:16,color:"#666"},null)])]),(null===(u=te.value)||void 0===u?void 0:u.id)&&s(A,{position:"bottom",background:"white"},{default:function(){return[s("div",{ref:re},[s(h,{round:!0,block:!0,type:"primary",color:"linear-gradient(180deg, #59E5D5 0%, #2DC7AA 100%)",onClick:function(){return xe()}},{default:function(){return[m("下载酷乐秀进入详情")]}})])]}}),s(g,{show:_e.value,"onUpdate:show":function(e){return _e.value=e},position:"bottom",round:!0},{default:function(){return[s(N,{imgList:JSON.parse(JSON.stringify(ae)),musicSheetName:te.value.musicSheetName},null)]}}),s(g,{show:se.status,"onUpdate:show":function(e){return se.status=e},teleport:"body",closeable:!0,style:{width:"80%"},round:!0},{default:function(){return[s("div",{class:Z.staffContainer},[s("div",{class:Z.staffTitle},[m("选择转换曲谱")]),s(k,{modelValue:se.radio,"onUpdate:modelValue":function(e){return se.radio=e}},{default:function(){return[s(x,{border:!1},{default:function(){return[s(y,{center:!0,border:!1,class:"staff"===se.radio?Z.active:"",onClick:function(){return he("staff")}},{icon:function(){return s(w,{src:P,class:Z.staffImg},null)},title:function(){return s("span",{class:Z.name},[m("五线谱")])},value:function(){return s(C,{name:"staff"},{icon:function(e){return s(d,{class:Z.boxStyle,size:16,name:e.checked?H:G},null)}})}}),s(y,{center:!0,border:!1,class:"first"===se.radio?Z.active:"",onClick:function(){return he("first")}},{icon:function(){return s(w,{src:L,class:Z.staffImg},null)},title:function(){return s("span",{class:Z.name},[m("简谱-首调")])},value:function(){return s(C,{name:"first"},{icon:function(e){return s(d,{class:Z.boxStyle,size:16,name:e.checked?H:G},null)}})}}),s(y,{center:!0,border:!1,class:"fixed"===se.radio?Z.active:"",onClick:function(){return he("fixed")}},{icon:function(){return s(w,{src:O,class:Z.staffImg},null)},title:function(){return s("span",{class:Z.name},[m("简谱-固定调")])},value:function(){return s(C,{name:"fixed"},{icon:function(e){return s(d,{class:Z.boxStyle,size:16,name:e.checked?H:G},null)}})}})]}})]}})])]}}),oe.value&&s("div",{class:Z.wxpopup,onClick:function(){oe.value=!1}},[s("img",{src:K,alt:""},null)])])}}}))}}}))}();