<<<<<<<< HEAD:dist/assets/index-legacy-795f937b.js
!function(){function t(t,i,e,l,n,a,s){try{var c=t[a](s),o=c.value}catch(d){return void e(d)}c.done?i(o):Promise.resolve(o).then(l,n)}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-631689c0.js","./index-legacy-fc32ce01.js","./browser-legacy-794fdde3.js","./index-legacy-bd3745bd.js","./index-legacy-6d5b16ab.js"],(function(i,e){"use strict";var l,n,a,s,c,o,d,r,u,m,g,p,v,y,f,x,b;return{setters:[t=>{l=t.d,n=t.P,a=t.x,s=t.y,c=t.a,o=t.W,d=t.A,r=t.a7,u=t.D},t=>{m=t.M},t=>{g=t.u,p=t.a},t=>{v=t.s},t=>{y=t.m,f=t.A},t=>{x=t.I},t=>{b=t.N},null,null,null],execute:function(){i("default",l({name:"instrument-detail",setup(){const i=n(),e=a({titleOpacity:0,background:"transparent",detail:{},musicList:[],loading:!1}),l=function(){var l,n=(l=function*(){e.loading=!0;try{const{data:t}=yield u.get("/edu-app/knowledgeWiki/detail/"+i.query.id);t.intros=t.intros.replace(/<video/gi,'<video style="width: 100% !important;" controlslist="nodownload" poster="https://oss.dayaedu.com/ktqy/1701759849244.png"'),e.detail=t||{},e.musicList=t.knowledgeWikiResources.map((t=>({id:t.id,name:t.name,url:t.url})))}catch(t){}e.loading=!1},function(){var i=this,e=arguments;return new Promise((function(n,a){var s=l.apply(i,e);function c(i){t(s,n,a,c,o,"next",i)}function o(i){t(s,n,a,c,o,"throw",i)}c(void 0)}))});return function(){return n.apply(this,arguments)}}();return s((()=>{g(document,"scroll",(()=>{const{y:t}=p();e.titleOpacity=t.value>100?1:t.value/100})),l()})),()=>c("div",{class:v.detail},[c("div",{class:v.bgSection},[c("img",{class:v.bg,src:e.detail.avatar||y},null)]),c(m,{position:"top"},{default:()=>[c(o,{border:!1,background:`rgba(255,255,255, ${e.titleOpacity})`,color:`rgba(51,51,51, ${e.titleOpacity})`,title:e.detail.name||""},null)]}),c("div",{class:v.container},[c("div",{class:v.musicHeader},[c("div",{class:v.imgSection},[c(x,{class:v.img,src:e.detail.avatar||y,fit:"cover"},null),c("div",{class:v.pan},[c("img",{src:e.detail.avatar||y},null)])]),c("div",{class:v.musicContent},[c("div",{class:[v.musicTitle,"van-multi-ellipsis--l2"]},[c(b,{scrollable:e.detail.name>=13,background:"transparent",text:e.detail.name||"--"},null)]),c("div",{class:v.musicInto},[e.detail.lyricists&&c("span",null,[d("作词："),e.detail.lyricists]),e.detail.composers&&c("span",null,[d("作曲："),e.detail.composers])])])]),e.detail.intros?c("div",{class:v.content,innerHTML:e.detail.intros},null):"",!e.loading&&!e.detail.intros&&c("div",{class:v.content},[c(r,{description:"暂无内容"},null)])]),c(m,{position:"bottom"},{default:()=>[e.musicList.length>0&&c(f,{musicList:e.musicList},null)]})])}}))}}}))}();
========
!function(){function t(t,i,e,l,n,a,s){try{var c=t[a](s),o=c.value}catch(d){return void e(d)}c.done?i(o):Promise.resolve(o).then(l,n)}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-bf50c600.js","./index-legacy-15f257f2.js","./browser-legacy-794fdde3.js","./index-legacy-203d302b.js","./index-legacy-b47bcb0a.js"],(function(i,e){"use strict";var l,n,a,s,c,o,d,r,u,m,g,p,v,y,f,x,b;return{setters:[t=>{l=t.d,n=t.P,a=t.x,s=t.y,c=t.a,o=t.W,d=t.A,r=t.a7,u=t.D},t=>{m=t.M},t=>{g=t.u,p=t.a},t=>{v=t.s},t=>{y=t.m,f=t.A},t=>{x=t.I},t=>{b=t.N},null,null,null],execute:function(){i("default",l({name:"instrument-detail",setup(){const i=n(),e=a({titleOpacity:0,background:"transparent",detail:{},musicList:[],loading:!1}),l=function(){var l,n=(l=function*(){e.loading=!0;try{const{data:t}=yield u.get("/edu-app/knowledgeWiki/detail/"+i.query.id);t.intros=t.intros.replace(/<video/gi,'<video style="width: 100% !important;" controlslist="nodownload" poster="https://oss.dayaedu.com/ktqy/1701759849244.png"'),e.detail=t||{},e.musicList=t.knowledgeWikiResources.map((t=>({id:t.id,name:t.name,url:t.url})))}catch(t){}e.loading=!1},function(){var i=this,e=arguments;return new Promise((function(n,a){var s=l.apply(i,e);function c(i){t(s,n,a,c,o,"next",i)}function o(i){t(s,n,a,c,o,"throw",i)}c(void 0)}))});return function(){return n.apply(this,arguments)}}();return s((()=>{g(document,"scroll",(()=>{const{y:t}=p();e.titleOpacity=t.value>100?1:t.value/100})),l()})),()=>c("div",{class:v.detail},[c("div",{class:v.bgSection},[c("img",{class:v.bg,src:e.detail.avatar||y},null)]),c(m,{position:"top"},{default:()=>[c(o,{border:!1,background:`rgba(255,255,255, ${e.titleOpacity})`,color:`rgba(51,51,51, ${e.titleOpacity})`,title:e.detail.name||""},null)]}),c("div",{class:v.container},[c("div",{class:v.musicHeader},[c("div",{class:v.imgSection},[c(x,{class:v.img,src:e.detail.avatar||y,fit:"cover"},null),c("div",{class:v.pan},[c("img",{src:e.detail.avatar||y},null)])]),c("div",{class:v.musicContent},[c("div",{class:[v.musicTitle,"van-multi-ellipsis--l2"]},[c(b,{scrollable:e.detail.name>=13,background:"transparent",text:e.detail.name||"--"},null)]),c("div",{class:v.musicInto},[e.detail.lyricists&&c("span",null,[d("作词："),e.detail.lyricists]),e.detail.composers&&c("span",null,[d("作曲："),e.detail.composers])])])]),e.detail.intros?c("div",{class:v.content,innerHTML:e.detail.intros},null):"",!e.loading&&!e.detail.intros&&c("div",{class:v.content},[c(r,{description:"暂无内容"},null)])]),c(m,{position:"bottom"},{default:()=>[e.musicList.length>0&&c(f,{musicList:e.musicList},null)]})])}}))}}}))}();
>>>>>>>> 0f2588f61580675e1c866dc0769d4ceb917efcec:dist/assets/index-legacy-cbd5b373.js
