| 1 |
- !function(){function e(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,i,c=[],s=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(h){l=!0,a=h}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw a}}return c}}(e,r)||function(e,r){if(!e)return;if("string"==typeof e)return t(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(e,r)}(e,r)||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 r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}System.register(["./index-legacy-4ce0a0a0.js","./index-legacy-fcd2c518.js"],(function(t,r){"use strict";var n,a,o,i,c,s,l,h,_,f,u,m,d,g,p,k,b,v,y,w,I,x,q,B,C,S,F,A,j,L,R,U=document.createElement("style");return U.textContent="._back_kfhh6_1{position:fixed;left:.4rem;top:.45333rem;width:.82667rem;height:.82667rem}._back_kfhh6_1>img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}._back_kfhh6_1:active{opacity:.8}._container_kfhh6_16{background:url("+new URL("icon_bg-f94bd665.png",r.meta.url).href+') no-repeat center center / cover;padding:1.25333rem .32rem .53333rem 1.44rem;height:100vh;overflow:hidden}._content_kfhh6_22{display:flex;height:calc(100vh - 1.78667rem);overflow:hidden}._opacityBg_kfhh6_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_kfhh6_32{position:relative;width:55%;padding-left:2.66667rem}._leftBg_kfhh6_37{position:absolute;left:-.05333rem;top:-.05333rem;width:2.77333rem;height:calc(100% + .10667rem);background:linear-gradient(48deg,#43B2FF 0%,#159AF7 100%);border:.05333rem solid #fff;border-radius:.48rem}._types_kfhh6_47{position:absolute;left:0;top:0;width:2.72rem;height:100%;padding:.10667rem 0;overflow-y:auto;border-radius:.48rem}._types_kfhh6_47::-webkit-scrollbar{width:0;display:none}._types_kfhh6_47 ._type_kfhh6_47{position:relative;padding:.10667rem .37333rem}._types_kfhh6_47 ._type_kfhh6_47._typeActive_kfhh6_65 ._typeImg_kfhh6_65{border-color:#f4b482;border-width:.08rem;box-shadow:0 0 .10667rem .05333rem #fff}._types_kfhh6_47 ._type_kfhh6_47._typeActive_kfhh6_65 ._typeIndex_kfhh6_70{display:block}._types_kfhh6_47 ._typeIndex_kfhh6_70{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_kfhh6_47 ._typeImg_kfhh6_65{background-color:#000;border:.05333rem solid #fff;border-radius:.48rem;height:2rem;transition:.3s;overflow:hidden}._types_kfhh6_47 ._typeImg_kfhh6_65:active{transform:scale(.8)}._types_kfhh6_47 ._typeIcon_kfhh6_97{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}._center_kfhh6_103{position:relative;padding-top:calc(var(--van-search-input-height) + .32rem);height:100%}._center_kfhh6_103 .van-search{position:absolute;top:0;left:0;right:0;padding:.16rem .24rem}._musicContent_kfhh6_115{width:calc(100% + .37333rem);padding:.32rem .74667rem .32rem .32rem;height:100%;overflow-y:auto}._musicContent_kfhh6_115::-webkit-scrollbar{width:0;display:none}._musicItem_kfhh6_126{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_kfhh6_126:after{content:"";position:absolute;right:-.69333rem;border:.26667rem solid transparent;border-right-color:#fff;opacity:0}._musicItem_kfhh6_126._disableNotic_kfhh6_145 .van-notice-bar__content{transition-duration:0s!important;transform:none!important}._musicItem_kfhh6_126._musicActive_kfhh6_149{border-width:.08rem;background:linear-gradient(180deg,#FFFFFF 0%,#BFE1FF 100%);transform:scale(1.05);box-shadow:0 .05333rem .10667rem #499fe4}._musicItem_kfhh6_126._musicActive_kfhh6_149:after{animation:_displayIcon_kfhh6_1 .1s forwards;animation-delay:.2s}._musicItem_kfhh6_126 ._musicAvtor_kfhh6_159{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_kfhh6_126 ._musicInfo_kfhh6_168{flex:1}._musicItem_kfhh6_126 ._musicInfo_kfhh6_168 ._musicName_kfhh6_171{font-size:.4rem;font-weight:600;color:#333;line-height:.53333rem}._musicItem_kfhh6_126 ._musicInfo_kfhh6_168 ._noticeBar_kfhh6_177{padding:0;height:.74667rem}._musicItem_kfhh6_126 ._musicInfo_kfhh6_168 ._musicDes_kfhh6_181{width:100%;display:flex;align-items:center}._musicItem_kfhh6_126 ._musicInfo_kfhh6_168 ._musicFavitor_kfhh6_186{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",r.meta.url).href+");background-repeat:no-repeat;background-size:auto 70%;background-position:.05333rem center;margin-right:.10667rem}._musicItem_kfhh6_126 ._musicInfo_kfhh6_168 ._musicAuthor_kfhh6_198{flex:1;font-size:.32rem;font-weight:400;color:#777;line-height:.32rem;max-width:9vw}._musicItem_kfhh6_126 ._musicIcon_kfhh6_206{flex-shrink:0;margin-right:.10667rem}._right_kfhh6_210{position:relative;background:#fff;overflow:hidden;border:none;width:45%;margin-left:.32rem}._right-musicName_kfhh6_218{font-size:.4rem;font-weight:500;color:#131415;line-height:.53333rem;text-align:center;padding:.32rem 0}._staff_kfhh6_226{width:100%}._rightBtns_kfhh6_229{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_kfhh6_229>img{margin:0 .10667rem;height:.8rem;transition:.3s}._rightBtns_kfhh6_229>img:active{transform:scale(.8)}._rightBtns_kfhh6_229>img:last-child{margin-left:auto;animation:_scaleBtn_kfhh6_1 1s ease-in-out infinite}@keyframes _scaleBtn_kfhh6_1{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes _displayIcon_kfhh6_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(U),{setters:[function(e){n=e.f,a=e.F},function(e){o=e.c,i=e.s,c=e.d,s=e.r,l=e.Z,h=e.a2,_=e.a3,f=e.a4,u=e.w,m=e.k,d=e.a5,g=e.h,p=e.I,k=e.a6,b=e.a7,v=e.z,y=e.a8,w=e.i,I=e.q,x=e.a9,q=e.m,B=e.t,C=e.aa,S=e.ab,F=e.p,A=e.ac,j=e.M,L=e.D,R=e.F}],execute:function(){var U=e(o("notice-bar"),2),z=U[0],V=U[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}},T=c({name:z,props:E,emits:["close","replay"],setup:function(e,t){var r,n=t.emit,a=t.slots,o=0,i=0,c=s(),I=s(),x=l({show:!0,offset:0,duration:0}),q=function(t){"closeable"===e.mode&&(x.show=!1,n("close",t))},B=function(){if(a["right-icon"])return a["right-icon"]();var t="closeable"===e.mode?"cross":"link"===e.mode?"arrow":void 0;return t?g(p,{name:t,class:V("right-icon"),onClick:q},null):void 0},C=function(){x.offset=o,x.duration=0,y((function(){b((function(){x.offset=-i,x.duration=(i+o)/+e.speed,n("replay")}))}))},S=function(){var t=e.delay,n=e.speed,a=e.scrollable,s=w(t)?1e3*+t:0;o=0,i=0,x.offset=0,x.duration=0,clearTimeout(r),r=setTimeout((function(){if(c.value&&I.value&&!1!==a){var e=k(c).width,t=k(I).width;(a||t>e)&&b((function(){o=e,i=t,x.offset=-i,x.duration=i/+n}))}}),s)};return h(S),_(S),f("pageshow",S),v({reset:S}),u((function(){return[e.text,e.scrollable]}),S),function(){var t,r,n=e.color,o=e.wrapable,i=e.background;return m(g("div",{role:"alert",class:V({wrapable:o}),style:{color:n,background:i}},[a["left-icon"]?a["left-icon"]():e.leftIcon?g(p,{class:V("left-icon"),name:e.leftIcon},null):void 0,(t=!1===e.scrollable&&!e.wrapable,r={transform:x.offset?"translateX(".concat(x.offset,"px)"):"",transitionDuration:"".concat(x.duration,"s")},g("div",{ref:c,role:"marquee",class:V("wrap")},[g("div",{ref:I,style:r,class:[V("content"),{"van-ellipsis":t}],onTransitionend:C},[a.default?a.default():e.text])])),B()]),[[d,x.show]])}}}),N=I(T),J=e(o("search"),3),O=J[0],D=J[1],M=J[2],K=x({},n,{label:String,shape:q("square"),leftIcon:q("search"),clearable:B,actionText:String,background:String,showAction:Boolean}),X=c({name:O,props:K,emits:["blur","focus","clear","search","cancel","clickInput","clickLeftIcon","clickRightIcon","update:modelValue"],setup:function(e,t){var r=t.emit,o=t.slots,i=t.attrs,c=C(),l=s(),h=function(){o.action||(r("update:modelValue",""),r("cancel"))},_=function(t){13===t.keyCode&&(A(t),r("search",e.modelValue))},f=function(){return e.id||"".concat(c,"-input")},u=function(){if(o.label||e.label)return g("label",{class:D("label"),for:f()},[o.label?o.label():e.label])},m=function(){if(e.showAction){var t=e.actionText||M("cancel");return g("div",{class:D("action"),role:"button",tabindex:0,onClick:h},[o.action?o.action():t])}},d=function(e){return r("blur",e)},p=function(e){return r("focus",e)},k=function(e){return r("clear",e)},b=function(e){return r("clickInput",e)},y=function(e){return r("clickLeftIcon",e)},w=function(e){return r("clickRightIcon",e)},I=Object.keys(n);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,n;return g("div",{class:D({"show-action":e.showAction}),style:{background:e.background}},[null==(t=o.left)?void 0:t.call(o),g("div",{class:D("content",e.shape)},[u(),(n=x({},i,S(e,I),{id:f()}),g(a,F({ref:l,type:"search",class:D("field"),border:!1,onBlur:d,onFocus:p,onClear:k,onKeypress:_,onClickInput:b,onClickLeftIcon:y,onClickRightIcon:w,"onUpdate:modelValue":function(e){return r("update:modelValue",e)}},n),S(o,["left-icon","right-icon"])))]),m()])}}}),Z=I(X),$="_back_kfhh6_1",G="_container_kfhh6_16",H="_content_kfhh6_22",P="_opacityBg_kfhh6_27",Q="_leftContent_kfhh6_32",W="_leftBg_kfhh6_37",Y="_types_kfhh6_47",ee="_type_kfhh6_47",te="_typeActive_kfhh6_65",re="_typeImg_kfhh6_65",ne="_typeIndex_kfhh6_70",ae="_typeIcon_kfhh6_97",oe="_center_kfhh6_103",ie="_musicContent_kfhh6_115",ce="_musicItem_kfhh6_126",se="_disableNotic_kfhh6_145",le="_musicActive_kfhh6_149",he="_musicAvtor_kfhh6_159",_e="_musicInfo_kfhh6_168",fe="_musicName_kfhh6_171",ue="_noticeBar_kfhh6_177",me="_musicDes_kfhh6_181",de="_musicFavitor_kfhh6_186",ge="_musicAuthor_kfhh6_198",pe="_musicIcon_kfhh6_206",ke="_right_kfhh6_210",be="_right-musicName_kfhh6_218",ve="_staff_kfhh6_226",ye="_rightBtns_kfhh6_229",we={"m-search":"_m-search_1oqt0_1",default:"_default_1oqt0_22",white:"_white_1oqt0_25",transparent:"_transparent_1oqt0_28",searchBtn:"_searchBtn_1oqt0_40"},Ie=""+new URL("icon-search-d43eb2c3.svg",r.meta.url).href,xe=c({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 r=t.slots,n=t.emit,a=l({search:e.modelValue||""});return u((function(){return e.modelValue}),(function(){a.search=e.modelValue})),function(){return g(Z,{class:[we["m-search"],we[e.inputBackground]],shape:e.shape,background:e.background,placeholder:e.placeholder,disabled:e.disabled,autofocus:e.autofocus,autocomplete:"off",modelValue:a.search,"onUpdate:modelValue":function(e){return a.search=e},clearTrigger:"always",onClear:function(){console.log("clear"),a.search="",n("search",a.search)},onSearch:function(){return n("search",a.search)}},{left:function(){return r.left&&r.left()},"left-icon":function(){return g(p,{name:Ie,class:we.leftIcon},null)},"right-icon":function(){return g(j,{disabled:e.disabled,class:we.searchBtn,round:!0,type:"primary",size:"mini",onClick:function(){return n("search",a.search)}},{default:function(){return[L("搜索")]}})}})}}}),qe=""+new URL("icon_play-eeef8244.svg",r.meta.url).href,Be=""+new URL("icon_back-b80c2fc2.svg",r.meta.url).href,Ce=""+new URL("icon_down-27184904.svg",r.meta.url).href,Se=""+new URL("icon_jianpu-80bd16a8.svg",r.meta.url).href,Fe=""+new URL("icon_jianpuActive-17580202.svg",r.meta.url).href,Ae=""+new URL("icon_start-4add1f07.svg",r.meta.url).href,je=""+new URL("1-0aed42a1.svg",r.meta.url).href,Le=""+new URL("2-f51bb566.svg",r.meta.url).href,Re=""+new URL("3-9fe2956a.svg",r.meta.url).href,Ue=""+new URL("1-068d7272.png",r.meta.url).href,ze=""+new URL("2-be3ea30a.png",r.meta.url).href,Ve=""+new URL("3-6a1b17fd.png",r.meta.url).href,Ee=""+new URL("4-70426869.png",r.meta.url).href;t("default",c({name:"co-ai",setup:function(){var e=[je,Le,Re],t=[{name:"竖笛-上学歌",auther:"人教版",hot:232,img:Ue},{name:"最伟大的作品",auther:"周杰伦",hot:132,img:ze},{name:"夏天的风",auther:"温岚",hot:112,img:Ve},{name:"慢生活",auther:"李萌",hot:112,img:Ee},{name:"竖笛-上学歌",auther:"人教版",hot:232,img:Ue},{name:"最伟大的作品",auther:"周杰伦",hot:132,img:ze},{name:"夏天的风",auther:"温岚",hot:112,img:Ve},{name:"慢生活",auther:"李萌",hot:112,img:Ee}],r=l({typeIndex:0,musicIndex:0,isShowJianpu:!1});return function(){return g("div",{class:G},[g("div",{class:$},[g("img",{src:Be},null)]),g("div",{class:H},[g("div",{class:[P,Q]},[g("div",{class:W},null),g("div",{class:Y},[new Array(10).fill(1).map((function(t,n){var a=e[n]?e[n]:e[n%3];return g("div",{class:[ee,r.typeIndex===n&&te],onClick:function(){return r.typeIndex=n}},[g("div",{class:ne},null),g("div",{class:re},[g("img",{class:ae,src:a},null)])])}))]),g("div",{class:oe},[g(xe,{shape:"round",background:"transparent",placeholder:"请输入曲目名称"},null),g("div",{class:ie},[t.map((function(e,t){return g("div",{class:[ce,r.musicIndex===t?le:se],onClick:function(){return r.musicIndex=t}},[g("img",{class:he,src:e.img},null),g("div",{class:_e},[g("div",{class:fe},[g(N,{text:e.name,color:"#333",class:ue,background:"none"},null)]),g("div",{class:me},[g("div",{class:de},[e.hot]),g("div",{class:[ge,"van-ellipsis"]},[e.auther])])]),g("img",{class:[pe],src:qe},null)])}))])])]),g("div",{class:[P,ke]},[g("div",{class:be},[t[r.musicIndex].name]),r.isShowJianpu?g(R,null,[g("img",{style:{display:r.musicIndex%2==0?"":"none"},class:ve,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet-first/1687673062603-1.png"},null),g("img",{style:{display:r.musicIndex%2!=0?"":"none"},class:ve,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet-first/1675232855321-1.png"},null)]):g(R,null,[g("img",{style:{display:r.musicIndex%2==0?"":"none"},class:ve,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet/1687673062488-1.png"},null),g("img",{style:{display:r.musicIndex%2!=0?"":"none"},class:ve,src:"https://cloud-coach.ks3-cn-beijing.ksyuncs.com/music-sheet/1675232854483-2.png"},null)]),g("div",{class:ye},[g("img",{src:r.isShowJianpu?Fe:Se,onClick:function(){return r.isShowJianpu=!r.isShowJianpu}},null),g("img",{src:Ce},null),g("img",{src:Ae},null)])])])])}}}))}}}))}();
|