PageSourceSearch

https://www.catkissfish.com/catkissfish/js/likeList-4cfead85.js

js catkissfish.com collected 2026-09-24 20:03:38 UTC 1,828 bytes, 1 lines download raw bytes

1import{_ as g}from"./item-54029861.js";import{_ as v,v as w,q as k}from"./entry-454082cd.js";import"./icon-4ed993c7.js";import{k as L,r as b,a as B,F as I,q as C,Y as l,$ as c,O as d,P as f,Q as s,H as P,ai as S,a1 as y,I as r,X as h,ag as D,ah as $}from"./swiper-vue-51631b96.js";import{P as E}from"./index-3a6c53ed.js";import{c as R}from"./product-7ffb5e5b.js";const x=L({name:"LikeList",components:{ProductItem:E,ArrowRightBold:w},props:{scrollLeft:{type:Number,default:1418}},emits:["toDesign"],setup(e,{emit:n}){const t=b({productList:[],params:{pageSize:15,state:1},listElem:B(),step:0,isShowBtnIndex:0}),p=o=>{t.step+=o;const a=e.scrollLeft*t.step;t.listElem.scrollTo({left:a,behavior:"smooth"})},_=async()=>{const o=await R(t.params);t.productList=o.data,t.isShowBtnIndex=Math.ceil(o.data.length/5||0)-1},m=o=>{n("toDesign",o)};return _(),{...I(t),handlePageChange:p,toDesign:m}}}),A=e=>(D("data-v-4b2b2ff8"),e=e(),$(),e),N={class:"like-list"},T=A(()=>s("div",{class:"title"},[s("i",{class:"iconfont icon-category-hot-nor"}),s("span",null,"You may also like")],-1)),q={class:"wrapper-product"},F={ref:"listElem",class:"product-list"};function V(e,n,t,p,_,m){const o=g,a=C("ArrowRightBold"),u=k;return l((d(),f("div",N,[T,s("div",q,[s("div",F,[(d(!0),f(P,null,S(e.productList,i=>(d(),y(o,{key:i.id,"product-info":i,"open-blank":"",onToDesign:e.toDesign},null,8,["product-info","onToDesign"]))),128))],512),l(s("div",{class:"slide slide-prev",onClick:n[0]||(n[0]=i=>e.handlePageChange(-1))},[r(u,null,{default:h(()=>[r(a)]),_:1})],512),[[c,e.step]]),l(s("div",{class:"slide slide-next",onClick:n[1]||(n[1]=i=>e.handlePageChange(1))},[r(u,null,{default:h(()=>[r(a)]),_:1})],512),[[c,e.isShowBtnIndex>e.step]])])],512)),[[c,e.productList.length]])}const X=v(x,[["render",V],["__scopeId","data-v-4b2b2ff8"]]);export{X as _};

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.