PageSourceSearch

https://scentachina.com/_nuxt/index.842ad4fa.js

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

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