index.ac277a89.js 20 KB

1
  1. import{_ as Ne,a as Be,b as Le,c as Oe,d as Pe,e as Re,f as Ue}from"./icon_uploader.ff962490.js";import{_ as Ve}from"./icon-xin.62588855.js";import{i as je,_ as Me}from"./icon_album.ed729d4a.js";import{_ as $e}from"./icon_album_active.469423f9.js";import{_ as Xe}from"./icon_exquisite.4b18ad76.js";import{_ as He}from"./icon_music_active.1e7b47ef.js";import{d as ze,P as Je,O as We,S as m,Q as me,a2 as Ge,U as Ke,X as de,bC as Qe,V as X,j as e,z as u,F as N,T as U,M as k,f as Ye,g as h,B as H,bz as Ze,aR as V,W as pe,w as T,D as z,bg as et,bn as tt}from"./index.394decd7.js";import{C as at}from"./index.e6e212d8.js";import{C as j}from"./index.9e0d46e4.js";import{C as ot}from"./index.9462d7c5.js";import{I as w}from"./index.ae2dd816.js";import{R as st,a as J}from"./index.4ef31a7f.js";import{S as nt}from"./index.3bbf4ddb.js";import{T as lt}from"./index.dab716ce.js";import"./index.b91a923c.js";import"./index.cf474e9d.js";import{V as fe}from"./vue3-lottie.es.0362de81.js";import{g as it,m as ct}from"./music.8e2b5f5b.js";import{C as ut}from"./index.45d094fa.js";import{o as y}from"./orderStatus.535346ee.js";import{i as rt}from"./icon_share.dff37aef.js";import{i as mt,a as dt,A as _e,e as pt,b as ft,c as _t,d as vt,D as gt,s as yt,f as ht,g as bt}from"./download.681c35bf.js";import{C as Ct}from"./index.52a60bda.js";import{i as It}from"./icon_teacher.40b6f077.js";import{a as W,i as G}from"./icon_checkbox_default.2fe5d57e.js";import{P as St}from"./plyr.623e6d1e.js";import{g as O,s as xt}from"./formatSvgToImg.d9ed56ce.js";import{g as qt,o as Tt}from"./oss-file-upload.bb3abddd.js";import{P as wt}from"./index.1dcc495a.js";import{u as Et}from"./index.b9aedd1d.js";import"./index.f1b52763.js";import"./code-down-load.37c8e9cc.js";import"./logo.bcac726b.js";import"./browser.8379baf6.js";import"./html2canvas.esm.3d083717.js";const Ft="_base_18euq_1",kt="_detail_18euq_4",At="_shareBtn_18euq_21",Dt="_bgImg_18euq_33",Nt="_bgContent_18euq_42",Bt="_musicContent_18euq_51",Lt="_musicTitle_18euq_66",Ot="_musicImg_18euq_70",Pt="_finch_18euq_73",Rt="_finchLoad_18euq_77",Ut="_collectCell_18euq_95",Vt="_videoOperation_18euq_102",jt="_audition_18euq_109",Mt="_collect_18euq_95",$t="_userInfo_18euq_135",Xt="_collectSection_18euq_155",Ht="_lookAlbum_18euq_174",zt="_bg_18euq_33",Jt="_musicContainer_18euq_200",Wt="_shareMate_18euq_207",Gt="_icon_18euq_217",Kt="_info_18euq_222",Qt="_tagDiscount_18euq_238",Yt="_shareVip_18euq_251",Zt="_buttonDiscount_18euq_293",ea="_pImg_18euq_306",ta="_musicInfo_18euq_313",aa="_coomposer_18euq_318",oa="_tag_18euq_238",sa="_download_18euq_352",na="_iconExchange_18euq_363",la="_exquisiteFlag_18euq_373",ia="_songAlbum_18euq_378",ca="_colSticky_18euq_388",ua="_priceSection_18euq_393",ra="_price_18euq_393",ma="_buyBtn_18euq_407",da="_primry_18euq_421",pa="_member_18euq_424",fa="_functionSection_18euq_427",_a="_empty_18euq_430",va="_emptyImg_18euq_438",ga="_staffContainer_18euq_441",ya="_staffTitle_18euq_444",ha="_staffImg_18euq_450",ba="_name_18euq_454",Ca="_boxStyle_18euq_460",Ia="_active_18euq_466";var a={base:Ft,detail:kt,shareBtn:At,bgImg:Dt,bgContent:Nt,musicContent:Bt,musicTitle:Lt,musicImg:Ot,finch:Pt,finchLoad:Rt,collectCell:Ut,videoOperation:Vt,audition:jt,collect:Mt,userInfo:$t,collectSection:Xt,lookAlbum:Ht,bg:zt,musicContainer:Jt,shareMate:Wt,icon:Gt,info:Kt,tagDiscount:Qt,shareVip:Yt,buttonDiscount:Zt,pImg:ea,musicInfo:ta,coomposer:aa,tag:oa,download:sa,iconExchange:na,exquisiteFlag:la,songAlbum:ia,colSticky:ca,priceSection:ua,price:ra,buyBtn:ma,primry:da,member:pa,functionSection:fa,empty:_a,emptyImg:va,staffContainer:ga,staffTitle:ya,staffImg:ha,name:ba,boxStyle:Ca,active:Ia};const ve=A=>{const S=`../component/images/${A}`;return{"../component/images/collection.png":Ne,"../component/images/collection_active.png":Be,"../component/images/icon-xin.png":Ve,"../component/images/icon_ai.png":Le,"../component/images/icon_album.png":Me,"../component/images/icon_album_active.png":$e,"../component/images/icon_author.png":Oe,"../component/images/icon_download.png":Pe,"../component/images/icon_exquisite.png":Xe,"../component/images/icon_music_active.png":He,"../component/images/icon_share.png":Re,"../component/images/icon_uploader.png":Ue}[S].default};var so=ze({name:"MusicDetail",setup(){localStorage.setItem("behaviorId",it());const A=Je(),S=We(),x=m(!1),ge=Number(S.query.activityId)||0,ye=m(ge),K=m(!1),Q=m(null),Y=m(null),Z=m("0"),o=m(null),P=m(""),f=m([]),ee=m([]),te=m([]),ae=m([]);m("");const R=m(!1),_=me({status:!1,radio:"staff"}),oe={FREE:{color:"#01B84F",text:"\u514D\u8D39"},VIP:{color:"#CD863E",text:"\u4F1A\u5458"},CHARGE:{color:"#3591CE",text:"\u70B9\u64AD"}},M=t=>{_.radio=t,_.status=!1};Ge(()=>_.radio,t=>{t=="first"?f.value=ee.value:t=="fixed"?f.value=te.value:f.value=ae.value});const he=async t=>{var l;if(!x.value){x.value=!0,K.value=!1;try{const n=await T.get(`/music/sheet/detail/${S.query.id}`,{prefix:h.platformType==="TEACHER"?"/api-teacher":"/api-student"});o.value=n.data,console.log(o.value.notation,"musicDetail");const c=n.data.background;P.value=c&&c.length>0?c[0].audioFileUrl:"",f.value=n.data.musicImg?n.data.musicImg.split(","):[],ee.value=n.data.firstTone?n.data.firstTone.split(","):[],te.value=n.data.fixedTone?n.data.fixedTone.split(","):[],ae.value=n.data.musicImg?n.data.musicImg.split(","):[],pe(()=>{ke()})}catch{K.value=!0}((l=o.value)==null?void 0:l.musicSheetType)!=="CONCERT"&&(x.value=!1)}},be=t=>{const l=t.split(","),n=l[0].match(/:(.*?);/)[1],c=atob(l[1]);let r=c.length;const d=new Uint8Array(r);for(;r--;)d[r]=c.charCodeAt(r);return new Blob([d],{type:n})},B=m(null),se=m(null),L=m(0),Ce=async()=>{var n;const t=["play-large","play","progress","captions","duration"];B.value=new St(se.value,{controls:t});const l=await T.get("/api-student/sysConfig/queryByParamNameList",{params:{paramNames:"music_sheet_free_rate"}});L.value=((n=l.data[0])==null?void 0:n.paramValue)||0,B.value.on("timeupdate",()=>{const c=B.value,r=c.duration*L.value/100||0;c.currentTime>=r&&!E.value.play&&c.stop()})},ne=async t=>{var l;if(((l=t.data)==null?void 0:l.api)==="musicStaffRender"){const n=t.data.osmdImg;f.value=[];const c=[];for(let r=0;r<n.length;r++){const d=await xt(n[r].img,n[r].width,n[r].height),v=S.query.id+h.user.data.userId+ +new Date+".png",b={filename:v,bucketName:"cloud-coach",postData:{filename:v,acl:"public-read",key:v}},{data:C}=await qt(b,!0),I={policy:C.policy,signature:C.signature,key:v,KSSAccessKeyId:C.kssAccessKeyId,acl:"public-read",name:v},q=be(d),s=tt("cloud-coach"),p=await Tt(s,{...I,file:q});c.push(p)}f.value=c,console.log(f.value,"showImg.value"),x.value=t.data.loading}};Ke(async()=>{await he();const{height:t}=de(Q),l=de(Y);Z.value=t+l.height,P.value&&Ce(),window.addEventListener("message",ne)}),Qe(()=>{window.removeEventListener("message",ne)});const Ie=async()=>{var t,l,n;try{await T.post("/music/sheet/favorite/"+((t=o.value)==null?void 0:t.id),{prefix:h.platformType==="TEACHER"?"/api-teacher":"/api-student"}),o.value.favorite=(l=o.value)!=null&&l.favorite?0:1,o.value.favoriteCount=(n=o.value)!=null&&n.favorite?o.value.favoriteCount+1:o.value.favoriteCount-1<0?0:o.value.favoriteCount-1,setTimeout(()=>{var c;U((c=o.value)!=null&&c.favorite?"\u6536\u85CF\u6210\u529F":"\u53D6\u6D88\u6536\u85CF\u6210\u529F")},100)}catch{}},Se=async()=>{var t;try{const l=await T.post("/api-teacher/courseCourseware/submit",{data:{musicSheetId:o.value.id,clientType:"TEACHER",userId:(t=h.user.data)==null?void 0:t.userId}});console.log(l),setTimeout(()=>{o.value.coursewareId=l.data.id||"",U("\u6DFB\u52A0\u6210\u529F"),o.value.coursewareStatus=1},100)}catch{}},xe=async()=>{z.confirm({title:"\u63D0\u793A",message:"\u60A8\u662F\u5426\u786E\u5B9A\u79FB\u9664\u8BFE\u4EF6",confirmButtonColor:"#269a93",cancelButtonText:"\u53D6\u6D88",confirmButtonText:"\u786E\u5B9A"}).then(async()=>{try{await T.post("/api-teacher/courseCourseware/remove/"+o.value.coursewareId,{data:{}}),setTimeout(()=>{U("\u79FB\u9664\u6210\u529F"),o.value.coursewareStatus=0},100)}catch{}})},qe=async()=>{const t=o.value;y.orderObject.orderType="MUSIC",y.orderObject.orderName=t.musicSheetName,y.orderObject.orderDesc=t.musicSheetName,y.orderObject.actualPrice=t.musicPrice,y.orderObject.recomUserId=S.query.recomUserId||0,y.orderObject.activityId=S.query.activityId||0,y.orderObject.orderNo="",y.orderObject.orderList=[{orderType:"MUSIC",goodsName:t.musicSheetName,actualPrice:t.musicPrice,...t}];const n=(await T.post("/api-student/userOrder/getPendingOrder",{data:{goodType:"MUSIC",bizId:t.id}})).data;n?z.confirm({title:"\u63D0\u793A",message:"\u60A8\u6709\u4E00\u4E2A\u672A\u652F\u4ED8\u7684\u8BA2\u5355\uFF0C\u662F\u5426\u7EE7\u7EED\u652F\u4ED8\uFF1F",confirmButtonColor:"#269a93",cancelButtonText:"\u53D6\u6D88\u8BA2\u5355",confirmButtonText:"\u7EE7\u7EED\u652F\u4ED8"}).then(async()=>{y.orderObject.orderNo=n.orderNo,y.orderObject.actualPrice=n.actualPrice,y.orderObject.discountPrice=n.discountPrice,y.orderObject.paymentConfig={...n.paymentConfig,paymentVendor:n.paymentVendor,paymentVersion:n.paymentVersion},le()}).catch(()=>{z.close(),Te(n.orderNo)}):le()},le=()=>{const t=o.value;A.push({path:"/orderDetail",query:{orderType:"MUSIC",musicId:t.id}})},Te=async t=>{try{await T.post("/api-student/userOrder/orderCancel",{data:{orderNo:t}})}catch{}},we=X(()=>{var l;let t=(l=o.value)==null?void 0:l.paymentType;return typeof t=="string"?(t=t.split(","),t):[]}),E=X(()=>{const t=o.value;return{play:!!t.play,free:t==null?void 0:t.paymentType.includes("FREE"),charge:t==null?void 0:t.paymentType.includes("CHARGE"),vip:t==null?void 0:t.paymentType.includes("VIP"),buy:(t==null?void 0:t.orderStatus)==="PAID"}}),$=m(!1),ie=m(""),ce=m(0),Ee=async()=>{var t,l,n,c;try{const r=await T.post("/api-teacher/open/musicShareProfit",{data:{bizId:(t=o.value)==null?void 0:t.id,userId:(l=h.user.data)==null?void 0:l.userId}});let d=location.origin+`/teacher/#/shareMusic?id=${(n=o.value)==null?void 0:n.id}&recomUserId=${(c=h.user.data)==null?void 0:c.userId}&userType=${h.platformType}`;r.data.discount===1&&(d+=`&activityId=${r.data.activityId}`),ce.value=r.data.discount||0,console.log(d),ie.value=d,$.value=!0;return}catch{}},i=me({open:!1,iframeSrc:"",musicXml:"",instrumentName:"",iframeRef:null,partIndex:0,partXmlIndex:0,tempPartList:[],partList:[],xmlPartList:[]}),ue={\u957F\u7B1B:1,\u5355\u7C27\u7BA1:2,\u4E2D\u97F3\u5355\u7C27\u7BA1:3,\u4F4E\u97F3\u5355\u7C27\u7BA1:4,\u9AD8\u97F3\u8428\u514B\u65AF\u7BA1:5,\u4E2D\u97F3\u8428\u514B\u65AF\u7BA1:6,\u6B21\u4E2D\u97F3\u8428\u514B\u65AF\u7BA1:7,\u4F4E\u97F3\u8428\u514B\u65AF\u7BA1:8,\u5C0F\u53F7:9,\u957F\u53F7:10,\u5706\u53F7:11,\u5927\u53F7:12,\u4E0A\u4F4E\u97F3\u53F7:13},Fe=t=>(t.sort((l,n)=>(ue[O(l.track)]||20)-(ue[O(n.track)]||20)),t),ke=async()=>{var t,l,n,c,r;try{if((t=o.value)!=null&&t.xmlFileUrl){const d=await et.get((l=o.value)==null?void 0:l.xmlFileUrl,{mode:"cors"}),b=new DOMParser().parseFromString(d,"text/xml").getElementsByTagName("score-part"),C=[];for(let I=0;I<b.length;I++){const q=b[I].children;for(let s=0;s<q.length;s++)q[s].nodeName==="part-name"&&C.push({name:q[s].textContent,value:I})}i.xmlPartList=C}i.iframeSrc=`${location.origin}${location.pathname}osmd/index.html`,i.musicXml=((n=o.value)==null?void 0:n.xmlFileUrl)||"",i.partList=((c=o.value)==null?void 0:c.background)||[],i.partList.forEach(d=>{const v=i.xmlPartList.find(b=>b.name===d.track);v&&(d.index=v.value)}),i.tempPartList=JSON.parse(JSON.stringify(i.partList)),i.partList=Fe(i.partList),i.partXmlIndex=i.partList[0].index||0,i.instrumentName=O((r=i.partList[i.partIndex])==null?void 0:r.track)}catch{}},Ae=()=>{const t=document.getElementById("staffIframeRef");t&&t.contentWindow.renderXml&&t.contentWindow.renderXml(i.musicXml,i.partXmlIndex)},De=()=>{var l;const t=document.getElementById("staffIframeRef");t&&t.contentWindow.renderXml&&(t.contentWindow.resetRender(i.partXmlIndex),i.instrumentName=O((l=i.partList[i.partIndex])==null?void 0:l.track))},re=X(()=>i.partList.map((t,l)=>{const n=O(t.track);return{text:t.track+(n?`(${n})`:""),value:l,xmlValue:t.index,track:t.track}}));return()=>{var t,l,n,c,r,d,v,b,C,I,q;return e("div",{class:a.detail},[e(nt,{position:"top"},{default:()=>{var s;return[e("div",{ref:Q},[e(at,{background:"transparent",border:!1,isFixed:!1,color:"#fff",title:(s=o.value)==null?void 0:s.musicSheetName,backIconColor:"white"},{right:()=>e("div",{class:a.shareBtn,style:{color:"#fff"},onClick:Ee},[e(w,{src:rt},null),u("\u5206\u4EAB")])})])]}}),e("img",{class:a.bgImg,src:(t=o.value)==null?void 0:t.titleImg},null),e("div",{class:a.bgContent},null),e("div",{class:a.musicContainer,style:{marginTop:"16px",height:`calc(100vh - ${Z.value+16+"px"})`}},[e(j,{border:!1,center:!0,class:a.musicInfo},{icon:()=>{var s;return e(w,{class:a.pImg,src:(s=o.value)==null?void 0:s.titleImg},null)},title:()=>{var s,p,g,F;return e("div",{class:a.info},[e("h4",{class:"van-ellipsis"},[(s=o.value)==null?void 0:s.musicSheetName]),e("p",{style:{display:"flex"}},[we.value.map(D=>e(lt,{style:{color:oe[D].color},class:a.tag,type:"success",plain:!0},{default:()=>[oe[D].text]})),((p=o.value)==null?void 0:p.exquisiteFlag)===1&&e(w,{class:a.exquisiteFlag,src:ve("icon_exquisite.png")},null),((g=o.value)==null?void 0:g.albumNums)>0&&e(w,{class:a.songAlbum,src:ve("icon_album_active.png")},null),e("span",{class:a.coomposer},[(F=o.value)==null?void 0:F.composer])])])},value:()=>{var s,p,g;return e(N,null,[(s=o.value)!=null&&s.notation?e("span",{class:a.download,onClick:()=>{_.status=!0},style:{display:((p=o.value)==null?void 0:p.musicSheetType)!=="CONCERT"?"":"none"}},[e("img",{src:mt},null),e("span",null,[u("\u8F6C\u8C31")])]):null,e("span",{class:a.download,onClick:()=>{f.value.length>0?R.value=!0:U("\u6682\u65E0\u56FE\u7247")}},[e("img",{src:dt},null),e("span",null,[u("\u4E0B\u8F7D\u66F2\u8C31")])]),e("span",{style:{display:((g=o.value)==null?void 0:g.musicSheetType)==="CONCERT"?"":"none"},class:a.download,onClick:()=>{i.open=!0}},[e(k,{class:a.iconExchange,name:"exchange"},null),e("span",null,[u("\u5207\u6362\u4E50\u5668")])])])}}),e("div",{class:a.musicContent},[e("p",{class:a.musicTitle},[((l=o.value)!=null&&l.musicSheetName?(n=o.value)==null?void 0:n.musicSheetName:"")+(i.instrumentName?`(${i.instrumentName})`:"")]),((c=o.value)==null?void 0:c.musicSheetType)==="CONCERT"?e(N,null,[x.value&&e(N,null,[e(fe,{animationData:_e,class:a.finch},null),e("p",{class:a.finchLoad},[u("\u52A0\u8F7D\u4E2D...")])]),e("iframe",{id:"staffIframeRef",style:{opacity:x.value?0:1},src:i.iframeSrc,onLoad:Ae},null)]):e(N,null,[f.value.length>0?e("img",{src:f.value[0],alt:"",class:a.musicImg},null):x.value?e(N,null,[e(fe,{animationData:_e,class:a.finch},null),e("p",{class:a.finchLoad},[u("\u52A0\u8F7D\u4E2D...")])]):e("div",{class:a.empty},[e(w,{src:pt,class:a.emptyImg},null),e("p",{class:a.emptyTip},[u("\u6682\u65E0\u4E50\u8C31\u9884\u89C8\u56FE")])])]),e("div",{class:a.videoOperation},[P.value&&e(N,null,[!E.value.play&&L.value!=100&&L.value!=0&&e("div",{class:[a.audition]},[e("img",{src:ft},null),e("span",null,[u("\u6BCF\u9996\u66F2\u76EE\u53EF\u8BD5\u542C"),L.value,u("%")])]),e("div",{class:[a.audio,a.collectCell]},[e("audio",{id:"player",controls:!0,ref:se},[e("source",{src:P.value,type:"audio/mp3"},null)])])]),e("div",{class:[a.collect,a.collectCell]},[e("div",{class:[a.userInfo],onClick:()=>{var s,p;Ye().isApp&&((s=o.value)==null?void 0:s.sourceType)==="TEACHER"&&h.platformType==="STUDENT"&&A.push({path:"/teacherHome",query:{teacherId:(p=o.value)==null?void 0:p.userId,tabs:"music"}})}},[e("img",{src:((r=o.value)==null?void 0:r.userAvatar)||It},null),e("span",null,[(d=o.value)==null?void 0:d.userName])]),e("div",{class:a.functionSection},[e("div",{class:[a.collectSection],onClick:()=>Ie()},[e("span",null,[(v=o.value)==null?void 0:v.favoriteCount,u("\u4EBA\u6536\u85CF")]),e("img",{src:(b=o.value)!=null&&b.favorite?_t:vt},null)]),h.platformType==="TEACHER"&&e("div",{class:[a.collectSection],onClick:()=>{var s;(s=o.value)!=null&&s.coursewareStatus?xe():Se()}},[e("span",null,[(C=o.value)!=null&&C.coursewareStatus?"\u79FB\u51FA\u8BFE\u4EF6":"\u6DFB\u52A0\u5230\u8BFE\u4EF6"]),(I=o.value)!=null&&I.coursewareStatus?e(k,{name:"clear"},null):e(k,{name:"add",size:18},null)])])])])]),e("div",{class:[a.lookAlbum,a.collectCell],onClick:()=>{var s,p;A.push({path:"/look-album-list",query:{id:(s=o.value)==null?void 0:s.id,musicSubject:(p=o.value)==null?void 0:p.musicSubject}})}},[e("div",null,[e("img",{src:je},null),e("span",null,[u("\u8FDB\u5165\u66F2\u76EE\u6240\u5728\u5E73\u53F0\u4E13\u8F91\u5217\u8868")])]),e(k,{name:"arrow",size:16,color:"#666"},null)])]),((q=o.value)==null?void 0:q.id)&&e(ut,{position:"bottom",background:"white"},{default:()=>{var s;return[e("div",{ref:Y},[E.value.play?e(H,{round:!0,block:!0,type:"primary",color:"linear-gradient(180deg, #59E5D5 0%, #2DC7AA 100%)",onClick:()=>{Et(()=>{B.value&&B.value.stop();const g=re.value.find(D=>D.value===i.partIndex),F=i.tempPartList.findIndex(D=>D.track===(g==null?void 0:g.track));ct(o.value,()=>{},{"part-index":F||0,sett:_.radio})},500)()}},{default:()=>[u("\u7ACB\u5373\u7EC3\u4E60")]}):e("div",{class:a.colSticky},[E.value.charge&&e("div",{class:a.priceSection},[e("span",null,[u("\u70B9\u64AD\u4EF7\uFF1A")]),e("span",{class:a.price},[e("i",null,[u("\xA5")]),Ze((s=o.value)==null?void 0:s.musicPrice)])]),e("div",{class:[a.buyBtn]},[E.value.charge&&e(H,{round:!0,type:"primary",color:"linear-gradient(180deg, #59E5D5 0%, #2DC7AA 100%)",class:a.primary,onClick:qe},{default:()=>[u("\u7ACB\u5373\u70B9\u64AD")]}),E.value.vip&&e(H,{round:!0,block:!E.value.charge,type:"primary",color:"linear-gradient(180deg, #F7BD8D 0%, #CD8806 100%)",class:a.memeber,onClick:()=>{A.push({path:"/memberCenter",query:{...S.query}})}},{default:()=>[ye.value>0&&e("div",{class:[a.buttonDiscount]},[u("\u4E13\u5C5E\u4F18\u60E0")]),u("\u5F00\u901A\u4F1A\u5458")]})])])])]}}),e(V,{show:$.value,"onUpdate:show":s=>$.value=s,style:{background:"transparent"},teleport:"body"},{default:()=>{var s;return[e(Ct,{teacherId:(s=h.user.data)==null?void 0:s.userId,shareUrl:ie.value,shareType:"music"},{default:()=>{var p,g,F;return[e("div",{class:a.shareMate},[ce.value===1&&e("div",{class:a.tagDiscount},[u("\u4E13\u5C5E\u4F18\u60E0")]),e("img",{class:a.icon,crossorigin:"anonymous",src:((p=o.value)==null?void 0:p.titleImg)+`?t=${+new Date}`},null),e("div",{class:a.info},[e("h4",{class:"van-multi-ellipsis--l2"},[(g=o.value)==null?void 0:g.musicSheetName]),e("p",null,[u("\u4F5C\u66F2\u4EBA\uFF1A"),(F=o.value)==null?void 0:F.composer])])])]}})]}}),e(V,{show:R.value,"onUpdate:show":s=>R.value=s,position:"bottom",round:!0},{default:()=>[R.value&&e(gt,{imgList:JSON.parse(JSON.stringify(f.value)),musicSheetName:o.value.musicSheetName},null)]}),e(V,{show:_.status,"onUpdate:show":s=>_.status=s,teleport:"body",closeable:!0,style:{width:"80%"},round:!0},{default:()=>[e("div",{class:a.staffContainer},[e("div",{class:a.staffTitle},[u("\u9009\u62E9\u8F6C\u6362\u66F2\u8C31")]),e(st,{modelValue:_.radio,"onUpdate:modelValue":s=>_.radio=s},{default:()=>[e(ot,{border:!1},{default:()=>[e(j,{center:!0,border:!1,class:_.radio==="staff"?a.active:"",onClick:()=>M("staff")},{icon:()=>e(w,{src:yt,class:a.staffImg},null),title:()=>e("span",{class:a.name},[u("\u4E94\u7EBF\u8C31")]),value:()=>e(J,{name:"staff"},{icon:s=>e(k,{class:a.boxStyle,size:16,name:s.checked?W:G},null)})}),e(j,{center:!0,border:!1,class:_.radio==="first"?a.active:"",onClick:()=>M("first")},{icon:()=>e(w,{src:ht,class:a.staffImg},null),title:()=>e("span",{class:a.name},[u("\u7B80\u8C31-\u9996\u8C03")]),value:()=>e(J,{name:"first"},{icon:s=>e(k,{class:a.boxStyle,size:16,name:s.checked?W:G},null)})}),e(j,{center:!0,border:!1,class:_.radio==="fixed"?a.active:"",onClick:()=>M("fixed")},{icon:()=>e(w,{src:bt,class:a.staffImg},null),title:()=>e("span",{class:a.name},[u("\u7B80\u8C31-\u56FA\u5B9A\u8C03")]),value:()=>e(J,{name:"fixed"},{icon:s=>e(k,{class:a.boxStyle,size:16,name:s.checked?W:G},null)})})]})]})])]}),e(V,{teleport:"body",position:"bottom",round:!0,show:i.open,"onUpdate:show":s=>i.open=s},{default:()=>[e(wt,{columns:re.value,onConfirm:s=>{i.open=!1,i.partIndex=s.value,i.partXmlIndex=s.xmlValue,f.value=[],pe(()=>{De()})},onCancel:()=>i.open=!1},null)]})])}}});export{so as default,ve as getAssetsHomeFile};