<<<<<<<< HEAD:dist/assets/view-legacy-acc97c07.js
System.register(["./index-legacy-dacf2886.js","./index-legacy-a92664bf.js","./index-legacy-a299dfbf.js","./index.module-legacy-85a925e3.js","./index-legacy-46cddc82.js","./index-legacy-fc32ce01.js","./index-legacy-631689c0.js","./browser-legacy-794fdde3.js","./index-legacy-bd3745bd.js","./index-legacy-6d5b16ab.js"],(function(i,e){"use strict";var t,a,s,l,n,d,c,o,r,u,m,g,p,v,y,x,b;return{setters:[i=>{t=i.d,a=i.P,s=i.x,l=i.y,n=i.z,d=i.a,c=i.W,o=i.A,r=i.a7},i=>{u=i.M},i=>{m=i.u,g=i.a},i=>{p=i.s},i=>{v=i.m,y=i.A},i=>{x=i.N},i=>{b=i.I},null,null,null],execute:function(){i("default",t({name:"instrument-detail",setup(){a();const i=s({titleOpacity:0,background:"transparent",detail:{},musicList:[],loading:!1}),e=e=>{if("parent-notes"===e.data.api){var t,a;const s=e.data.message?JSON.parse(e.data.message):{};i.detail=s||{},i.detail.intros=null===(t=i.detail.intros)||void 0===t?void 0:t.replace(/<video/gi,'<video style="width: 100% !important;" controlslist="nodownload" poster="https://oss.dayaedu.com/ktqy/1701759849244.png"'),i.musicList=null===(a=s.knowledgeWikiResources)||void 0===a?void 0:a.map((i=>({id:i.id,name:i.name,url:i.url})))}};return l((()=>{m(document,"scroll",(()=>{const{y:e}=g();i.titleOpacity=e.value>100?1:e.value/100})),n((()=>{window.parent&&window.parent.postMessage({api:"onLoad",status:!0},"*")})),window.addEventListener("message",e)})),()=>d("div",{class:p.detail},[d("div",{class:p.bgSection},[d("img",{class:p.bg,src:i.detail.avatar||v},null)]),d(u,{position:"top"},{default:()=>[d(c,{isBack:!1,border:!1,background:`rgba(255,255,255, ${i.titleOpacity})`,color:`rgba(51,51,51, ${i.titleOpacity})`,title:i.detail.name||""},null)]}),d("div",{class:p.container},[d("div",{class:p.musicHeader},[d("div",{class:p.imgSection},[d(b,{class:p.img,src:i.detail.avatar||v,fit:"cover"},null),d("div",{class:p.pan},[d("img",{src:i.detail.avatar||v},null)])]),d("div",{class:p.musicContent},[d("div",{class:[p.musicTitle,"van-multi-ellipsis--l2"]},[d(x,{scrollable:i.detail.name>=13,background:"transparent",text:i.detail.name||"--"},null)]),d("div",{class:p.musicInto},[i.detail.lyricists&&d("span",null,[o("作词："),i.detail.lyricists]),i.detail.composers&&d("span",null,[o("作曲："),i.detail.composers])])])]),i.detail.intros?d("div",{class:p.content,innerHTML:i.detail.intros},null):"",!i.loading&&!i.detail.intros&&d("div",{class:p.content},[d(r,{description:"暂无内容"},null)])]),d(u,{position:"bottom"},{default:()=>[i.musicList.length>0&&d(y,{musicList:i.musicList},null)]})])}}))}}}));
========
System.register(["./index-legacy-cc1c21a0.js","./index-legacy-73ebded9.js","./index-legacy-4af11040.js","./index.module-legacy-85a925e3.js","./index-legacy-97f4e6f3.js","./index-legacy-15f257f2.js","./index-legacy-bf50c600.js","./browser-legacy-794fdde3.js","./index-legacy-203d302b.js","./index-legacy-b47bcb0a.js"],(function(i,e){"use strict";var t,a,s,l,n,d,c,o,r,u,m,g,p,v,y,x,b;return{setters:[i=>{t=i.d,a=i.P,s=i.x,l=i.y,n=i.z,d=i.a,c=i.W,o=i.A,r=i.a7},i=>{u=i.M},i=>{m=i.u,g=i.a},i=>{p=i.s},i=>{v=i.m,y=i.A},i=>{x=i.N},i=>{b=i.I},null,null,null],execute:function(){i("default",t({name:"instrument-detail",setup(){a();const i=s({titleOpacity:0,background:"transparent",detail:{},musicList:[],loading:!1}),e=e=>{if("parent-notes"===e.data.api){var t,a;const s=e.data.message?JSON.parse(e.data.message):{};i.detail=s||{},i.detail.intros=null===(t=i.detail.intros)||void 0===t?void 0:t.replace(/<video/gi,'<video style="width: 100% !important;" controlslist="nodownload" poster="https://oss.dayaedu.com/ktqy/1701759849244.png"'),i.musicList=null===(a=s.knowledgeWikiResources)||void 0===a?void 0:a.map((i=>({id:i.id,name:i.name,url:i.url})))}};return l((()=>{m(document,"scroll",(()=>{const{y:e}=g();i.titleOpacity=e.value>100?1:e.value/100})),n((()=>{window.parent&&window.parent.postMessage({api:"onLoad",status:!0},"*")})),window.addEventListener("message",e)})),()=>d("div",{class:p.detail},[d("div",{class:p.bgSection},[d("img",{class:p.bg,src:i.detail.avatar||v},null)]),d(u,{position:"top"},{default:()=>[d(c,{isBack:!1,border:!1,background:`rgba(255,255,255, ${i.titleOpacity})`,color:`rgba(51,51,51, ${i.titleOpacity})`,title:i.detail.name||""},null)]}),d("div",{class:p.container},[d("div",{class:p.musicHeader},[d("div",{class:p.imgSection},[d(b,{class:p.img,src:i.detail.avatar||v,fit:"cover"},null),d("div",{class:p.pan},[d("img",{src:i.detail.avatar||v},null)])]),d("div",{class:p.musicContent},[d("div",{class:[p.musicTitle,"van-multi-ellipsis--l2"]},[d(x,{scrollable:i.detail.name>=13,background:"transparent",text:i.detail.name||"--"},null)]),d("div",{class:p.musicInto},[i.detail.lyricists&&d("span",null,[o("作词："),i.detail.lyricists]),i.detail.composers&&d("span",null,[o("作曲："),i.detail.composers])])])]),i.detail.intros?d("div",{class:p.content,innerHTML:i.detail.intros},null):"",!i.loading&&!i.detail.intros&&d("div",{class:p.content},[d(r,{description:"暂无内容"},null)])]),d(u,{position:"bottom"},{default:()=>[i.musicList.length>0&&d(y,{musicList:i.musicList},null)]})])}}))}}}));
>>>>>>>> 0f2588f61580675e1c866dc0769d4ceb917efcec:dist/assets/view-legacy-d44629f6.js
