PageSourceSearch

https://www.yunexpress.cn/_nuxt/news.20260923.js

js yunexpress.cn collected 2026-10-02 10:02:32 UTC 784 bytes, 1 lines download raw bytes

1import{q as y,r as i}from"./entry.20260923.js";import{u as f}from"./api.20260923.js";const N=y("news",()=>{const o=i([]),s=i([]),c=i(0),r={news:"P",announcements:"A",notice:"N"};return{newsList:o,total:c,topNewsList:s,fetchTopNews:async()=>{try{const{listNewsConfig:u}=f(),n=await u({StartIndex:0,Count:100,IsTop:1});s.value=n==null?void 0:n.Datas}catch{}s.value??(s.value=[])},fetchData:async(t,e=1,u=0)=>{try{const n=r[t]||t,l=3,h=(e-1)*l,{listNewsConfig:w}=f(),a=await w({ConfigType:n,StartIndex:h,Count:l});o.value=a==null?void 0:a.Datas,c.value=a==null?void 0:a.TotalCount}catch{o.value=[],c.value=0}o.value??(o.value=[])},fetchDetail:async t=>{try{const{newsDetailInfo:e}=f();return await e(t)??{}}catch{}},getCategoryName:t=>Object.keys(r).find(e=>r[e]===t)}});export{N as u};

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.