index-legacy-c4db5385.js 19 KB

1
  1. System.register(["./index-legacy-19987653.js","./index-legacy-986de4f0.js","./icon-collect-active-legacy-b7c75e66.js","./index-legacy-0119ef0a.js","./Slider-legacy-13455fab.js","./api-legacy-fa5d1954.js","./index-legacy-48de7c33.js"],(function(e,t){"use strict";var i,a,s,l,o,n,r,d,_,c,h,m,p,g,u,f,v,y,x,w,b,P,k,S,C,I,A,F,B,L,R,j,T,W,N,z,U,$,D,E;return{setters:[e=>{i=e.d,a=e.e,s=e.r,l=e.R,o=e.cu,n=e.w,r=e.f,d=e.o,_=e.cv,c=e.j,h=e.Z,m=e.q,p=e._,g=e.$,u=e.k,f=e.F,v=e.c,y=e.a,x=e.u,w=e.b3,b=e.X,P=e.cs,k=e.ct,S=e.x,C=e.a2,I=e.cw,A=e.T,F=e.ad,B=e.a$},e=>{L=e.T},e=>{R=e.i,j=e.a},e=>{T=e.T},e=>{W=e.N},e=>{N=e.c,z=e.d,U=e.e,$=e.f},e=>{D=e.g,E=e.s}],execute:function(){var G=document.createElement("style");G.textContent="._container_1dh8a_1{display:flex;flex-direction:column;height:100%}._container_1dh8a_1 .n-breadcrumb>ul{display:flex;align-items:center}._container_1dh8a_1 .n-breadcrumb>ul .n-breadcrumb-item{display:flex;align-items:center}._container_1dh8a_1 .n-breadcrumb>ul .n-breadcrumb-item__separator{display:none}._container_1dh8a_1 .n-breadcrumb>ul .n-breadcrumb-item__link{padding:5Px 18Px;background:#FFFFFF;border-radius:16Px;color:#21225d;line-height:20Px}._container_1dh8a_1 .n-breadcrumb .n-breadcrumb-item:last-child .n-breadcrumb-item__link{color:#fff;background:var(--product-color)}._container_1dh8a_1>.n-space{height:36Px;flex-shrink:0}._container_1dh8a_1 ._separator_1dh8a_32{height:18Px;margin:0 16Px}._wrap_1dh8a_36{padding-top:20Px;flex:1;transition:padding .3s;overflow:hidden}._content_1dh8a_42{display:flex;flex-direction:column;height:100%;background:#DDF2FF;border-radius:20Px}._tools_1dh8a_49{padding:20Px;display:flex;align-items:center;flex-shrink:0}._tools_1dh8a_49 .n-input{margin-left:auto;width:361Px}._contentWrap_1dh8a_59{flex:1;display:flex;padding:0 20Px 20Px;overflow:hidden}._musicList_1dh8a_65{width:28.54166667vw;height:100%;overflow-x:hidden;overflow-y:auto;min-width:330Px}._musicList_1dh8a_65::-webkit-scrollbar{width:0;display:none}._musicList_1dh8a_65 ._wrapList_1dh8a_76{width:26.66666667vw;min-width:294Px;min-height:100%;background:#fff;border-radius:16Px}._musicList_1dh8a_65 ._empty_1dh8a_83{display:flex;align-items:center;justify-content:center;height:50vh}._itemContainer_1dh8a_89{border-radius:16Px;padding:4Px 8Px}._itemContainer_1dh8a_89:first-child{padding-top:8Px}._itemContainer_1dh8a_89:last-child{padding-bottom:8Px}._item_1dh8a_89{position:relative;display:flex;align-items:center;padding:10Px;border-radius:12Px;cursor:pointer}._item_1dh8a_89:hover{background-color:rgba(0,0,0,.05)}._item_1dh8a_89._active_1dh8a_110{background-color:#ddf2ff}._item_1dh8a_89._active_1dh8a_110 ._arrow_1dh8a_113{opacity:1}._item_1dh8a_89 ._img_1dh8a_116{position:relative;width:60Px;height:60Px;border-radius:8Px;margin-right:12Px;box-shadow:0 0 .52083333vw .20833333vw rgba(27,35,55,.1);overflow:hidden;flex-shrink:0}._item_1dh8a_89 ._img_1dh8a_116 .n-image{width:100%;height:100%}._item_1dh8a_89 ._img_1dh8a_116 img{transition:opacity .3s;opacity:0}._item_1dh8a_89 ._img_1dh8a_116 img[data-loaded=true]{opacity:1}._item_1dh8a_89 ._title_1dh8a_137{flex:1;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start}._item_1dh8a_89 ._title_1dh8a_137 ._titleName_1dh8a_144{font-size:16Px;font-weight:600;color:#131415;line-height:28Px;width:100%}._item_1dh8a_89 ._title_1dh8a_137 ._titleDes_1dh8a_151{font-size:14Px;font-weight:400;color:#777;line-height:20Px;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}._item_1dh8a_89 ._btn_1dh8a_161{margin-left:auto;width:4.375vw;height:2.08333333vw;background:linear-gradient(to right,#44CAFF,#259DFE);border:none;padding:0;font-weight:700!important;flex-shrink:0;min-width:62Px;min-height:30Px}._item_1dh8a_89 ._btn_1dh8a_161 .n-button__content>img{margin-left:10Px}._item_1dh8a_89 ._arrow_1dh8a_113{position:absolute;top:50%;right:0;transform:translate(124%,-50%);opacity:0}._item_1dh8a_89 ._showPlayLoading_1dh8a_183{opacity:0}._loadingWrap_1dh8a_186{display:flex;justify-content:center;min-height:80Px}._musicStaff_1dh8a_191{display:flex;flex-direction:column;position:relative;left:-8Px;flex:1;background-color:#fff;border-radius:16Px;height:100%;z-index:1;overflow:hidden}._musicStaff_1dh8a_191::-webkit-scrollbar{width:0;display:none}._musicStaff_1dh8a_191 ._goBtn_1dh8a_207{position:absolute;left:50%;bottom:46Px;transform:translate(-50%);height:70Px;cursor:pointer}._musicStaff_1dh8a_191 ._favitor_1dh8a_215{position:absolute;top:1.04166667vw;right:1.25vw;width:2.5vw;height:2.5vw;cursor:pointer;transition:all .3s}._musicStaff_1dh8a_191 ._favitor_1dh8a_215:hover{transform:scale(1.1)}._musicStaff_1dh8a_191 ._favitor_1dh8a_215>img{display:block;width:100%;height:100%;filter:drop-shadow(0 0 .52083333vw rgba(27,35,55,.1))}._musicName_1dh8a_233{padding-top:30Px;font-size:24Px;font-weight:500;color:#333;line-height:24Px;text-align:center}._staffImgs_1dh8a_241{flex:1;overflow-y:auto}._staffImgs_1dh8a_241>img{width:100%}.van-fade-enter-active,.van-fade-leave-active{transition:all .3s}.van-fade-enter-from,.van-fade-leave-to{opacity:0}._container_hsosf_1{position:fixed;left:5.20833333vw;bottom:0;right:0;display:flex;align-items:center;height:108Px;padding:0 60Px;background-color:#fff;box-shadow:0 .10416667vw .625vw rgba(0,0,0,.1);z-index:10;transition:all .3s}._hidden_hsosf_15{transform:translateY(100%);opacity:0}._item_hsosf_19{position:relative;display:flex;align-items:center;width:100%}._item_hsosf_19 ._img_hsosf_25{position:relative;width:64Px;height:64Px;border-radius:50%;margin-right:12Px;background-color:#000;box-shadow:0 0 .52083333vw .20833333vw rgba(27,35,55,.1);padding:7Px;overflow:hidden;flex-shrink:0}._item_hsosf_19 ._img_hsosf_25 .n-image{border-radius:50%;width:100%;height:100%}._item_hsosf_19 ._img_hsosf_25 img{transition:opacity .3s;opacity:0;animation:_rotateImg_hsosf_1 6s linear infinite}._item_hsosf_19 ._img_hsosf_25 img[data-loaded=true]{opacity:1}._item_hsosf_19 ._svgcontainer_hsosf_50{position:fixed;z-index:-1000;pointer-events:none}._item_hsosf_19 ._progress_hsosf_55{position:absolute;left:4Px;top:4Px;width:56Px;pointer-events:none;transform:rotate(180deg)}._item_hsosf_19 ._progress_hsosf_55 .n-progress-graph .n-progress-graph-circle .n-progress-graph-circle-fill{stroke:url(#GradientProgress)}._item_hsosf_19 ._title_hsosf_66{margin-right:15Px;width:200Px}._item_hsosf_19 ._title_hsosf_66 ._titleName_hsosf_70{font-size:16Px;font-weight:600;color:#131415;line-height:28Px;white-space:nowrap}._item_hsosf_19 ._title_hsosf_66 ._titleDes_hsosf_77{font-size:14Px;font-weight:400;color:#777;line-height:20Px;white-space:nowrap}@keyframes _rotateImg_hsosf_1{to{transform:rotate(360deg)}}._playBtns_hsosf_89{margin-left:7.29166667vw;display:flex;align-items:center}._playBtns_hsosf_89 .n-button{width:40Px;height:40Px}._playBtns_hsosf_89 .n-button img{width:100%;height:100%}._playBtns_hsosf_89 ._playBtn_hsosf_89{width:50Px;height:50Px;margin:0 2.5vw;background:linear-gradient(to right bottom,#44CAFE,#007AFE)}._playBtns_hsosf_89 ._playBtn_hsosf_89 img{display:block}._timeWrap_hsosf_111{flex:1;display:flex;align-items:center;margin-left:4.58333333vw}._timeWrap_hsosf_111 ._timeProgress_hsosf_117{margin-right:1.25vw;border-radius:6Px;--n-rail-height: 8Px !important}._timeWrap_hsosf_111 ._time_hsosf_111{width:90Px;white-space:nowrap;flex-shrink:0}._audioAnimate_29dwa_1{position:absolute;left:0;right:0;top:0;bottom:0;background-color:rgba(0,0,0,.6);display:flex;justify-content:center;align-items:flex-end;padding-bottom:30%}._audioAnimate_29dwa_1 div{width:.26041667vw;height:1.04166667vw;background:linear-gradient(135deg,#34FFC5 0%,#1BD2FF 100%);transform-origin:bottom;border-radius:.26041667vw .26041667vw 0 0;margin:0 .10416667vw}._audioAnimate_29dwa_1 div:nth-child(1){animation:_musicWave_29dwa_1 .5s infinite linear both alternate}._audioAnimate_29dwa_1 div:nth-child(2){animation:_musicWave_29dwa_1 .2s infinite linear both alternate}._audioAnimate_29dwa_1 div:nth-child(3){animation:_musicWave_29dwa_1 .6s infinite linear both alternate}._audioAnimate_29dwa_1 div:nth-child(4){animation:_musicWave_29dwa_1 .3s infinite linear both alternate}@keyframes _musicWave_29dwa_1{0%{height:5px}to{height:20px}}\n",document.head.appendChild(G);const O="_container_1dh8a_1",X="_separator_1dh8a_32",q="_wrap_1dh8a_36",J="_content_1dh8a_42",M="_tools_1dh8a_49",Y="_contentWrap_1dh8a_59",Z="_musicList_1dh8a_65",H="_wrapList_1dh8a_76",K="_empty_1dh8a_83",Q="_itemContainer_1dh8a_89",V="_item_1dh8a_89",ee="_active_1dh8a_110",te="_arrow_1dh8a_113",ie="_img_1dh8a_116",ae="_title_1dh8a_137",se="_titleName_1dh8a_144",le="_titleDes_1dh8a_151",oe="_btn_1dh8a_161",ne="_showPlayLoading_1dh8a_183",re="_loadingWrap_1dh8a_186",de="_musicStaff_1dh8a_191",_e="_goBtn_1dh8a_207",ce="_favitor_1dh8a_215",he="_musicName_1dh8a_233",me="_staffImgs_1dh8a_241",pe=""+new URL("icon_back-57d35e72.svg",t.meta.url).href,ge=""+new URL("icon_separator-7cca8458.svg",t.meta.url).href,ue=""+new URL("icon_arrow-b4fee1f7.svg",t.meta.url).href,fe=""+new URL("icon_play-43b52923.svg",t.meta.url).href,ve=""+new URL("icon_pause-6dbc64e3.svg",t.meta.url).href,ye=""+new URL("icon_goXiaoku-c05e1880.svg",t.meta.url).href,xe={container:"_container_hsosf_1",hidden:"_hidden_hsosf_15",item:"_item_hsosf_19",img:"_img_hsosf_25",rotateImg:"_rotateImg_hsosf_1",svgcontainer:"_svgcontainer_hsosf_50",progress:"_progress_hsosf_55",title:"_title_hsosf_66",titleName:"_titleName_hsosf_70",titleDes:"_titleDes_hsosf_77",playBtns:"_playBtns_hsosf_89",playBtn:"_playBtn_hsosf_89",timeWrap:"_timeWrap_hsosf_111",timeProgress:"_timeProgress_hsosf_117",time:"_time_hsosf_111"},we=""+new URL("icon_pre-20929b0c.svg",t.meta.url).href,be=""+new URL("icon_next-7dc20456.svg",t.meta.url).href,Pe=i({name:"playItem",props:{item:{type:Object,default:()=>({})},show:{type:Boolean,default:!1},playState:{type:String,default:"pause"}},emits:["change"],setup(e,{emit:t}){let i=null;const h=a({isFirst:!0,duration:0,currentTime:0}),m=s(),p=()=>{h.duration=m.value.duration,h.isFirst?h.isFirst=!1:"play"===e.playState&&m.value.play()},g=l((()=>`${o(h.currentTime)} / ${o(h.duration)}`));return n((()=>e.playState),(e=>{"play"===e?m.value.play():m.value.pause()})),()=>r("div",{class:[xe.container,e.show?xe.show:xe.hidden]},[r("div",{class:[xe.item]},[r("div",{class:xe.img},[r(d,{lazy:!0,objectFit:"cover",previewDisabled:!0,src:e.item.titleImg,onLoad:e=>{e.target.dataset.loaded="true"}},null),r("svg",{class:xe.svgcontainer},[r("defs",null,[r("linearGradient",{id:"GradientProgress"},[r("stop",{"stop-color":"#5BECFF",offset:"0%"},null),r("stop",{"stop-color":"#259CFE",offset:"100%"},null)])])]),r(_,{type:"circle",class:xe.progress,showIndicator:!1,percentage:h.currentTime/h.duration*100},null)]),r("div",{class:xe.title},[r("div",{class:xe.titleName},[r(T,{text:e.item.musicSheetName},null)]),r("div",{class:xe.titleDes},[e.item.composer])]),r("div",{class:xe.playBtns},[r(c,{color:"rgba(246,246,246,1)",circle:!0,bordered:!1,onClick:()=>t("change","pre")},{default:()=>[r("img",{src:we},null)]}),r(c,{color:"rgba(57,130,246,1)",class:xe.playBtn,circle:!0,bordered:!1,onClick:()=>t("change","pause"===e.playState?"play":"pause")},{default:()=>[r("img",{style:{display:"pause"===e.playState?"":"none",transform:"scale(1.5) translateX(1Px)"},src:fe},null),r("img",{style:{display:"play"===e.playState?"":"none",transform:"scale(1.5)"},src:ve},null)]}),r(c,{color:"rgba(246,246,246,1)",circle:!0,bordered:!1,onClick:()=>t("change","next")},{default:()=>[r("img",{src:be},null)]})]),r("div",{class:xe.timeWrap},[r(W,{tooltip:!1,step:.01,class:xe.timeProgress,value:h.currentTime,max:h.duration,"onUpdate:value":t=>(t=>{m.value.pause(),h.currentTime=t,clearTimeout(i),i=setTimeout((()=>{m.value.currentTime=t,"play"===e.playState&&m.value.play(),i=null}),300)})(t)},null),r("div",{class:xe.time},[g.value]),r("audio",{ref:m,src:e.item.audioFileUrl||e.item.metronomeUrl,onLoadedmetadata:p,onTimeupdate:()=>{i||(h.currentTime=m.value.currentTime)}},null)])])])}}),ke="_audioAnimate_29dwa_1",Se=i({name:"playLoading",setup:()=>()=>r("div",{class:ke},[r("div",null,null),r("div",null,null),r("div",null,null),r("div",null,null)])}),Ce=i({name:"music-guide",emits:["close"],setup(e,{emit:t}){const i=a({box:{height:"0px"},show:!1,steps:[{ele:"",eleRect:{},img:D("music1.png"),handStyle:{top:"0.91rem"},imgStyle:{left:"-4.4em",width:"534px",height:"228px"},btnsStyle:{bottom:"30px",left:"90px"},eleRectPadding:{left:7,top:7,width:14,height:14}},{ele:"",img:D("music2.png"),imgStyle:{top:"100%",left:"-205px",width:"420px",height:"228px"},btnsStyle:{bottom:"30px",left:h(-60)},boxStyle:{borderRadius:"25px"},eleRectPadding:{left:7,top:7,width:14,height:14}},{ele:"",img:D("music3.png"),imgStyle:{top:"100%",left:"-130px",width:h(401),height:h(304)},btnsStyle:{bottom:"90px",left:h(20)},eleRectPadding:{left:7,top:7,width:14,height:14},type:"bottom"}],step:0}),l=s(!1),o=localStorage.getItem("teacher-guideInfo");o&&JSON.parse(o).musicGuide?l.value=!1:l.value=!0;const n=()=>{const e=document.getElementById(`music-${i.step}`);if(e){const t=e.getBoundingClientRect(),a=i.steps[i.step].eleRectPadding?.left||0,s=i.steps[i.step].eleRectPadding?.top||0,l=i.steps[i.step].eleRectPadding?.width||0,o=i.steps[i.step].eleRectPadding?.height||0;i.box={left:t.x-a+"px",top:t.y-s+"px",width:t.width+l+"px",height:t.height+o+"px"},console.log(`coai-${i.step}`,i.box)}};m((()=>{n()}));const d=()=>{i.step>=4?_():(i.step=i.step+1,n())},_=()=>{let e=JSON.parse(localStorage.getItem("teacher-guideInfo")||"{}")||null;e?e.musicGuide=!0:e={musicGuide:!0},localStorage.setItem("teacher-guideInfo",JSON.stringify(e)),l.value=!1};return()=>r(f,null,[l.value?p(r("div",{"onUpdate:show":e=>l.value=e,class:["n-modal-mask","n-modal-mask-guide"]},[r("div",{class:E.content,onClick:()=>d()},[r("div",{class:E.backBtn,onClick:e=>{e.stopPropagation(),_()}},[u("跳过")]),r("div",{class:E.box,style:{...i.box,...i.steps[i.step].boxStyle},id:`modeType-${i.step}`},[i.steps.map(((e,t)=>r("div",{onClick:e=>e.stopPropagation(),class:E.item,style:"bottom"==e.type?{display:t===i.step?"":"none",left:`${e.eleRect?.left}px`,top:`-${e.imgStyle?.height}`}:{display:t===i.step?"":"none",left:`${e.eleRect?.left}px`,top:`${i.box?.height}`}},[r("img",{class:E.img,style:e.imgStyle,src:e.img},null),r("div",{class:E.btns,style:e.btnsStyle},[i.step+1==i.steps.length?r(f,null,[r("div",{class:[E.endBtn],onClick:()=>_()},[u("完成")]),r("div",{class:E.nextBtn,onClick:()=>{i.step=0,n()}},[u("再看一遍")])]):r("div",{class:E.btn,onClick:()=>d()},[u("下一步 ("),i.step+1,u("/"),i.steps.length,u(")")])])])))])])]),[[g,l.value,"show"]]):null])}});e("default",i({name:"XiaokuMusic",setup(){const e=v(),t=y(),i=x(),o=a({page:1,rows:20,status:!0,keyword:"",musicSheetCategoriesId:t.query.id||""}),n=a({loading:!1,finshed:!1,reshing:!1,tags:[],tagIndex:0,list:[],listActive:0,playState:"pause",showPlayer:!1}),_=s(!1),h=async()=>{n.loading=!0;let e={};try{e=await z({...o,musicSubject:n.tagIndex?n.tagIndex:""})}catch(t){console.log(t)}n.reshing&&(n.list=[],n.reshing=!1),200===e?.code&&Array.isArray(e?.data?.rows)&&(n.list=[...n.list,...e.data.rows],n.finshed=e.data.rows.length<o.rows,console.log("🚀 ~ data.finshed:",n.finshed)),n.list[n.listActive]&&f(n.list[n.listActive]),n.loading=!1,setTimeout((()=>{_.value=!0}),500)},p=()=>{o.page=1,n.finshed=!1,h()},g=s();m((async()=>{(async()=>{const e=await N();Array.isArray(e?.data)&&(n.tags=[{name:"全部",id:0},...e.data])})(),await h();const e=new IntersectionObserver((e=>{e[0].intersectionRatio>0&&(console.log(n.finshed),n.loading||n.finshed||(o.page=o.page+1,h()))}));w((()=>{e.observe(g.value)}))}));const f=async e=>{const t=await U({type:"MUSIC",materialId:e.id});200===t?.code&&(e.favitor=t.data)},W=l((()=>n.list[n.listActive]||{})),D=()=>{n.list[n.listActive].favitor=!n.list[n.listActive].favitor,$({favoriteFlag:n.list[n.listActive].favitor,type:"MUSIC",materialId:n.list[n.listActive].id})},E=e=>{const t=n.list.findIndex((t=>t.id===e.id));t>-1&&(n.listActive===t?n.playState="play"===n.playState?"pause":"play":n.playState="play",n.showPlayer=!0,n.listActive=t)},G=e=>{"play"===e?n.playState="play":"pause"===e?n.playState="pause":"pre"===e?n.list[n.listActive-1]&&E(n.list[n.listActive-1]):"next"===e?n.list[n.listActive+1]&&E(n.list[n.listActive+1]):"favitor"===e&&D()};return()=>{let a;return r("div",{class:O},[r(b,{align:"center",wrapItem:!1,size:16},{default:()=>[r("img",{style:{cursor:"pointer"},src:pe,onClick:()=>i.push({path:"/xiaoku-ai"})},null),r(P,{separator:""},{default:()=>[r(k,{onClick:()=>i.push({path:"/xiaoku-ai"})},{default:()=>[u("曲谱列表")]}),r("img",{class:X,src:ge},null),r(k,null,{default:()=>[t.query.name]})]})]}),r("div",{class:q,style:{paddingBottom:n.showPlayer?"108Px":""}},[r("div",{class:J},[r("div",{class:M},[r(b,{style:{width:"100%"},size:[24,12],wrapItem:!1},{default:()=>{return[r("div",{id:"music-0"},[r(b,{style:{width:"100%"},size:[24,12],wrapItem:!1},(e=a=n.tags.map((e=>r(c,{round:!0,textColor:n.tagIndex===e.id?"#fff":"#000",color:n.tagIndex===e.id?"#198CFE":"#fff",onClick:()=>{n.tagIndex=e.id,n.reshing=!0,p()}},{default:()=>[e.name]}))),"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!B(e)?a:{default:()=>[a]}))])];var e}}),r(L,{style:{marginLeft:"auto"},round:!0,border:!1,onSearch:e=>{o.keyword=e,n.reshing=!0,p()}},null)]),r("div",{class:Y},[r("div",{class:Z},[r("div",{class:H},[n.list.map(((e,t)=>r("div",{class:Q},[r("div",{class:[V,n.listActive===t&&ee],onClick:()=>(e=>{const t=n.list.findIndex((t=>t.id===e.id));t>-1&&(n.listActive=t),f(e)})(e)},[r("div",{class:ie},[r(d,{lazy:!0,objectFit:"cover",previewDisabled:!0,src:e.titleImg,onLoad:e=>{e.target.dataset.loaded="true"}},null),r(Se,{class:[n.listActive===t&&"play"===n.playState?"":ne]},null)]),r("div",{class:ae},[r("div",{class:se},[r(T,{text:e.musicSheetName},null)]),r("div",{class:le},[e.composer])]),r(c,0==t?S({color:"#259CFE",textColor:"#fff"},{id:"music-1"},{round:!0,class:oe,type:"primary",onClick:t=>{t.stopPropagation(),E(e)}}):{color:"#259CFE",textColor:"#fff",round:!0,class:oe,type:"primary",onClick:t=>{t.stopPropagation(),E(e)}},{default:()=>[u("试听"),r("img",{src:n.listActive===t&&"play"===n.playState?ve:fe},null)]}),r("img",{class:te,src:ue},null)])]))),!n.finshed&&r("div",{ref:g,class:re},[r(C,{show:!0},null)]),!n.loading&&0===n.list.length&&r("div",{class:K},[r(I,null,null)])])]),r("div",{class:de},[r("div",{class:he},[W.value.musicSheetName]),r("img",{id:"music-2",style:{display:W.value.id?"":"none"},class:_e,src:ye,onClick:()=>{G("pause");const t=`${/(localhost|192)/.test(location.host)?"https://test.lexiaoya.cn":location.origin}/instrument?platform=pc&showGuide=true&id=${W.value.id}&Authorization=${e.getToken}`;window.open(t)}},null),r("div",{style:{display:W.value.id?"":"none"},class:ce,onClick:()=>D()},[r(A,{name:"favitor",mode:"out-in"},{default:()=>[W.value.favitor?r("img",{src:R,key:"1"},null):r("img",{src:j,key:"2"},null)]})]),r("div",{class:me},[r(F,{name:"van-fade"},{default:()=>[(W.value?.musicSvg||W.value?.musicImg)?.split(",").map(((e,t)=>r("img",{src:e,key:e},null)))]})])])])])]),0!==n.list.length&&r(Pe,{show:n.showPlayer,playState:n.playState,item:W.value,onChange:e=>G(e)},null),_.value?r(Ce,null,null):null])}}}))}}}));