PageSourceSearch

https://www.jiabaida.com/assets/js/NewsView-BfJnggv0.js

js jiabaida.com collected 2026-09-24 13:21:27 UTC 2,348 bytes, 1 lines download raw bytes

1import{_ as F}from"./BreadCrumbs-Bzy6rz65.js";import{_ as L}from"./arrow-right-CKfddeVH.js";import{d as U,r as n,o as A,aQ as k,aV as G,aT as Q,U as C,a_ as I,aU as N,a as o,c as l,b as a,t as i,as as R,g as $,aG as V,F as b,e as T,n as j,u as v,ap as H,at as J,au as K,aq as O,p as P,h as W,_ as X}from"./index-BD80-i3f.js";const Y=u=>(P("data-v-b9d3831e"),u=u(),W(),u),Z={class:"news-view"},ee={class:"title"},te={key:0,class:"news-content"},ae={class:"tab_wrapper"},se=["onClick"],oe={class:"news-list"},ne={alt:""},le={class:"news-title ellipsis"},ie={class:"date"},ce=Y(()=>a("img",{src:L,alt:""},null,-1)),re=U({__name:"NewsView",setup(u){let c=n([]);const d=n(0),y=n(6),m=n(!0),w=n([]),_=n(0),f=n(!1);A(()=>{z()});const p=(e=!0)=>{e&&(d.value=0,c.value=[]),k.get(`/news/center/list?pageNo=${d.value}&pageSize=${y.value}&typeId=${_.value}`).then(s=>{e?c.value=s.data.pageData:c.value=[...c.value,...s.data.pageData],d.value+=y.value,m.value=d.value<s.data.total})},z=()=>{m.value=!0,f.value=!0,k.get(`/news/center/typeAll/${G.value}`).then(e=>{w.value=e.data,_.value=w.value[0].id}).then(()=>{p(!0)})},B=e=>{_.value=e,p(!0)},D=()=>{p(!1)},r=Q();return C(()=>r.query.active,()=>{if(r.query.active){const e=r.query.active;setTimeout(()=>{var s;(s=document.getElementById(e))==null||s.scrollIntoView()})}},{immediate:!0}),C(()=>r.name,(e,s)=>{r.name==="news"&&f.value&&s!=="news"&&p(!0)}),(e,s)=>{const S=F,q=I("router-link"),x=I("router-view"),M=N("lazy"),E=N("slide-in");return o(),l("div",Z,[a("div",{class:"header",style:R({height:e.$route.name==="news"?"370px":"450px"})},[a("div",ee,i(e.$t("194")),1)],4),$(S),e.$route.name==="news"?V((o(),l("section",te,[a("div",ae,[(o(!0),l(b,null,T(v(w),t=>(o(),l("div",{class:j(["tab_box",{active:v(_)===t.id}]),key:t,onClick:h=>B(t.id)},i(t.name),11,se))),128))]),a("ul",oe,[(o(!0),l(b,null,T(v(c),t=>{var h,g;return o(),l("li",{key:t.id},[$(q,{to:"/news/detail/"+t.id},{default:H(()=>[V(a("img",ne,null,512),[[M,t.img]]),a("title",le,i(t.title),1),a("span",null,i(t.summary),1)]),_:2},1032,["to"]),a("i",ie,i((g=(h=t.createTime)==null?void 0:h.split(" "))==null?void 0:g[0]),1)])}),128))]),v(m)?(o(),l("div",{key:0,class:"return",onClick:D},[a("span",null,[J(i(e.$t("195"))+" ",1),ce])])):K("",!0)])),[[E]]):(o(),O(x,{key:1}))])}}}),pe=X(re,[["__scopeId","data-v-b9d3831e"]]);export{pe 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.