1 |
- !function(){function e(e,a,n,t,r,i,o){try{var s=e[i](o),c=s.value}catch(l){return void n(l)}s.done?a(c):Promise.resolve(c).then(t,r)}var a=document.createElement("style");a.innerHTML="body{background-color:#f8f8f8}._search_1bfp1_4{--van-cell-background-color: transparent;--van-cell-font-size: .42667rem;--van-cell-text-color: #333;--van-cell-value-color: #999;--van-cell-icon-size: .26667rem;--van-nav-bar-height: 0;--base-bg: #f6f8f9}._search_1bfp1_4 ._sticky_1bfp1_13 .van-sticky--fixed{box-shadow:.26667rem .26667rem .26667rem var(--box-shadow-color)}._search_1bfp1_4 ._sticky_1bfp1_13>div{background-color:var(--base-bg)}._search_1bfp1_4 ._sticky_1bfp1_13 ._searchCancel_1bfp1_19{font-size:.4rem;color:#000}._search_1bfp1_4 ._sticky_1bfp1_13 .van-search__content{border:.02667rem solid #fff!important;box-sizing:border-box}._search_1bfp1_4 ._sticky_1bfp1_13 .van-search__action{padding-right:0}._search_1bfp1_4 ._sticky_1bfp1_13 .van-dropdown-menu__bar{background-color:transparent;box-shadow:none;padding-right:.4rem}._search_1bfp1_4 ._sticky_1bfp1_13 .van-dropdown-menu__title{padding-left:0}._search_1bfp1_4 ._sticky_1bfp1_13 .van-dropdown-menu__title:after{border-color:transparent transparent rgba(0,0,0,.4) rgba(0,0,0,.4)}._search_1bfp1_4 ._sticky_1bfp1_13 .van-dropdown-item__content{border-radius:0 0 .53333rem .53333rem}._search_1bfp1_4 ._sticky_1bfp1_13 .van-dropdown-menu__title--active:after{border-color:transparent transparent #fe2451 #fe2451}._search_1bfp1_4 ._sticky_1bfp1_13 ._titleActive_1bfp1_47{color:#fe2451}._search_1bfp1_4 ._title_1bfp1_47{padding-top:.42667rem}._search_1bfp1_4 ._title_1bfp1_47 .van-cell__value{font-size:.32rem}._search_1bfp1_4 ._keywordTitle_1bfp1_56{display:flex;align-items:center;justify-content:space-between;padding:.21333rem .24rem;position:relative}._search_1bfp1_4 ._keywordTitle_1bfp1_56 ._t_1bfp1_47{font-size:.37333rem;font-weight:500;color:#000;line-height:.53333rem}._search_1bfp1_4 ._keywordTitle_1bfp1_56 ._remove_1bfp1_69{font-size:.42667rem}._search_1bfp1_4 ._keywords_1bfp1_72{margin-top:.26667rem;padding:0 .37333rem;display:flex;align-items:center}._search_1bfp1_4 ._keywords_1bfp1_72 ._content_1bfp1_78{flex:1;display:flex;flex-wrap:wrap}._search_1bfp1_4 ._keywords_1bfp1_72 ._content_1bfp1_78 ._searchKeyword_1bfp1_83{--van-tag-default-color: white;--van-tag-text-color: #313443;font-size:.37333rem;padding:.13333rem .37333rem;margin-right:.13333rem;margin-bottom:.26667rem;max-width:2.66667rem;display:block;word-break:keep-all}._search_1bfp1_4 ._keywords_1bfp1_72 ._content_1bfp1_78 ._arrowMore_1bfp1_94{width:.72rem;height:.72rem;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background-color:#fff;font-size:.32rem;color:#93959f}._search_1bfp1_4 ._label_1bfp1_105{margin-right:.21333rem;font-size:.37333rem}._search_1bfp1_4 ._label_1bfp1_105 .van-list__loading,._search_1bfp1_4 ._label_1bfp1_105 .van-list__finished-text,._search_1bfp1_4 ._label_1bfp1_105 .van-list__error-text{width:100%}._search_1bfp1_4 ._label_1bfp1_105 .iconfont-down{margin-left:.10667rem}._sticky_1bfp1_13 .van-sticky{background:url(./assets/bg-image-search.c44b4a0f.png) no-repeat top center;background-size:100% 6.96rem;box-shadow:none!important}._sticky_1bfp1_13 .van-search__content{background:rgba(255,255,255,.5)!important}._sticky_1bfp1_13 .van-search__content input::-moz-placeholder{color:rgba(0,0,0,.4)!important}._sticky_1bfp1_13 .van-search__content input::placeholder{color:rgba(0,0,0,.4)!important}._sticky_1bfp1_13 .van-search__content input{color:rgba(0,0,0,.4)!important}._sticky_1bfp1_13 .van-search__content .van-field__clear{color:#c1bdc1!important}._bgImg_1bfp1_134{position:fixed;top:0;left:0;width:100%;height:6.96rem;z-index:-1}._tagTabs_1bfp1_142{--van-cell-background-color: transparent;--van-cell-font-size: .42667rem;--van-cell-text-color: #333;--van-cell-value-color: #999;--van-cell-icon-size: .26667rem;--van-tab-line-height: .58667rem}._tagTabs_1bfp1_142 .van-tab{font-size:.42667rem!important;color:#999}._tagTabs_1bfp1_142 .van-tab--active{font-size:.42667rem!important;color:#131415}._tagTabs_1bfp1_142 .van-tabs__line{width:.64rem;height:.10667rem;background:linear-gradient(90deg,#ff3c81 0%,rgba(255,118,166,.5) 100%)!important;border-radius:.96rem .96rem 0 0;bottom:.58667rem}._tagTabs_1bfp1_142 .van-tabs__nav--line.van-tabs__nav--shrink,._tagTabs_1bfp1_142 .van-tabs__nav--line.van-tabs__nav--complete{padding-left:0;padding-right:0}._tagTabs_1bfp1_142 .van-tab--shrink{padding:0 .4rem 0 .24rem}._alubmGroupSearch_1bfp1_173 .van-list>div{margin-top:.21333rem}._hotMusic_1bfp1_176{padding-bottom:.53333rem}._hotMusic_1bfp1_176 ._swipeItem_1bfp1_179 ._swipeChild_1bfp1_179{margin:0 .18667rem}._hotMusic_1bfp1_176 ._swipeItem_1bfp1_179:last-child ._swipeChild_1bfp1_179{margin-right:.37333rem}._hotMusic_1bfp1_176 ._swipeItem_1bfp1_179:first-child ._swipeChild_1bfp1_179{margin-left:.37333rem}._hotMusic_1bfp1_176 ._swipeItem_1bfp1_179{border-radius:.26667rem;overflow:hidden}._hotMusic_1bfp1_176 ._swipeChild_1bfp1_179{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAc4AAABkCAMAAAA4yCC+AAAAolBMVEUAAAD50t361OH71uL81uL/2eb71eH81uP81eL60+H95Oz//P372+b++vv95u374On71uL84ur+7PH+8/b71OH50+D+6e772OT+9vn+7/P+8fX73ef96vD73uj//v/86O/93+f60d770t/94en52OL+7fL94+r93ub92eP91+H93OX90t792+T91OD909/41eD51uH409/91uH52uP+0t/53OUNCMgTAAAACnRSTlMA/pHqsBfYeFc3VSHTswAACsdJREFUeNrsl8FymzAURcF2nGSGxVvoDWs0bDodkDS0//9rveJJ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KGd/tmoP0d1N2wS4GHcADhYa0VvRDIxMYnEuO9gVF5zh30XnOfXQcmMLusEuDOG+3GOdDSbrqBgAh56Z1m5d30Tm/OI8Qo+PkCrtDxVbdEGetzGPuq0A/D4tb9wV107Q457rkvL9H13Buq8LuMCRJf86XDUpFT61MikI+MFHICCYLGVHizAqmJA58iuagtDrJyaI5KAsvAnAUzUFZXciIEmdWsFrX4VM0B/3THh3jMAjEUBD9vbUVTaBwx/2vGEeh5QA7mrdCRvrl5BZIznHP5yXcnAIxJ0ougZgT5Z/zuA4v4eYQiDlRzImSj0DMiWJOlCyBmBPFnCjmRMkqH+at1Ls1yn2nPSUQc6KYEyXVXaOrx/P/qB/3nfa0QNKj+k21+077FxzLejfdfdUcAAAAAElFTkSuQmCC) no-repeat top center #fff;background-size:contain;border-radius:.26667rem}._hotMusic_1bfp1_176 ._swipeTitle_1bfp1_197{font-size:.42667rem;font-weight:500;color:#131415;line-height:.58667rem;padding:.32rem .32rem .42667rem}._hotMusic_1bfp1_176 ._swipeContent_1bfp1_204{padding:0 .42667rem .21333rem;border-radius:.26667rem}._hotMusic_1bfp1_176 ._swipe_1bfp1_179{font-size:.37333rem;color:#6a6c77;line-height:.53333rem;max-width:80%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:.21333rem 0}._hotMusic_1bfp1_176 ._swipe_1bfp1_179 ._num_1bfp1_218{display:inline-block;font-size:.42667rem;font-family:PingFangSC-Medium,PingFang SC;font-weight:600;color:#8a8c95;width:.56rem}._hotMusic_1bfp1_176 ._swipe_1bfp1_179 ._hot_1bfp1_176{display:inline-block;width:.42667rem;line-height:.42667rem;text-align:center;background:#fe2451;border-radius:.10667rem;font-size:.32rem;font-weight:500;color:#fff;vertical-align:middle;margin-left:.10667rem;transform:scale(.9)}._hotMusic_1bfp1_176 ._swipe_1bfp1_179._swipeTop_1bfp1_240{color:#131415}._hotMusic_1bfp1_176 ._swipe_1bfp1_179._swipeTop_1bfp1_240 ._num_1bfp1_218{color:#fe2451}._searchResult_1bfp1_246{position:fixed;top:0;z-index:98;left:0;right:0;overflow:hidden;bottom:0;padding-top:var(--header-height);background:url(./assets/bg-image-search.c44b4a0f.png) no-repeat top center #f8f8f8;background-size:100% 5.70667rem}._searchGroups_1bfp1_258{padding-top:.26667rem;height:100%;overflow-y:auto;overflow-x:hidden;font-size:.4rem;color:#131415;line-height:.56rem}._searchGroups_1bfp1_258 ._searchItem_1bfp1_267{display:flex;align-items:center;padding:0 .32rem .85333rem}._searchGroups_1bfp1_258 ._searchItem_1bfp1_267 ._rName_1bfp1_272{width:90%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._searchGroups_1bfp1_258 ._searchItem_1bfp1_267 span span{color:#fe2451}._searchGroups_1bfp1_258 ._iconSearch_1bfp1_281{width:.42667rem;height:.42667rem;margin-right:.26667rem}._searchGroups_1bfp1_258 .col-result-container{margin-top:1.06667rem}._searchAlbum_1bfp1_289{padding:.16rem .34667rem .34667rem}._searchAlbum_1bfp1_289 .col-result-container{margin-top:1.06667rem}._searchAlbum_1bfp1_289 .van-list{padding:0 .34667rem;background:#ffffff;border-radius:.42667rem}\n",document.head.appendChild(a),System.register(["./ResizeObserver.es-legacy.9ef5ac8c.js","./index-legacy.31c9aada.js","./index-legacy.49dc34f1.js","./index-legacy.68eb7f39.js","./index-legacy.75e14135.js","./index-legacy.d0f09d75.js","./index-legacy.e9381954.js","./index-legacy.571708b1.js","./index-legacy.46228add.js","./index-legacy.91eef022.js","./index-legacy.6e10cd37.js","./music-legacy.025f1fa2.js","./select-subject-legacy.2661617d.js","./hooks-legacy.b4b15558.js","./index-legacy.3c7372ae.js","./index-legacy.402479d8.js"],(function(a){"use strict";var n,t,r,i,o,s,c,l,_,u,p,f,b,m,d,h,g,v,A,k,w,y,x,S,T,C,M,z,U,j,P,H,I,E,R;return{setters:[function(e){n=e.d,t=e.U,r=e.f,i=e.n,o=e.g,s=e.Q,c=e.P,l=e.bF,_=e.a3,u=e.S,p=e.V,f=e.j,b=e.A,m=e.N,d=e.R,h=e.C,g=e.$,v=e.y,A=e.X},function(e){k=e.T},function(){},function(){},function(e){w=e.T,y=e.a},function(e){x=e.D,S=e.a},function(){},function(e){T=e.E},function(e){C=e.S},function(e){M=e.d,z=e.e},function(e){U=e.c},function(e){j=e.g},function(e){P=e.S},function(e){H=e.a,I=e.S},function(e){E=e.T},function(e){R=e.C}],execute:function(){var D=a("s",{search:"_search_1bfp1_4",sticky:"_sticky_1bfp1_13",searchCancel:"_searchCancel_1bfp1_19",titleActive:"_titleActive_1bfp1_47",title:"_title_1bfp1_47",keywordTitle:"_keywordTitle_1bfp1_56",t:"_t_1bfp1_47",remove:"_remove_1bfp1_69",keywords:"_keywords_1bfp1_72",content:"_content_1bfp1_78",searchKeyword:"_searchKeyword_1bfp1_83",arrowMore:"_arrowMore_1bfp1_94",label:"_label_1bfp1_105",bgImg:"_bgImg_1bfp1_134",tagTabs:"_tagTabs_1bfp1_142",alubmGroupSearch:"_alubmGroupSearch_1bfp1_173",hotMusic:"_hotMusic_1bfp1_176",swipeItem:"_swipeItem_1bfp1_179",swipeChild:"_swipeChild_1bfp1_179",swipeTitle:"_swipeTitle_1bfp1_197",swipeContent:"_swipeContent_1bfp1_204",swipe:"_swipe_1bfp1_179",num:"_num_1bfp1_218",hot:"_hot_1bfp1_176",swipeTop:"_swipeTop_1bfp1_240",searchResult:"_searchResult_1bfp1_246",searchGroups:"_searchGroups_1bfp1_258",searchItem:"_searchItem_1bfp1_267",rName:"_rName_1bfp1_272",iconSearch:"_iconSearch_1bfp1_281",searchAlbum:"_searchAlbum_1bfp1_289"});var O=a("m",new T),L=t(),F=a("o",(function(e,a){r().isApp?i({api:"openWebView",content:{url:e,orientation:1,isHideTitle:!1}}):a&&a()})),B=n({name:"MusicSearchHeader",setup:function(){var a=H(I.SEARCH);if(!a.id){var n=o.user.data,T=n.subjectId?Number(n.subjectId.split(",")[0]):"",B=n.subjectName?n.subjectName.split(",")[0]:"";T&&H(I.SEARCH,JSON.stringify({id:T,name:B}),"set")}localStorage.setItem("behaviorId",j());var V=s(),W=c(),G=t(!1),X=t(""),N=t(""),Y=M("/music-songbook/search"===W.path?"music-search":"music-search-ablum",[]),K=t("all");"/music-songbook/result"===W.path&&(X.value=W.query.search,N.value="",K.value="all"),l((function(e,a){var n=H(I.SEARCH);if(ae.name=n.name||"全部声部",ae.id=n.id,"/music-songbook/search"===W.path){X.value="",N.value="",K.value="all";try{var t,r;null===(t=L.value)||void 0===t||null===(r=t.resetTags)||void 0===r||r.call(t)}catch(i){console.log(i)}}return"/music-songbook/result"===e.path&&(X.value=e.query.search,console.log(X.value,"value",W.query),N.value="",K.value="all"),!0})),_(K,(function(e){O.emit("changeTab",e,X.value)}));var q=t([]),J=z(function(){var n,t=(n=regeneratorRuntime.mark((function e(n){var t,r,i,o,s,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,t={},"/music-songbook/searchAlbum"!==W.path){e.next=10;break}return e.next=5,v.post("/api-student/music/sheet/searchTenant",{hideLoading:!0,data:{name:n,rows:10}});case 5:r=e.sent,i=r.data,t=i,e.next=15;break;case 10:return e.next=12,v.post("/api-student/music/sheet/search",{hideLoading:!0,data:{subjectId:a.id,name:n,rows:10}});case 12:o=e.sent,s=o.data,t=s;case 15:(c=t.musicNames||[]).forEach((function(e,a){a<10&&(e.name=e.name.replace(n,"<span>".concat(n,"</span>")))})),q.value=c,G.value=!!X.value,e.next=23;break;case 21:e.prev=21,e.t0=e.catch(0);case 23:case"end":return e.stop()}}),e,null,[[0,21]])})),function(){var a=this,t=arguments;return new Promise((function(r,i){var o=n.apply(a,t);function s(a){e(o,r,i,s,c,"next",a)}function c(a){e(o,r,i,s,c,"throw",a)}s(void 0)}))});return function(e){return t.apply(this,arguments)}}(),300),Q=function(e){console.log("object :>> ",e),X.value=e;var a=Y.value.indexOf(e);a>-1&&Y.value.splice(a,1),e&&(Y.value.unshift(e),Y.value.length=Math.min(Y.value.length,10),"/music-songbook/search"===W.path&&re(),"/music-songbook/searchAlbum"===W.path&&re()),"/music-songbook/searchAlbum"!==W.path&&"/music-songbook/result"!==W.path?(V.replace({path:"/music-songbook/result",query:{search:e}}),G.value=!1,q.value=[]):(G.value=!1,O.emit("search",e))},Z=t(),$=function(e){ae.name=e.name,ae.id=e.id,Z.value.toggle(),H(I.SEARCH,JSON.stringify({id:e.id,name:e.name}),"set"),ae.show=!1,O.emit("confirmSubject",ae)},ee=H(I.SEARCH),ae=u({show:!1,name:ee.name||"全部声部",id:ee.id||""}),ne=t([]),te=u({line:0,arrowStatus:!1}),re=function(){A((function(){if(Y.value&&Y.value.length){var e=-1;te.line=0,ne.value.forEach((function(a,n){try{a.$el.style.display="block",0===n?(te.line=1,e=a.$el.offsetLeft):a.$el.offsetLeft===e&&0!=n&&(te.line+=1),te.arrowStatus?a.$el.style.display="block":te.line>1?a.$el.style.display="none":a.$el.style.display="block"}catch(t){console.log(t,"Error")}}))}}))};return"/music-songbook/search"===W.path&&re(),"/music-songbook/searchAlbum"===W.path&&re(),p((function(){i({api:"backIconChange",content:{backIconHide:!0}})})),function(){return f("div",{class:D.search},[f("div",{class:D.sticky},[f(E,{position:"top"},{default:function(){return[f(R,{isFixed:!1,background:"transparent",isBack:!1,title:" "},null),f(C,{modelValue:X.value,background:"transparent",showAction:!0,onInput:function(e){X.value=e,e?J(e):(q.value=[],G.value=!1,"/music-songbook/result"===W.path&&V.replace("/music-songbook/search"),"/music-songbook/searchAlbum"===W.path&&O.emit("search",""))},onSearch:function(e){e?(X.value=e,Q(e)):"/music-songbook/searchAlbum"===W.path&&O.emit("search","")},type:"tenant"},{left:function(){return"/music-songbook/searchAlbum"!==W.path&&f(x,null,{default:function(){return[f(S,{title:ae.name,ref:Z},{default:function(){return[f(P,{isReset:!0,searchParams:ae,onComfirm:$},null)]}})]}})},action:function(){return f("span",{class:D.searchCancel,onClick:function(){r().isApp?i({api:"back"}):V.back()}},[b("取消")])}}),"/music-songbook/result"===W.path&&!G.value&&f(w,{color:"var(--van-primary)",background:"transparent",lineWidth:20,shrink:!0,class:D.tagTabs,active:K.value,"onUpdate:active":function(e){return K.value=e},onChange:function(e){return K.value=e}},{default:function(){return[f(y,{title:"综合",name:"all"},null),f(y,{title:"单曲",name:"songe"},null),f(y,{title:"专辑",name:"album"},null)]}})]}}),f("img",{class:D.bgImg,src:"./assets/bg-image-search.c44b4a0f.png"},null)]),Y.value.length>0&&("/music-songbook/search"===W.path||"/music-songbook/searchAlbum"===W.path)&&f("div",{class:D.keywordSection},[f("div",{class:D.keywordTitle},[f("span",{class:D.t},[b("搜索历史")]),f(m,{class:D.remove,name:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA85JREFUWEftl1toHGUUx//n20mzWmtsm7aCwQsaC6VFkaIvUREv+KBFsSIUBR+U7c6EhaY7l82DDCLtzswm4pLZ7SqKD1JEIpYqIlRQSF5a6YNaKlqlCirSe6yXtdn9jszshG6Sze4mafqU72l3v/M/5zf/+S5nCW0M1/VvlEQ7IHkTE+LNJMQoQ9BxwbzfMLQ/WqWnVgGeV3i+ynIfQCtbxU6f579jJHbquvpeU+Bmk55XeESCP2NGbH7Fa9FEqArQ47qufj6XvqkDWdc/CuCeMBnoIGIyL1lcaAYjSN6AqkgxeFtEcdTS1a3zBsjn31n3T/nfU5Hw5OouZWMikZhsx4lSqdRxfqLyPYDbgngZr64fTKVON9LO6YDnFTdXWX4bmfmhZajb2yk+FZN1C6MAPxN8j5HYouvJY3MCOM5bPUJMrqkPYKZeCTka2T/GEs58AEjAZPD9gUZAbCfiE/V6KTvOmebLv5LjFF9gku+GcVd3SGLxIjme/wYzUle3dq0aE/IUHTKvALx2FgSjg0DrmdDyvGj4fhnM4FMgNFi8dFYwvzorsW3bIh7v7iuXLx2z7YFzV8IZ2x5eE4+v2Fwunxm3bVvW55wFkHX9YQC7APrJ1JO9RMSLgWBmcr3iCQbfDuB1y9AGmgM4/hgIfeH+rXD34GD/2cUA7NkzslYodKb20jFumVq4M6bGbAc8fwxcA1CEsi6dTtTECxy5XKm7Iiu1Q4gwbumLAAgXLPCYIpRPZ4K9lhu5RZH0YDlePWCnUn9O8V5RgKzrfwVgK4i+tHT1oXpTso5/EoRbQRi1dO3ZpQHw/Akwrgfwu2VoN00Vse0PVsSvPf1fzWV8YxraXcsAyw4sO7A0Drh+0A92MfBbxtB6Lm/DL5RrVn53KTj3wfy1ZfbfvSQAjlt4n8HPgehtS1dfmnYQuX7Q+T5MRI6pq9aCARy38DGDnwgvoxhvHNzd/8PlJ7VFZ9eGmzO7kr+EV0vdsG1b6ezc0JPJJH+u/31o6M07J6uTQYMadNafmIb6ZP18o+vYA5AOBUKkzXRyaIH3UChzcsXdLGUuypGzDE1vCuA4xXuZ5OHoWL3AivKANZCIuuP5oWSHS1tQqYwF6ybMx+I+00weaQoQTGZd/yMATwWfmfEXEeWZ6BCIL7aFwLSKmB9l5hQRros0ByxDe3qmvmGvt3dvYTXFMA7wprYKtgyi41xFXyajnm8LIHQhW+qCqIwA2LGIlj3o//ZDKv2WlZhoxNmy23Xdfb0seBukvEMCq1o+bI32Ilj8SEQHDWPntD8kM/X/A4ncTT5rcucXAAAAAElFTkSuQmCC",onClick:function(){return Y.value=[]}},null)]),f("div",{class:U(D.keywords)},[f("div",{class:D.content},[Y.value.map((function(e,a){return f(k,{ref:function(e){return ne.value[a]=e},round:!0,class:[D.searchKeyword,"van-ellipsis"],key:e,onClick:function(){X.value=e,Q(e)}},"function"==typeof(n=e)||"[object Object]"===Object.prototype.toString.call(n)&&!g(n)?e:{default:function(){return[e]}});var n})),te.line>1&&f("span",{class:[D.arrowMore],onClick:function(){te.arrowStatus=!te.arrowStatus,re()}},[f(m,{name:te.arrowStatus?"arrow-up":"arrow-down"},null)])])])]),"/music-songbook/search"===W.path&&f(w,{color:"var(--van-primary)",background:"transparent",lineWidth:20,shrink:!0,class:D.tagTabs,active:K.value,"onUpdate:active":function(e){return K.value=e},onChange:function(e){return K.value=e}},{default:function(){return[f(y,{title:"综合",name:"all"},null),f(y,{title:"单曲",name:"songe"},null),f(y,{title:"专辑",name:"album"},null)]}}),f(d,null,null),f("div",{class:[D.searchResult],style:{display:G.value?"block":"none"}},[f("div",{class:D.searchGroups},[q.value.map((function(e){return f("div",{class:D.searchItem,onClick:function(){"ALBUM"===e.type?F("".concat(location.origin,"/tenant/#/music-album-detail/").concat(e.id),(function(){V.push({path:"/music-album-detail/"+e.id})})):F("".concat(location.origin,"/tenant/#/music-detail?id=").concat(e.id,"&tenantAlbumId=").concat("/music-songbook/searchAlbum"===W.path?e.tenantAlbumId:"","&type=search"),(function(){V.push({path:"/music-detail",query:{id:e.id,tenantAlbumId:"/music-songbook/searchAlbum"===W.path?e.tenantAlbumId:"",type:"search"}})}))}},[f("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAxRJREFUWEfNl01IVFEUx//nPUGnTRaYZB+QIdjGiqBVLSwJWrUQKRrmaRttruU8KYgW5csWIYSOqW9SDHPEzYSLVkFos2gXROUmQWjRhxJm6SZHcN6J9+bNzHNyZrRRp7e8957/+d1zzz33PEKWz68PVwFUC+A0gEoAu22TnwCmALwGeEwV9ZPZtNaap3RG3frTE0xyB5jPrkuYaII4essnGt6ua7296C8ALRwuKJ763AUmAUByijFjhQjfzTFmlBKhIMWZAWJ9ofJgq1ZdvbIekFUAD/TRXS5ExwBUJ415hkgaMAzp+eLc9KSmaYY5p2matLOkokqSjAvMRiNAZQ6H4SXItbeF+1c2iASAtfOPX146nJs7uO+Slx42NTX9ziTU39+/YynqugngDpCISnjhyIFz2SKRAPAHhnvAdM12tCBBrmsR7vFsO3DOP9JHawxEnwEotsaJe1Vv/fVMGhaAlXCQ3thnviJBPr9R53EnNsQLOxIGwTiZKTEtAH9gZNyR7W2qUNo3svPUtX49eBfAvVgUaEL1emrS6ZF9zz/EFvCMS45UZDvzbHCxnCiaTiYmH01XJ8ivB01SkxhEpPm8nhh5jl93YKSNmTVbpl0VSttakibAq3jmM8vHW5vd73P0bZl39Y0eI4q+s7XCqlDOpAOYAbDXLDKLc58K4/c8V4hYnShftovVrCoUZ51IyJsRiAAoBPBNFcr+XB077f168CuAfQCWVaEUpYtA3gHyfgR5T8J8X0Or4chfIcp7Kf4vHqNYFPL4HJsAW9CQgIAen1BaMhW3rWrJkj6Ze9Xm9E3JpjelEpFuMJcAuBinIKDPJxSzM+LUaGxJWx4KheTZH5EgA5cdEAGfUJpTIdICxA3/9cfEgpiPDDPD7YB47BMeYTaLjrHNfP9Wa9WFQvKp+cgQMzzxGQYGVK/nKlEMImsEcsUz+4LiPYeHAFaSu+bBFq/SaEJsOYB1xU2I0vInYDQkIajTJzw3tgUgAbHn0CBAVywIolnV6ynbNgDTJzNTd2Ckk4BLBtDRKhT/tgKslU9/AG4VwDAHjWgLAAAAAElFTkSuQmCC",class:D.iconSearch},null),f("span",{class:D.rName,innerHTML:e.name},null)])})),q.value.length<=0&&f(h,{tips:"暂无搜索结果",btnStatus:!1},null)])])])}}}),V=Object.freeze(Object.defineProperty({__proto__:null,mitter:O,openWebViewOrWeb:F,default:B},Symbol.toStringTag,{value:"Module"}));a("h",V)}}}))}();
|