1import{d as V,aq as P,u as R,b as T,r as j,g as z,e as E,ao as L,C as M,i as u,ar as U,ap as F,c as H,o as W,k as c,j as s,w as n,_ as Y,l as a,aW as $,m as x,t as f,aV as G,aY as J,q as K,aA as O,A as Q,B as X,s as Z}from"./CSSzMge9.js";import{_ as tt}from"./C8D69phb.js";import"./BsqIMptB.js";const et=r=>(Q("data-v-87e733d6"),r=r(),X(),r),at={class:"search-tag"},st={class:"w-1344px mx-auto"},ot={class:"h-50 w-full py-6 mt-14"},nt=et(()=>c("span",{class:"text-4! text-sm"},"/",-1)),ct={class:"m-0 mt-46px text-color-1 font-bold leading-normal text-9"},rt={class:"con-area mt-6 pt-6 pb-12 flex items-center justify-center"},lt=V({__name:"search",async setup(r){let _,d;const{payload:i}=P(),{t:w,locale:b}=R(),v=T(),y=j(1),N=z(!0);E({title:"èµè®¯ä¸å¿",meta:()=>{const e={subtitle:"èµè®¯ä¸å¿",url:N+"/latest-news"};return K(e,w)}});const{public:{apiBase:S}}=L(),B=M(),l=u(()=>{var t;return((t=B.query)==null?void 0:t.tag)||""}),o=U({page:1,limit:8}),p=u(()=>({document_type:3,limit:o.limit,language:y.value,order:"desc",sort:"release_time",offset:(o.page-1)*o.limit,tag:l.value}));[_,d]=F(()=>O("/v1/document",{watch:[b,p],headers:{"accept-language":"zh-CN"},query:p,key:"latestNewsSearchData",dedupe:"defer",baseURL:S,transform(t){const{data:e}=t;return window.scrollTo({top:0,behavior:"smooth"}),e.total=Number(e.total??0),e}},"$EThcibnv4i")),await _,d();const C=u(()=>{var t;return((t=i.data.latestNewsSearchData)==null?void 0:t.list)??[]});return(t,e)=>{var h,g;const m=$,I=Y,k=G,q=tt,D=J;return W(),H("div",at,[c("div",st,[c("div",ot,[s(k,null,{separator:n(()=>[nt]),default:n(()=>[s(I,{to:a(v)("/latest-news")},{default:n(()=>[s(m,{class:"text-4 text-sm"},{default:n(()=>[x(" èµè®¯ä¸å¿ ")]),_:1})]),_:1},8,["to"]),s(m,{class:"text-4! text-sm"},{default:n(()=>[x(f(a(l)),1)]),_:1})]),_:1}),c("h1",ct," #"+f(a(l)),1)]),s(q,{data:a(C)},null,8,["data"]),c("div",rt,[s(D,{current:a(o).page,"onUpdate:current":e[0]||(e[0]=A=>a(o).page=A),total:((g=(h=a(i).data)==null?void 0:h.latestNewsSearchData)==null?void 0:g.total)??0,class:"mx-auto","default-page-size":8},null,8,["current","total"])])])])}}}),it=Z(lt,[["__scopeId","data-v-87e733d6"]]);export{it as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.