1import{d as x,r as n,o as C,P as N,E as r,v as c,x as d,y as p,F as m,G as B,R as D,z as L,I}from"./BMN2TF57.js";import{d as E}from"./D9eyxN6n.js";import{_ as F}from"./DlAUqK2U.js";import"./D-fNHCiE.js";const M={key:0,class:"newsTitle"},V={class:"newsListBox"},z=["onClick"],G=["href"],P={class:"text"},R=x({__name:"newsTitle",props:["alias","data"],emits:["goToNewsDetail"],setup(k,{emit:y}){const _=k;n(0),n(null),n([]);const l=n([]),T=y;function g(t,e,a,o,s,i){T("goToNewsDetail",t,e,a,o,s,i)}return C(async()=>{var e;const[t]=await N.news.getNewsList({channelCode:_.alias});l.value=((e=t==null?void 0:t.list)==null?void 0:e.slice(0,7))||[]}),(t,e)=>{var a,o;return((a=r(l))==null?void 0:a.length)>0?(c(),d("div",M,[p("div",V,[(c(!0),d(m,null,B((o=r(l))==null?void 0:o.slice(0,7),(s,i)=>(c(),d("div",{class:"newsItem",key:i,onClick:S=>{var u,f,w,h,v;return g((u=s.data)==null?void 0:u.id,(f=s.data)==null?void 0:f.createtime,(w=s.data)==null?void 0:w.contentType,(h=s.data)==null?void 0:h.linkType,(v=s.data)==null?void 0:v.url,_.alias)},style:{}},[p("a",{onClick:e[0]||(e[0]=D(()=>{},["prevent"])),href:r(E)(s==null?void 0:s.data)},[p("div",P,L(s==null?void 0:s.data.title),1)],8,G)],8,z))),128))])])):I("",!0)}}}),q=F(R,[["__scopeId","data-v-60577439"]]);export{q 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.