index-eb9e5125.js 26 KB

1
  1. import{d as E,e as q,r as L,L as _,ck as M,y as $,f as t,t as Y,cl as ee,j as R,R as A,n as Z,M as x,O as j,S as te,U as se,k as y,F as T,c as V,a as ae,u as ie,E as le,w as U,ci as oe,cj as G,x as ne,A as X,T as ce,a5 as re,v as Ae,aU as ue}from"./index-779ffae6.js";import{T as de}from"./index-00760a35.js";import{T as H,i as ge,a as me}from"./index-5bd6453a.js";import{N as pe}from"./Slider-c00697bd.js";import{c as fe,d as ve,e as he}from"./api-d88c0b1e.js";import{g as F,s as h,a as ye,b as z}from"./api-99647272.js";import{T as W}from"./index-69b7c198.js";import{s as we}from"./state-b3ee5e9f.js";import{u as Ce}from"./index-90d819b7.js";import"./index-29eeffc7.js";const Se="_container_11l7k_1",Ie="_iconBack_11l7k_6",Be="_separator_11l7k_36",ke="_wrap_11l7k_41",be="_wrapBottom_11l7k_47",Re="_content_11l7k_50",De="_tools_11l7k_57",Le="_contentWrap_11l7k_71",Ne="_musicList_11l7k_78",qe="_wrapList_11l7k_92",Ee="_empty_11l7k_98",Ue="_itemContainer_11l7k_104",Fe="_item_11l7k_104",Pe="_active_11l7k_126",Qe="_arrow_11l7k_129",Oe="_img_11l7k_132",Ke="_title_11l7k_155",Je="_titleName_11l7k_162",Me="_titleDes_11l7k_169",xe="_btn_11l7k_179",Te="_showPlayLoading_11l7k_203",Ve="_loadingWrap_11l7k_206",Ge="_musicStaff_11l7k_211",Xe="_goBtn_11l7k_226",ze="_favitor_11l7k_235",We="_musicName_11l7k_253",_e="_staffImgs_11l7k_261",Ye="_previewWindow_11l7k_278",Ze="_previewClose_11l7k_283",je="_previewIframe_11l7k_290",l={container:Se,iconBack:Ie,separator:Be,wrap:ke,wrapBottom:be,content:Re,tools:De,contentWrap:Le,musicList:Ne,wrapList:qe,empty:Ee,itemContainer:Ue,item:Fe,active:Pe,arrow:Qe,img:Oe,title:Ke,titleName:Je,titleDes:Me,btn:xe,showPlayLoading:Te,loadingWrap:Ve,musicStaff:Ge,goBtn:Xe,favitor:ze,musicName:We,staffImgs:_e,previewWindow:Ye,previewClose:Ze,previewIframe:je},He="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAABktJREFUeF7tnGtsFFUUx/9nWopQsC2PoChCESUKaPdRP2ADRHZrxASQWmMC8RkDKjYg4AcM0k8QkZoIhGDQxBA0hqYGNIbYrqSSirH74hFIQLAoSnwAfWAJLO0cc2e3pbT7mJnd2Z1JZpMm/XDOvef+5r7OuedeQhZ/tbUsfX0k5GDIjzJjOjGmAyhl4juJMZqJRgtziPkqE64SUxeANiacJvEH6djC2c5wbS3J2TKbjK7I4Q1NBMlVkHk+A3MBLk6vTuog4AdI9D1Yagg3OS+mV15ybUMAzXup7Y6ui1eqZJZfAOABs2RII0jpST6JpD13ThzT0PxZ6fVM15NRQPOqT47qaO9eQcAaBu7KtLHJyiPgLwbqiksKdzXXz/gvU3VnBNC8Ws7v/DFYA5bXMzA2U8bpKYeAyyBpU9Hjrm3NtdSjp4yBOmkDcnkCFTJ4J4NnpWtMJvUJdEICvRH0uVvSKVc3oOrqkwVn269tZWAlwLrLScf41LokDNsxrWTk2vr6GZHU8kMldDWs/Gn/1J4I72OGS0+l2dYhQjC/gJ7zf1v+q9a6NQNyVgafYFn+isFFWivLpTyBOkmSloQaXYe02KEJUJk3UA3wXjAXaKnENLJEEYCWHW1y16u1STUgpyf4mkzyLsP2NGotTleOSJZYWhHyuXarKUoVoFjP+dLycPqIKBtMel5NT0oJSMw5MssHLTusEnUToohE0lOp5qSkgJTV6gZCVpuQ1QwdISMm7vzhcCZb3RICUvY5Hd1HrLKUq4UyWE5sAaYVF85OtE9KCMjh8W9j8Ft6K7aSHoG2h33lNfFsjgtIuA+94MPm3SFnGj9xHmhOPLdkCCDF8WwJiHnHVL5VppEMGWqgE0UVbudgB3cIIIc38DazXGe0QVrLz88n9PSwVjVN8kTSmnCT+8OBSrcBEvGczvbu87kOW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W8U2tehVCyY9oU6FZDsK5kqINmXelVAsq+Fq4BkPyygApL9NIUKSH1uif24SQpY9vM4KnuT/cCSWlD2E10qSSkBOOWRt2fBPJ8Zc9K/8kAdRDgMIp9lH3lLhK+6mvPOdYbKrPRM4P84xK9IHymBNAAAAABJRU5ErkJggg==",$e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAeCAYAAAAhDE4sAAAAAXNSR0IArs4c6QAAAVpJREFUSEvN1DFLw0AUB/D3DsWQoqMOglNal1IQXFx0lKqDkwVBQXFw6XfIt9BFq3bsIKifwNWltHQICWQVC1qEaqXkngRJaJomdxc6eOvd/e4e73+HMKWBU3IgAhlGdUHXh1qrdfmmekAI+QhRrwLAEJFbtn33jIgkC4ZQqXS+2O9/7wcbEZll29fS2FhpR1tEbDULFoGICPP5000irozFupYVm9j+LFhijlSx1ECqYMJky2JCyI+CDCYFJWGcw6vr3j7489JQgBnGyTYArYyE9t5xal0lqFg8W/r6Ge4gh1kf4kh8fW2v1mgceNLQOAIAA02beep0rt6lS4sj3kDX5x/b7YuPsETRNyGDCG8ki6RCKkgipIpMhLIgMSgrEoHK5eqc5XweBmEDiLc4rcNhIAuF42XPw92/xWpI5EamabJ63d1gDPVcDl6azZueKGOj89JPRIT+P+gXUk8JLjLShhUAAAAASUVORK5CYII=",et="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGoAAABeCAYAAADLyoEsAAAAAXNSR0IArs4c6QAABt1JREFUeF7tnWnMXUMYx39jb6l9J2jtYgmxlBJVIoRoYw1CRAgShNiChNgqoiWiRO1L7DuRaCLxhfgiIRK01iZiiQQhYgv5y9PObU7v+973nnvvOXNm7p3ny5u2M2ee+f8678x5ZuY5jiE0SVsBJwAHAtsBk4CfgM+ARcCbzrm/Uuq6S8nZbr56QPOAE4HVJij/M3ALsMA590+358bw70MDStLpwD3Aej0I+z4wxzn3bQ91GimaPChJqwK3A5f2qeB3wCzn3JI+6wepljQoSRsBzwKHD6jW98BhMcN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Ars4c6QAAAPxJREFUOE/NlD1KQ0EUhb9TWAVSCVmAuIlkD4KNTYqAYGNl6uwhre5ALAxkBakFuzSCpRtIII3VDSe8Kfx9b5wpvM3AvHe+uXfunSOaiIgT4EjSS9rLWRURA+ARGDXCZ+BS0joX9ABcfBK9AzNgLim6AJ3RFuj/8PMKmEh6a4MZ1HbiBriWdP8brAso6Q0y0OAvkQOy2CW6VJf8IXJBFvsq5m6GJDflEH8BJa3HY5zGpARkoDO6kXRXCkrZndUCLf4dqLg0X/ZU0m1JacXtrzKQVZ5I8aPtbCM7oFfD2BbAeQ2rPQaWwLCBPQFX2eafMomI04OvSK9t/vzd9z3mWooBqQP50QAAAABJRU5ErkJggg==",Q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAYCAYAAAD3Va0xAAAAAXNSR0IArs4c6QAAALFJREFUOE/tlbsJQkEQRc9VBBuwAC1AwdQqTIwsz8jEKkwFLeBZgA0IolcWDPbzdBPDnXDhnFkuzIwAbI+BGdBJuoe3WuWMbK+AAzABbsBa0vGXqJexfQbmEXiRtKiISsb2ExhE4EvSsCIqGdvOIUmqiEqmiZLIeuNoGbWMssFqs5YEElbt3/ZRB0wj/VVSOARfy3bJ2N4AO2AEPICtpH1FVDKfcxR+sAROkkK3atlOmDeNFNADM6ZBwAAAAABJRU5ErkJggg==",tt=""+new URL("icon_goXiaoku-5d0db670.png",import.meta.url).href,st=""+new URL("icon_default-7bc33289.png",import.meta.url).href,at=""+new URL("icon-close-1bf25bcf.png",import.meta.url).href,it="_container_1ql9q_1",lt="_hidden_1ql9q_15",ot="_item_1ql9q_19",nt="_img_1ql9q_25",ct="_rotateImg_1ql9q_1",rt="_imgRotate_1ql9q_47",At="_svgcontainer_1ql9q_53",ut="_progress_1ql9q_58",dt="_title_1ql9q_69",gt="_titleName_1ql9q_73",mt="_titleDes_1ql9q_80",pt="_playBtns_1ql9q_92",ft="_playBtn_1ql9q_92",vt="_timeWrap_1ql9q_115",ht="_timeProgress_1ql9q_121",yt="_time_1ql9q_115",g={container:it,hidden:lt,item:ot,img:nt,rotateImg:ct,imgRotate:rt,svgcontainer:At,progress:ut,title:dt,titleName:gt,titleDes:mt,playBtns:pt,playBtn:ft,timeWrap:vt,timeProgress:ht,time:yt},wt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAB4pJREFUeF7tnd1rFVcQwGc24J69YC1taCW0tEjhhoCVPAgixDZi7JNW24o+SKHtS8UkVGv/Ax/UaBpqogFNA31Q1LZq/IDUj6QN+KTWRJAEqxUTQltTkUb3Q81Omc3e9Ca59+53sjfdAyGBPTNn9pezu7Mzc84izGIjolLDMCoBIG2aZhoR0wCwEADmE9F8RJzP5hHRKCKOAgD//EFEA5IkDQDAgCzLvyLiyGydBs7kwESkGIaxyjTNlQCwEhEXE1EgGxCRiOgmAFyWJOmyLMsXEVGbqfMKZLwbIxmQrusrAOBjAPiIiF5wI+e3DyL+AwDfA8B3QohfGLBfXW7kIgNIRLJhGJ8Q0VdEtMiNMWH3QcS7iNggy3I7Ihph62d9oQO0L9PPTdPcAQBlURjtQ+ewJEl7ZVluDfvyDhWgrutriOgbInrTx0lGLoKI9xCxXghxJqzBQgGoadobDA4A1oZlWMR6OhCxTlGU+0HHCQzQMIwPxsbG2gDgxaDGzLD8o5KSks9kWf4xyLi+ARLRPE3T9gJAXRADYiC7X1GUHYj41I8tvgAS0Uu6rp8houV+Bo2bDCJeEUKsQcSHXm3zDJCIXtN1vZOIKrwOFuf+iHhLCPEeIg55sdMTQF3X00R0gYhe9zJIsfRFxEFErBFC8Guiq+YaoD3zrsxVeBlaDFEIsdztTHQF0L7n9cy1yzbfFLMv5yo390RHgPy01XW9a648MFxdl/yKNv5gqXZ6OjsCVFWVHeRid1Xccpvab38qlaovJFwQoO0k/+B39LkgV1JS8mEhZzsvQPv17EYRvmGE/X97hIhL8r325QWoqurpInq3DRvaVH0dqVTq/VyD5ATIURXTND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DqaUOJ/DqC74HMYrLp/D+LPgcxg/Jf05jP8ALMM5KXFCm2sAAAAASUVORK5CYII=",St=E({name:"playItem",props:{item:{type:Object,default:()=>({})},show:{type:Boolean,default:!1},playState:{type:String,default:"pause"}},emits:["change"],setup(c,{emit:w}){let i=null;const n=q({isFirst:!0,duration:0,currentTime:0}),e=L(),D=()=>{if(n.duration=e.value.duration,n.isFirst){n.isFirst=!1;return}c.playState==="play"&&e.value.play()},v=m=>{e.value.pause(),n.currentTime=m,clearTimeout(i),i=setTimeout(()=>{e.value.currentTime=m,c.playState==="play"&&e.value.play(),i=null},300)},k=_(()=>"".concat(M(n.currentTime)," / ").concat(M(n.duration)));return $(()=>c.playState,m=>{m==="play"?e.value.play():e.value.pause()}),()=>t("div",{class:[g.container,c.show?g.show:g.hidden]},[t("div",{class:[g.item]},[t("div",{class:[g.img,c.playState!=="play"&&g.imgRotate]},[t(Y,{lazy:!0,objectFit:"cover",previewDisabled:!0,src:c.item.titleImg||"https://gyt.ks3-cn-beijing.ksyuncs.com/07/1690789356356.png",onLoad:m=>{m.target.dataset.loaded="true"}},null),t("svg",{class:g.svgcontainer},[t("defs",null,[t("linearGradient",{id:"GradientProgress"},[t("stop",{"stop-color":"#5BECFF",offset:"0%"},null),t("stop",{"stop-color":"#259CFE",offset:"100%"},null)])])]),t(ee,{type:"circle",class:g.progress,showIndicator:!1,percentage:n.currentTime/n.duration*100},null)]),t("div",{class:g.title},[t("div",{class:g.titleName},[t(H,{text:c.item.musicSheetName},null)]),t("div",{class:g.titleDes},[c.item.composer])]),t("div",{class:g.playBtns},[t(R,{color:"rgba(246,246,246,1)",circle:!0,bordered:!1,onClick:()=>w("change","pre")},{default:()=>[t("img",{src:wt},null)]}),t(R,{color:"rgba(57,130,246,1)",class:g.playBtn,circle:!0,bordered:!1,onClick:()=>w("change",c.playState==="pause"?"play":"pause")},{default:()=>[t("img",{style:{display:c.playState==="pause"?"":"none"},src:P},null),t("img",{style:{display:c.playState==="play"?"":"none"},src:Q},null)]}),t(R,{color:"rgba(246,246,246,1)",circle:!0,bordered:!1,onClick:()=>w("change","next")},{default:()=>[t("img",{src:Ct},null)]})]),t("div",{class:g.timeWrap},[t(pe,{tooltip:!1,step:.01,class:g.timeProgress,value:n.currentTime,max:n.duration,"onUpdate:value":m=>v(m)},null),t("div",{class:g.time},[k.value]),t("audio",{ref:e,src:c.item.audioFileUrl||c.item.metronomeUrl,onLoadedmetadata:D,onEnded:()=>{w("change","pause")},onTimeupdate:()=>{i||(n.currentTime=e.value.currentTime)}},null)])])])}}),It="_audioAnimate_29dwa_1",Bt="_musicWave_29dwa_1",kt={audioAnimate:It,musicWave:Bt},bt=E({name:"playLoading",setup(){return()=>t("div",{class:kt.audioAnimate},[t("div",null,null),t("div",null,null),t("div",null,null),t("div",null,null)])}}),Rt=E({name:"music-guide",emits:["close"],setup(c,{emit:w}){const i=q({box:{height:"0px"},show:!1,steps:[{ele:"",eleRect:{},img:F("music1.png"),handStyle:{top:"0.91rem"},imgStyle:{top:A(-4),left:A(0),width:A(533),height:A(271)},btnsStyle:{bottom:A(40),left:A(159)},eleRectPadding:{left:7,top:7,width:14,height:14},boxStyle:{}},{ele:"",img:F("music2.png"),imgStyle:{top:A(-4),left:A(-205),width:A(420),height:A(228)},btnsStyle:{bottom:A(35),left:A(-48)},boxStyle:{borderRadius:"25px"},eleRectPadding:{left:7,top:7,width:14,height:14}},{ele:"",img:F("music3.png"),imgStyle:{top:"100%",left:A(-130),width:A(401),height:A(304)},btnsStyle:{bottom:A(100),left:A(30)},boxStyle:{borderRadius:"40px"},eleRectPadding:{left:7,top:7,width:14,height:14},type:"bottom"}],step:0}),n=L(!1),e=L({});(async()=>{var o;try{const u=await ye({guideTag:"teacher-guideInfo"});u.data?e.value=JSON.parse((o=u.data)==null?void 0:o.guideValue)||null:e.value={},e.value&&e.value.musicGuide?n.value=!1:n.value=!0}catch(u){console.log(u)}})();const v=()=>{var u,C,B,d;const o=document.getElementById("music-".concat(i.step));if(o){const f=o.getBoundingClientRect();if(console.log(o.style.display,"ele"),o.style.display=="none"){I();return}const S=((u=i.steps[i.step].eleRectPadding)==null?void 0:u.left)||0,N=((C=i.steps[i.step].eleRectPadding)==null?void 0:C.top)||0,a=((B=i.steps[i.step].eleRectPadding)==null?void 0:B.width)||0,s=((d=i.steps[i.step].eleRectPadding)==null?void 0:d.height)||0;i.box={left:f.x-S+"px",top:f.y-N+"px",width:f.width+a+"px",height:f.height+s+"px"}}else I()},k=async o=>{try{if(o!=="xiaoku-music")return;e.value?e.value.musicGuide=!1:e.value={musicGuide:!1};try{await z({guideTag:"teacher-guideInfo",guideValue:JSON.stringify(e.value)})}catch(u){console.log(u)}i.step=0,v(),n.value=!0}catch(u){}};Z(()=>{v(),window.addEventListener("resize",m),x.on("teacher-guideInfo",o=>k(o))});const m=()=>{v()};j(()=>{window.removeEventListener("resize",m),x.off("teacher-guideInfo",k)});const I=()=>{if(i.step>=3){b();return}i.step=i.step+1,v()},b=async()=>{e.value?e.value.musicGuide=!0:e.value={musicGuide:!0};try{const o=await z({guideTag:"teacher-guideInfo",guideValue:JSON.stringify(e.value)})}catch(o){console.log(o)}n.value=!1};return()=>t(T,null,[n.value?te(t("div",{"onUpdate:show":o=>n.value=o,class:["n-modal-mask","n-modal-mask-guide"]},[t("div",{class:h.content,onClick:()=>I()},[t("div",{class:h.backBtn,onClick:o=>{o.stopPropagation(),b()}},[y("跳过")]),t("div",{class:h.box,style:{...i.box,...i.steps[i.step].boxStyle},id:"modeType-".concat(i.step)},[i.steps.map((o,u)=>{var C,B,d,f;return t("div",{onClick:S=>S.stopPropagation(),class:h.item,style:o.type=="bottom"?{display:u===i.step?"":"none",left:"".concat((C=o.eleRect)==null?void 0:C.left,"px"),top:"-".concat((B=o.imgStyle)==null?void 0:B.height)}:{display:u===i.step?"":"none",left:"".concat((d=o.eleRect)==null?void 0:d.left,"px"),top:"".concat((f=i.box)==null?void 0:f.height)}},[t("img",{class:h.img,style:o.imgStyle,src:o.img},null),t("div",{class:h.btns,style:o.btnsStyle},[i.step+1==i.steps.length?t(T,null,[t("div",{class:[h.endBtn],onClick:()=>b()},[y("完成")]),t("div",{class:h.nextBtn,onClick:()=>{i.step=0,v()}},[y("再看一遍")])]):t("div",{class:h.btn,onClick:()=>I()},[y("下一步 ("),i.step+1,y("/"),i.steps.length,y(")")])])])})])])]),[[se,n.value,"show"]]):null])}});function Dt(c){return typeof c=="function"||Object.prototype.toString.call(c)==="[object Object]"&&!ue(c)}const Mt=E({name:"XiaokuMusic",setup(){const c=V(),w=ae(),i=ie(),n=q({page:1,rows:20,status:!0,name:"",musicSheetCategoriesId:w.query.id||""}),e=q({loading:!1,finshed:!1,reshing:!1,tags:[],tagIndex:0,list:[],listActive:0,playState:"pause",showPlayer:!1,previewModal:!1,showPreivew:!1,previewUrl:"",showCloseBtn:!0}),D=L(!1),v=V(),k=async()=>{const a=sessionStorage.getItem("musicSubjectList")?JSON.parse(sessionStorage.getItem("musicSubjectList")):[];e.tags=[{name:"全部",id:0},...a]},m=async()=>{var s;e.loading=!0;let a={};try{a=await fe({...n,musicSubject:e.tagIndex?e.tagIndex:""})}catch(r){console.log(r)}e.reshing&&(e.list=[],e.reshing=!1),(a==null?void 0:a.code)===200&&Array.isArray((s=a==null?void 0:a.data)==null?void 0:s.rows)&&(e.list=[...e.list,...a.data.rows],e.finshed=a.data.rows.length<n.rows,console.log("🚀 ~ data.finshed:",e.finshed)),e.list[e.listActive]&&C(e.list[e.listActive]),e.loading=!1,setTimeout(()=>{D.value=!0},500)},I=()=>{e.listActive=0,e.showPlayer=!1,e.playState="pause",n.page=1,e.finshed=!1,m()},b=L(),o=()=>{console.log(e.finshed),!(e.loading||e.finshed)&&(n.page=n.page+1,m())},u=a=>{var s;((s=a.data)==null?void 0:s.api)==="api_fingerPreView"&&(e.showCloseBtn=!a.data.state)};Z(async()=>{Ce(document.querySelector(".musicList-container"),s=>{const r=s[0],{height:p}=r.contentRect;console.log(p,"height - 11"),document.documentElement.style.setProperty("--xiaoku-music-height",p+"px")}),k(),await m();const a=new IntersectionObserver(s=>{s[0].intersectionRatio>0&&o()});le(()=>{a.observe(b.value)}),window.addEventListener("message",u)}),j(()=>{window.removeEventListener("message",u)});const C=async a=>{const s=await ve({type:"MUSIC",materialId:a.id});(s==null?void 0:s.code)===200&&(a.favitor=s.data)},B=a=>{const s=e.list.findIndex(r=>r.id===a.id);s>-1&&(e.listActive=s),C(a)},d=_(()=>{if(e.list[e.listActive]){const a=/(localhost|192)/.test(location.host)?"https://dev.kt.colexiu.com":location.origin;console.log(e.list[e.listActive].xmlFileUrl,"data.list[data.listActive]"),"".concat(a,"/instrument?modelType=practise&id=").concat(e.list[e.listActive].xmlFileUrl,"&Authorization=").concat(v.getToken,"/#/preview")}return e.list[e.listActive]||{}}),f=()=>{e.list[e.listActive].favitor=!e.list[e.listActive].favitor,he({favoriteFlag:e.list[e.listActive].favitor,type:"MUSIC",materialId:e.list[e.listActive].id})},S=a=>{const s=e.list.findIndex(r=>r.id===a.id);s>-1&&(e.listActive===s?e.playState=e.playState==="play"?"pause":"play":e.playState="play",e.showPlayer=!0,e.listActive=s)},N=a=>{a==="play"?e.playState="play":a==="pause"?e.playState="pause":a==="pre"?e.list[e.listActive-1]&&S(e.list[e.listActive-1]):a==="next"?e.list[e.listActive+1]&&S(e.list[e.listActive+1]):a==="favitor"&&f()};return()=>{let a;return t("div",{class:l.container},[t(U,{align:"center",wrapItem:!1,size:16},{default:()=>[t("img",{style:{cursor:"pointer"},src:He,class:l.iconBack,onClick:()=>i.push({path:"/xiaoku-ai"})},null),t(oe,{separator:""},{default:()=>[t(G,{onClick:()=>i.push({path:"/xiaoku-ai"})},{default:()=>[y("全部列表")]}),t("img",{class:l.separator,src:$e},null),t(G,null,{default:()=>[w.query.name]})]})]}),t("div",{class:[l.wrap,e.showPlayer?l.wrapBottom:""]},[t("div",{class:l.content},[t("div",{class:l.tools},[t(U,{style:{width:"100%"},size:[24,12],wrapItem:!1},{default:()=>[t("div",{id:"music-0"},[t(U,{style:{width:"100%"},size:[24,12],wrapItem:!1},Dt(a=e.tags.map(s=>t(R,{round:!0,textColor:e.tagIndex===s.id?"#fff":"#000",color:e.tagIndex===s.id?"#198CFE":"#fff",onClick:()=>{e.tagIndex=s.id,e.reshing=!0,I()}},{default:()=>[s.name]})))?a:{default:()=>[a]})])]}),t(de,{style:{marginLeft:"auto"},round:!0,border:!1,onSearch:s=>{n.name=s,e.reshing=!0,I()}},null)]),t("div",{class:l.contentWrap},[t("div",{class:[l.musicList,"musicList-container"]},[t("div",{class:l.wrapList},[e.list.map((s,r)=>t("div",{class:l.itemContainer},[t("div",{class:[l.item,e.listActive===r&&l.active],onClick:()=>B(s)},[t("div",{class:l.img},[t(Y,{lazy:!0,objectFit:"cover",previewDisabled:!0,src:s.titleImg||st,onLoad:p=>{p.target.dataset.loaded="true"}},null),t(bt,{class:[e.listActive===r&&e.playState==="play"?"":l.showPlayLoading]},null)]),t("div",{class:l.title},[t("div",{class:l.titleName},[t(H,{text:s.musicSheetName},null)]),t("div",{class:l.titleDes},[s.composer])]),r==0?t(R,ne({color:"#259CFE",textColor:"#fff"},{id:"music-1"},{round:!0,class:l.btn,type:"primary",onClick:p=>{p.stopPropagation(),S(s)}}),{default:()=>[y("试听"),t("img",{src:e.listActive===r&&e.playState==="play"?Q:P},null)]}):t(R,{color:"#259CFE",textColor:"#fff",round:!0,class:l.btn,type:"primary",onClick:p=>{p.stopPropagation(),S(s)}},{default:()=>[y("试听"),t("img",{src:e.listActive===r&&e.playState==="play"?Q:P},null)]}),t("img",{class:l.arrow,src:et},null)])])),!e.finshed&&t("div",{ref:b,class:l.loadingWrap},[t(X,{show:!0},null)]),!e.loading&&e.list.length===0&&t("div",{class:l.empty},[t(W,null,null)])])]),t("div",{class:l.musicStaff},[t("div",{class:l.musicName},[d.value.musicSheetName]),t("img",{id:"music-2",style:{display:d.value.id?"":"none"},class:[l.goBtn],src:tt,onClick:()=>{N("pause");const s=/(localhost|192)/.test(location.host)?"https://test.lexiaoya.cn":location.origin,r="".concat(s,"/instrument?platform=pc&showGuide=true&id=").concat(d.value.id,"&Authorization=").concat(c.getToken);window.matchMedia("(display-mode: standalone)").matches?(we.application=window.matchMedia("(display-mode: standalone)").matches,e.previewModal=!0,e.previewUrl=r,e.showPreivew=!1):window.open(r)}},null),t("div",{style:{display:d.value.id?"":"none"},class:l.favitor,onClick:()=>f()},[t(ce,{name:"favitor",mode:"out-in"},{default:()=>[d.value.favitor?t("img",{src:ge,key:"1"},null):t("img",{src:me,key:"2"},null)]})]),t("div",{class:l.staffImgs},[t(re,{name:"van-fade"},{default:()=>{var s,r,p,O,K;return[(s=d.value)!=null&&s.musicSvg||(r=d.value)!=null&&r.musicImg?(K=((p=d.value)==null?void 0:p.musicSvg)||((O=d.value)==null?void 0:O.musicImg))==null?void 0:K.split(",").map((J,Lt)=>t("img",{src:J,key:J},null)):t(W,null,null)]}})])])])])]),e.list.length!==0&&t(St,{show:e.showPlayer,playState:e.playState,item:d.value,onChange:s=>N(s)},null),D.value?t(Rt,null,null):null,t(Ae,{show:e.previewModal,"onUpdate:show":[s=>e.previewModal=s,s=>{s||(e.previewUrl="")}],class:l.previewWindow,showIcon:!1,displayDirective:"show"},{default:()=>[t(X,{show:e.showPreivew,style:"--n-opacity-spinning: 1;"},{default:()=>[t("img",{style:{display:e.showCloseBtn?"":"none"},src:at,class:l.previewClose,onClick:()=>{e.previewModal=!1,e.previewUrl=""}},null),t("iframe",{class:l.previewIframe,onLoad:()=>{e.showPreivew=!1},frameborder:"0",src:e.previewUrl},null)]})]})])}}});export{Mt as default};