1 |
- !function(){function e(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,c,a,i,o=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(o.push(r.value),o.length!==t);s=!0);}catch(_){l=!0,c=_}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw c}}return o}}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}System.register(["./index-legacy-4a1589df.js","./index-legacy-42b1974e.js"],(function(t,n){"use strict";var r,c,a,i,o,s,l,_,u,h,d,m,f,g,p,w,b,v,y,k,I,x,B,q,C,S,A,F,j,L,R,U,z=document.createElement("style");return z.textContent="._back_1h4cw_1{position:fixed;left:.4rem;top:.45333rem;width:.82667rem;height:.82667rem}._back_1h4cw_1>img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}._back_1h4cw_1:active{opacity:.8}._container_1h4cw_16{background:url("+new URL("icon_bg-f94bd665.png",n.meta.url).href+') no-repeat center center / cover;padding:1.25333rem .32rem .53333rem 1.44rem;height:100vh;overflow:hidden}._content_1h4cw_22{display:flex;height:calc(100vh - 1.78667rem);overflow:hidden}._opacityBg_1h4cw_27{background:linear-gradient(134deg,rgba(255,255,255,.75) 0%,rgba(255,255,255,.34) 100%);border-radius:.48rem;border:.05333rem solid #fff}._leftContent_1h4cw_32{position:relative;width:55%;display:flex}._leftBg_1h4cw_37{position:absolute;left:0;top:0;width:2.72rem;height:100%;background:linear-gradient(48deg,#43B2FF 0%,#159AF7 100%);border:2Px solid #fff;border-radius:.48rem;z-index:1}._leftBg2_1h4cw_48{position:absolute;left:0;top:0;width:calc(100% - .32rem);height:100%;background:linear-gradient(134deg,rgba(255,255,255,.75) 0%,rgba(255,255,255,.34) 100%);border-radius:.48rem;border:2Px solid #fff}._types_1h4cw_58{position:relative;top:.05333rem;width:2.72rem;height:calc(100% - 4Px);padding:.10667rem 0;overflow-x:hidden;overflow-y:auto;border-radius:.48rem;z-index:1;flex-shrink:0}._types_1h4cw_58::-webkit-scrollbar{width:0;display:none}._types_1h4cw_58 ._type_1h4cw_58{position:relative;padding:.10667rem .37333rem}._types_1h4cw_58 ._type_1h4cw_58._typeActive_1h4cw_78 ._typeImg_1h4cw_78{border-color:#f4b482;border-width:.08rem;box-shadow:0 0 .10667rem .05333rem #fff;animation:_scaleBtn_1h4cw_1 1s ease-in-out}._types_1h4cw_58 ._type_1h4cw_58._typeActive_1h4cw_78 ._typeIndex_1h4cw_84{display:block}._types_1h4cw_58 ._typeIndex_1h4cw_84{position:absolute;top:45%;right:-.16rem;width:.32rem;height:.32rem;background:#b8dbfb;border:.05333rem solid #fff;border-radius:.05333rem;transform:rotate(45deg);z-index:2;display:none}._types_1h4cw_58 ._typeImg_1h4cw_78{background-color:#000;border:.05333rem solid #fff;border-radius:.48rem;height:2rem;transition:.3s;overflow:hidden}._types_1h4cw_58 ._typeImg_1h4cw_78:active{transform:scale(.8)}._types_1h4cw_58 ._typeIcon_1h4cw_111{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}._center_1h4cw_117{flex:1;position:relative;height:100%}._center_1h4cw_117 .van-search{position:absolute;top:0;left:0;padding:.16rem .24rem;width:calc(100% - .32rem);z-index:1}._musicContent_1h4cw_130{width:100%;height:calc(100% - var(--van-search-input-height) - .32rem - 1Px);margin-top:calc(var(--van-search-input-height) + .32rem);padding:.16rem .64rem .32rem .32rem;overflow-x:hidden;overflow-y:auto}._musicContent_1h4cw_130::-webkit-scrollbar{width:0;display:none}._musicItem_1h4cw_142{position:relative;display:flex;align-items:center;border:.08rem solid #fff;border-radius:.24rem;margin-bottom:.16rem;background-color:#fff;padding:.13333rem;transition:all .3s}._musicItem_1h4cw_142:after{content:"";position:absolute;right:-.64rem;border:.26667rem solid transparent;border-right-color:#fff;opacity:0}._musicItem_1h4cw_142._disableNotic_1h4cw_161 .van-notice-bar__content{transition-duration:0s!important;transform:none!important}._musicItem_1h4cw_142._musicActive_1h4cw_165{border-width:.08rem;background:linear-gradient(180deg,#FFFFFF 0%,#BFE1FF 100%);transform:scale(1.05);box-shadow:0 .05333rem .10667rem #499fe4}._musicItem_1h4cw_142._musicActive_1h4cw_165:after{animation:_displayIcon_1h4cw_1 .1s forwards;animation-delay:.2s}._musicItem_1h4cw_142 ._musicAvtor_1h4cw_175{display:block;width:1.25333rem;height:1.25333rem;border-radius:.48rem;-o-object-fit:cover;object-fit:cover;flex-shrink:0;margin-right:.24rem}._musicItem_1h4cw_142 ._musicInfo_1h4cw_184{flex:1}._musicItem_1h4cw_142 ._musicInfo_1h4cw_184 ._musicName_1h4cw_187{font-size:.4rem;font-weight:600;color:#333;line-height:.53333rem}._musicItem_1h4cw_142 ._musicInfo_1h4cw_184 ._noticeBar_1h4cw_193{padding:0;height:.74667rem}._musicItem_1h4cw_142 ._musicInfo_1h4cw_184 ._musicDes_1h4cw_197{width:100%;display:flex;align-items:center}._musicItem_1h4cw_142 ._musicInfo_1h4cw_184 ._musicFavitor_1h4cw_202{border:.02667rem solid #FFC5C5;color:#ff6a6a;padding:.02667rem .08rem .02667rem .37333rem;border-radius:.10667rem;background-color:#fff8f7;background-image:url('+new URL("icon_hot-954f4a46.svg",n.meta.url).href+");background-repeat:no-repeat;background-size:auto 70%;background-position:.05333rem center;margin-right:.10667rem}._musicItem_1h4cw_142 ._musicInfo_1h4cw_184 ._musicAuthor_1h4cw_214{flex:1;font-size:.32rem;font-weight:400;color:#777;line-height:.32rem;max-width:9vw}._musicItem_1h4cw_142 ._musicIcon_1h4cw_222{flex-shrink:0;margin-right:.10667rem}._right_1h4cw_226{position:relative;background:#fff;overflow:hidden;border:none;width:45%}._right-musicName_1h4cw_233{font-size:.4rem;font-weight:500;color:#131415;line-height:.53333rem;text-align:center;padding:.32rem 0}._staff_1h4cw_241{width:100%}._rightBtns_1h4cw_244{position:absolute;bottom:0;left:0;right:0;padding:0 .21333rem .48rem;display:flex;align-items:flex-end;height:2.08rem;background:#fff;background-image:linear-gradient(180deg,rgba(255,255,255,0) 0%,#C1EEFF 100%)}._rightBtns_1h4cw_244>img{margin:0 .10667rem;height:.8rem;transition:.3s}._rightBtns_1h4cw_244>img:active{transform:scale(.8)}._rightBtns_1h4cw_244>img:last-child{margin-left:auto;animation:_scaleBtn_1h4cw_1 1s ease-in-out infinite}@keyframes _scaleBtn_1h4cw_1{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes _displayIcon_1h4cw_1{to{opacity:1}}._m-search_1oqt0_1{--van-cell-background-color: transparent}._m-search_1oqt0_1 input::-moz-placeholder{color:var(--k-gray-4)}._m-search_1oqt0_1 input::placeholder{color:var(--k-gray-4)}._m-search_1oqt0_1 .van-field__control{-webkit-user-select:text!important;-moz-user-select:text!important;user-select:text!important;font-size:.34667rem}._m-search_1oqt0_1 .van-search__field{background:transparent!important;padding:0 var(--van-padding-xs) 0 0}._m-search_1oqt0_1 .van-field__right-icon{display:flex;align-items:center;justify-content:center;padding-right:.10667rem}._m-search_1oqt0_1._default_1oqt0_22 .van-search__content{background:#f8f9fc!important}._m-search_1oqt0_1._white_1oqt0_25 .van-search__content{background:#fff!important}._m-search_1oqt0_1._transparent_1oqt0_28 .van-search__content{background:rgba(255,255,255,.16)}._m-search_1oqt0_1._transparent_1oqt0_28 .van-search__content input::-moz-placeholder{color:#fff}._m-search_1oqt0_1._transparent_1oqt0_28 .van-search__content input::placeholder{color:#fff}._m-search_1oqt0_1._transparent_1oqt0_28 .van-search__content input,._m-search_1oqt0_1._transparent_1oqt0_28 .van-search__content .van-field__clear{color:#fff}._m-search_1oqt0_1 ._searchBtn_1oqt0_40{width:1.38667rem;height:.66667rem;padding:0;font-size:.34667rem;font-weight:500;--van-button-mini-height: .74667rem;--van-font-size-xs: .32rem;background:linear-gradient(to right,#5BECFF,#259CFE);border:none}\n",document.head.appendChild(z),{setters:[function(e){r=e.f,c=e.F},function(e){a=e.c,i=e.s,o=e.d,s=e.r,l=e.Z,_=e.a2,u=e.a3,h=e.a4,d=e.w,m=e.k,f=e.a5,g=e.h,p=e.I,w=e.a6,b=e.a7,v=e.z,y=e.a8,k=e.i,I=e.q,x=e.a9,B=e.m,q=e.t,C=e.aa,S=e.ab,A=e.p,F=e.ac,j=e.M,L=e.D,R=e.F,U=e.S}],execute:function(){var z=e(a("notice-bar"),2),V=z[0],T=z[1],E={text:String,mode:String,color:String,delay:i(1),speed:i(60),leftIcon:String,wrapable:Boolean,background:String,scrollable:{type:Boolean,default:null}},N=o({name:V,props:E,emits:["close","replay"],setup:function(e,t){var n,r=t.emit,c=t.slots,a=0,i=0,o=s(),I=s(),x=l({show:!0,offset:0,duration:0}),B=function(t){"closeable"===e.mode&&(x.show=!1,r("close",t))},q=function(){if(c["right-icon"])return c["right-icon"]();var t="closeable"===e.mode?"cross":"link"===e.mode?"arrow":void 0;return t?g(p,{name:t,class:T("right-icon"),onClick:B},null):void 0},C=function(){x.offset=a,x.duration=0,y((function(){b((function(){x.offset=-i,x.duration=(i+a)/+e.speed,r("replay")}))}))},S=function(){var t=e.delay,r=e.speed,c=e.scrollable,s=k(t)?1e3*+t:0;a=0,i=0,x.offset=0,x.duration=0,clearTimeout(n),n=setTimeout((function(){if(o.value&&I.value&&!1!==c){var e=w(o).width,t=w(I).width;(c||t>e)&&b((function(){a=e,i=t,x.offset=-i,x.duration=i/+r}))}}),s)};return _(S),u(S),h("pageshow",S),v({reset:S}),d((function(){return[e.text,e.scrollable]}),S),function(){var t,n,r=e.color,a=e.wrapable,i=e.background;return m(g("div",{role:"alert",class:T({wrapable:a}),style:{color:r,background:i}},[c["left-icon"]?c["left-icon"]():e.leftIcon?g(p,{class:T("left-icon"),name:e.leftIcon},null):void 0,(t=!1===e.scrollable&&!e.wrapable,n={transform:x.offset?"translateX(".concat(x.offset,"px)"):"",transitionDuration:"".concat(x.duration,"s")},g("div",{ref:o,role:"marquee",class:T("wrap")},[g("div",{ref:I,style:n,class:[T("content"),{"van-ellipsis":t}],onTransitionend:C},[c.default?c.default():e.text])])),q()]),[[f,x.show]])}}}),O=I(N),J=e(a("search"),3),D=J[0],P=J[1],M=J[2],H=x({},r,{label:String,shape:B("square"),leftIcon:B("search"),clearable:q,actionText:String,background:String,showAction:Boolean}),K=o({name:D,props:H,emits:["blur","focus","clear","search","cancel","clickInput","clickLeftIcon","clickRightIcon","update:modelValue"],setup:function(e,t){var n=t.emit,a=t.slots,i=t.attrs,o=C(),l=s(),_=function(){a.action||(n("update:modelValue",""),n("cancel"))},u=function(t){13===t.keyCode&&(F(t),n("search",e.modelValue))},h=function(){return e.id||"".concat(o,"-input")},d=function(){if(a.label||e.label)return g("label",{class:P("label"),for:h()},[a.label?a.label():e.label])},m=function(){if(e.showAction){var t=e.actionText||M("cancel");return g("div",{class:P("action"),role:"button",tabindex:0,onClick:_},[a.action?a.action():t])}},f=function(e){return n("blur",e)},p=function(e){return n("focus",e)},w=function(e){return n("clear",e)},b=function(e){return n("clickInput",e)},y=function(e){return n("clickLeftIcon",e)},k=function(e){return n("clickRightIcon",e)},I=Object.keys(r);return v({focus:function(){var e;return null==(e=l.value)?void 0:e.focus()},blur:function(){var e;return null==(e=l.value)?void 0:e.blur()}}),function(){var t,r;return g("div",{class:P({"show-action":e.showAction}),style:{background:e.background}},[null==(t=a.left)?void 0:t.call(a),g("div",{class:P("content",e.shape)},[d(),(r=x({},i,S(e,I),{id:h()}),g(c,A({ref:l,type:"search",class:P("field"),border:!1,onBlur:f,onFocus:p,onClear:w,onKeypress:u,onClickInput:b,onClickLeftIcon:y,onClickRightIcon:k,"onUpdate:modelValue":function(e){return n("update:modelValue",e)}},r),S(a,["left-icon","right-icon"])))]),m()])}}}),W=I(K),X="_back_1h4cw_1",Z="_container_1h4cw_16",$="_content_1h4cw_22",G="_opacityBg_1h4cw_27",Q="_leftContent_1h4cw_32",Y="_leftBg_1h4cw_37",ee="_leftBg2_1h4cw_48",te="_types_1h4cw_58",ne="_type_1h4cw_58",re="_typeActive_1h4cw_78",ce="_typeImg_1h4cw_78",ae="_typeIndex_1h4cw_84",ie="_typeIcon_1h4cw_111",oe="_center_1h4cw_117",se="_musicContent_1h4cw_130",le="_musicItem_1h4cw_142",_e="_disableNotic_1h4cw_161",ue="_musicActive_1h4cw_165",he="_musicAvtor_1h4cw_175",de="_musicInfo_1h4cw_184",me="_musicName_1h4cw_187",fe="_noticeBar_1h4cw_193",ge="_musicDes_1h4cw_197",pe="_musicFavitor_1h4cw_202",we="_musicAuthor_1h4cw_214",be="_musicIcon_1h4cw_222",ve="_right_1h4cw_226",ye="_right-musicName_1h4cw_233",ke="_staff_1h4cw_241",Ie="_rightBtns_1h4cw_244",xe={"m-search":"_m-search_1oqt0_1",default:"_default_1oqt0_22",white:"_white_1oqt0_25",transparent:"_transparent_1oqt0_28",searchBtn:"_searchBtn_1oqt0_40"},Be=""+new URL("icon-search-d43eb2c3.svg",n.meta.url).href,qe=o({name:"m-search",props:{modelValue:{type:String,default:""},shape:{type:String,default:"round"},disabled:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},placeholder:{type:String,default:"请输入搜索关键词"},background:{type:String,default:"#fff"},inputBackground:{type:String,default:"default"}},emits:["search"],setup:function(e,t){var n=t.slots,r=t.emit,c=l({search:e.modelValue||""});return d((function(){return e.modelValue}),(function(){c.search=e.modelValue})),function(){return g(W,{class:[xe["m-search"],xe[e.inputBackground]],shape:e.shape,background:e.background,placeholder:e.placeholder,disabled:e.disabled,autofocus:e.autofocus,autocomplete:"off",modelValue:c.search,"onUpdate:modelValue":function(e){return c.search=e},clearTrigger:"always",onClear:function(){console.log("clear"),c.search="",r("search",c.search)},onSearch:function(){return r("search",c.search)}},{left:function(){return n.left&&n.left()},"left-icon":function(){return g(p,{name:Be,class:xe.leftIcon},null)},"right-icon":function(){return g(j,{disabled:e.disabled,class:xe.searchBtn,round:!0,type:"primary",size:"mini",onClick:function(){return r("search",c.search)}},{default:function(){return[L("搜索")]}})}})}}}),Ce=""+new URL("icon_play-eeef8244.svg",n.meta.url).href,Se=""+new URL("icon_back-b80c2fc2.svg",n.meta.url).href,Ae=""+new URL("icon_down-27184904.svg",n.meta.url).href,Fe=""+new URL("icon_jianpu-80bd16a8.svg",n.meta.url).href,je=""+new URL("icon_jianpuActive-17580202.svg",n.meta.url).href,Le=""+new URL("icon_start-4add1f07.svg",n.meta.url).href,Re=""+new URL("1-0aed42a1.svg",n.meta.url).href,Ue=""+new URL("2-f51bb566.svg",n.meta.url).href,ze=""+new URL("3-9fe2956a.svg",n.meta.url).href,Ve=""+new URL("1-068d7272.png",n.meta.url).href,Te=""+new URL("2-be3ea30a.png",n.meta.url).href,Ee=""+new URL("3-6a1b17fd.png",n.meta.url).href,Ne=""+new URL("4-70426869.png",n.meta.url).href;t("default",o({name:"co-ai",setup:function(){var e=[Re,Ue,ze],t=[{name:"竖笛-上学歌",auther:"人教版",hot:232,img:Ve},{name:"最伟大的作品",auther:"周杰伦",hot:132,img:Te},{name:"夏天的风",auther:"温岚",hot:112,img:Ee},{name:"慢生活",auther:"李萌",hot:112,img:Ne},{name:"竖笛-上学歌",auther:"人教版",hot:232,img:Ve},{name:"最伟大的作品",auther:"周杰伦",hot:132,img:Te},{name:"夏天的风",auther:"温岚",hot:112,img:Ee},{name:"慢生活",auther:"李萌",hot:112,img:Ne}],n=l({typeIndex:0,musicIndex:0,isShowJianpu:!1}),r=function(){U({api:"goBack"})};return function(){return g("div",{class:Z},[g("div",{class:X,onClick:r},[g("img",{src:Se},null)]),g("div",{class:$},[g("div",{class:[Q]},[g("div",{class:ee},null),g("div",{class:Y},null),g("div",{class:te},[new Array(10).fill(1).map((function(t,r){var c=e[r]?e[r]:e[r%3];return g("div",{class:[ne,n.typeIndex===r&&re],onClick:function(){return n.typeIndex=r}},[g("div",{class:ae},null),g("div",{class:ce},[g("img",{class:ie,src:c},null)])])}))]),g("div",{class:oe},[g(qe,{shape:"round",background:"transparent",placeholder:"请输入曲目名称"},null),g("div",{class:se},[t.map((function(e,t){return g("div",{class:[le,n.musicIndex===t?ue:_e],onClick:function(){return n.musicIndex=t}},[g("img",{class:he,src:e.img},null),g("div",{class:de},[g("div",{class:me},[g(O,{text:e.name,color:"#333",class:fe,background:"none"},null)]),g("div",{class:ge},[g("div",{class:pe},[e.hot]),g("div",{class:[we,"van-ellipsis"]},[e.auther])])]),g("img",{class:[be],src:Ce},null)])}))])])]),g("div",{class:[G,ve]},[g("div",{class:ye},[t[n.musicIndex].name]),n.isShowJianpu?g(R,null,[g("img",{style:{display:n.musicIndex%2==0?"":"none"},class:ke,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet-first/1687673062603-1.png"},null),g("img",{style:{display:n.musicIndex%2!=0?"":"none"},class:ke,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet-first/1675232855321-1.png"},null)]):g(R,null,[g("img",{style:{display:n.musicIndex%2==0?"":"none"},class:ke,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet/1687673062488-1.png"},null),g("img",{style:{display:n.musicIndex%2!=0?"":"none"},class:ke,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet/1675232854483-2.png"},null)]),g("div",{class:Ie},[g("img",{src:n.isShowJianpu?je:Fe,onClick:function(){return n.isShowJianpu=!n.isShowJianpu}},null),g("img",{src:Ae},null),g("img",{src:Le,onClick:function(){U({api:"openAccompanyWebView",content:{url:"https://dev.kt.colexiu.com/instrument?id=43539&Authorization=bearer 529d1359-20c6-4ea2-b2ba-2694cdeda8a4",orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}})}},null)])])])])}}}))}}}))}();
|