1 |
- import{a as n}from"./index.e6997d13.js";import{v as h}from"./index.2525db3c.js";import{m as A}from"./index.c1ce529e.js";import{c as b}from"./titleDot.8a565ea2.js";import{h as w}from"./scrollbar.min.1a8a8a0f.js";import{b as m}from"./index.d1dbbf58.js";import{t as u,a as W}from"./moreArrow.6320b000.js";import{r}from"./index.1f84bfe1.js";import{d as _,r as f,f as I,o as x,c as s,a as i,w as L}from"./vendor.9f3c6e4d.js";import"./hold.c2fff6ac.js";import"./lineStart.fb76406f.js";import"./player.8b5ee2bb.js";import"./icon.6e6f91da.js";import"./music.f2b8674a.js";import"./lineStart.6f5720eb.js";const Z="_title_1xs2v_1",M="_w1200_1xs2v_5",D="_section_1xs2v_9",C="_titleWrap_1xs2v_12",N="_titleWrapLeft_1xs2v_20",R="_dotImg_1xs2v_26",T="_titleWrapMore_1xs2v_37",B="_hotAlbum_1xs2v_59",G="_albumMoudel_1xs2v_62",U="_albumWrap_1xs2v_66",y="_line_1xs2v_70",F="_albumList_1xs2v_79",S="_albumSearch_1xs2v_85",J="_inputWrap_1xs2v_90",Y="_searchIcon_1xs2v_93",j="_chioseRow_1xs2v_128",H="_chioseTagWrap_1xs2v_131",k="_videoList_1xs2v_142",E="_videoNav_1xs2v_149",P="_wrapRight_1xs2v_162",Q="_arrow_1xs2v_171",X="_mb48_1xs2v_176",O="_mb32_1xs2v_179",z="_pt41_1xs2v_182";var e={title:Z,w1200:M,section:D,titleWrap:C,titleWrapLeft:N,dotImg:R,titleWrapMore:T,hotAlbum:B,albumMoudel:G,albumWrap:U,line:y,albumList:F,albumSearch:S,inputWrap:J,searchIcon:Y,chioseRow:j,chioseTagWrap:H,videoList:k,videoNav:E,wrapRight:P,arrow:Q,mb48:X,mb32:O,pt41:z},V="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAyCAYAAAAayliMAAAAAXNSR0IArs4c6QAACA1JREFUaEPVWW1wVOUVfs7dzRchaBypjKMQIWpZdjf4QfYmaapgAy1+YG32RoLaY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xX1do5ierwZByJZaF/wBAP9Xk+l+Y78zcv+6a5b6sHx6dUtDbOvNXRCIcBYwQ8IZD1SDeKKodsiApcmEQ9rBurBu5CDyd6kxXAib52ywBhGNIJOq02hV9o7ZdrpN7o2odGGsI+GqGZqwT5AUAu5ikjXG5Pna1sy/SvAmgNTa3U6drIK+ua+HXP7W9hZwYmPa7WtXpyTw8yMQLiWkBgDnCg0u4CKZTIIQlxiF3XuGBTG361DuULFVh3lgZBhHa+91YfOZexeymZP6XMhsRo3xamtz+It+MJPRpbjYK4ZYuJhmfdS8IfpxLDnVPZ2feUOKM2ZV4xIZD2wANLe6Rn/hP1mcgZ0HjCPDE1Xz3BdrFYEsRfwWWEBlKFiy5JgWYJMv3byooKp1hXuFLbdbiwDUrICXi9P6CovP9f8DwhZE26ILhlr52TQswGZe1vFE4taB4DxEWX6WgnyRaGgsEj1zzAlIi/t5SWPJx714w6gDzVsODI82G/wsBpohbwmrR9YRmuGlDfEHQfOxS47+y8wc8/IF7YgAAAABJRU5ErkJggg==",ds=_({name:"home",components:{albumItem:n,videoDetailItem:h,musicLIstItem:A,hotSearch:w,banner:m,tagItem:u},setup(){const t=f({albumList:[],videoList:[],search:"",tagTree:[]}),c=I(),d=async()=>{try{const a=await r.post("/api-website/open/music/album/list",{data:{albumStatus:1,page:1,rows:8}});t.albumList=a.data.rows}catch(a){console.log(a)}},p=async()=>{try{const a=await r.post("/api-website/open/videoLessonGroup/page",{data:{albumStatus:"PASS",page:1,rows:3}});t.videoList=a.data.rows}catch(a){console.log(a)}},l=(a,o)=>{c.push({name:"searchdetail",params:{search:a,type:o}})},g=async()=>{try{const a=await r.get("/api-website/open/MusicTag/tree",{});t.tagTree=a.data.splice(0,2)}catch(a){console.log(a)}},v=a=>{c.push({name:"searchdetail",params:{search:t.search,tag:a.id,parentTagId:a.parentTagId}})};return x(()=>{d(),p(),g()}),()=>s("div",null,[s(m,null,null),s("div",{class:"bg-white"},[s("div",{class:e.w1200},[s("div",{class:e.section},[s("div",{class:e.albumMoudel},[s("div",{class:e.albumWrap},[s("div",{class:[e.titleWrap,e.hotAlbum]},[s("div",{class:[e.titleWrapLeft]},[s("h4",null,[i("\u70ED\u95E8\u4E13\u8F91")]),s("img",{src:b,class:e.dotImg,alt:""},null)]),s("div",{class:[e.titleWrapMore],onClick:()=>l("","album")},[s("span",null,[i("\u66F4\u591A")]),s("img",{src:W,alt:""},null)])]),s("div",{class:e.albumList},[t.albumList.map(a=>s(n,{detail:a},null))]),s("div",{class:e.line},null)]),s("div",{class:e.albumSearch},[s("div",{class:e.inputWrap},[s("img",{src:V,class:e.searchIcon,onClick:()=>l(t.search,"music"),alt:""},null),s(L,{placeholder:"\u641C\u7D22\u4F60\u60F3\u8981\u7684\u66F2\u76EE",modelValue:t.search,"onUpdate:modelValue":a=>t.search=a},null)]),s("div",{class:e.chioseLineWrap},[t.tagTree.map(a=>s("div",{class:e.chioseRow},[s("p",null,[a.name,i("\uFF1A")]),s("div",{class:[e.chioseTagWrap,"chioseTagWrap"]},[a.children.map(o=>s(u,{class:e.tags,title:o.name,onSearchTag:()=>{v(o)}},null))])]))])])])])])])])}});export{ds as default};
|