PageSourceSearch

https://scentachina.com/_nuxt/index.44e0b1db.js

js scentachina.com collected 2026-10-05 19:03:33 UTC 2,222 bytes, 1 lines download raw bytes

1import{_ as F}from"./Head.0f51f6f8.js";import{_ as R,a as H,v as G}from"./el-loading.21c18b8a.js";import{u as J,F as K,f as M,L as U,K as W,I as D,_ as X,v as Y,J as $}from"./entry.43a54884.js";import{E as j,a as O}from"./el-row.9df9d10d.js";import{_ as P}from"./Def.d124b879.js";import{r as E,a as x,n as Q,ab as L,b as Z,z as V,E as u,_,Y as d,D as o,u as s,S as tt,a1 as et,X as f,V as st,ad as ot,U as at,F as i,a0 as v}from"./swiper-vue.fd5e99e0.js";const nt={class:"news"},_t=i("h3",null,"News",-1),it={class:"imgBox"},ct={class:"info"},lt={class:"item-title two-line-text"},pt={class:"two-line-text"},rt={key:0,class:"pageBox"},vt={__name:"index",async setup(ut){let a,l;J({title:"News"});const h=K(),t=E(h.query),w=x(40),p=x(!1),N=x(0),c=E([]),k=M.throttle(async()=>{p.value=!0;const{data:e={},pending:m}=await U({...t,pageSize:(t==null?void 0:t.pageSize)>9?9:t==null?void 0:t.pageSize}),{data:g=[],dataCount:y,pageNo:r}=e.value;r&&(t.pageNo=r,N.value=y),c.splice(0,c.length,...g),await Q(),p.value=m.value},300),S=e=>{t.pageNo=e},z=([a,l]=L(()=>W()),a=await a,l(),a);return t.pageNo=(t==null?void 0:t.pageNo)||1,[a,l]=L(()=>k()),await a,l(),Z(()=>h.query,async(e,m)=>{t.pageNo=e==null?void 0:e.pageNo,t.typeId=e==null?void 0:e.typeId,k()}),V(()=>{window.innerWidth<=1200&&(w.value=15)}),(e,m)=>{const g=F,y=R,r=X,B=Y,C=O,b=j,A=$,I=H,T=P,q=G;return o(),u("div",nt,[_(g,{title:"News"}),_(T,null,{default:d(()=>[_t,_(y,{urlName:"news","type-list":s(z)},null,8,["type-list"]),tt((o(),u("div",{class:"lodingLayer",style:et({"min-height":s(p)?"400px":"auto"})},[s(D)(s(c))?(o(),f(b,{key:0,gutter:s(w),class:"news-list"},{default:d(()=>[(o(!0),u(st,null,ot(s(c),n=>(o(),f(C,{span:8,xs:12,sm:12,md:8,lg:8,xl:8,key:n.id},{default:d(()=>[_(B,{to:{name:"news-details",query:{id:n.id}},class:"item"},{default:d(()=>[i("span",it,[_(r,{src:n.avatar,alt:""},null,8,["src"]),i("i",null,v(n.createTime),1)]),i("strong",ct,[i("em",lt,v(n.title),1),i("small",pt,v(n.overview),1)])]),_:2},1032,["to"])]),_:2},1024))),128))]),_:1},8,["gutter"])):(o(),f(A,{key:1,"image-size":200}))],4)),[[q,s(p)]]),s(D)(s(c))?(o(),u("div",rt,[_(I,{total:Number(s(N)||0),onChanged:S},null,8,["total"])])):at("",!0)]),_:1})])}}};export{vt 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.