PageSourceSearch

https://www.gdadri.com/_nuxt/Cru3sGHk.js

js gdadri.com collected 2026-10-04 04:09:38 UTC 3,322 bytes, 1 lines download raw bytes

1import{_ as j}from"./CCGuineK.js";import{u as S}from"./BdvGpBQ3.js";import{u as N}from"./ZV0W_Kid.js";import{_ as $,f as L,g as P,r as y,h as A,i as B,k as E,y as F,c as s,l as c,m as i,o,b as R,w as V,a as r,C as _,t as p,F as q,n as O}from"./As61CBod.js";const U={key:0,class:"project-swiper-container overflow-hidden px-2 sm:px-0"},z={key:0,class:"w-full"},M=["onClick"],T={class:"absolute bottom-0 left-0 p-6 text-white"},G={key:0,class:"text-xl mb-3 group-hover:translate-y-0 translate-y-2 transition-transform duration-300"},H={class:"text-sm opacity-80 group-hover:opacity-100 transition-opacity duration-300"},J={key:1,class:"flex flex-col gap-2.5"},K=["onClick"],Q={class:"absolute bottom-0 left-0 p-6 text-white"},W={key:0,class:"text-xl mb-3 group-hover:translate-y-0 translate-y-2 transition-transform duration-300"},X={class:"text-sm opacity-80 group-hover:opacity-100 transition-opacity duration-300"},Y={__name:"ProjectSwiper2",props:{autoplayInterval:{type:Number,default:5e3}},emits:["item-click"],setup(Z,{emit:v}){const{isPC:h}=L(),{getProShowData:f}=S(),{getDictData:b}=N(),{lang:d}=P(),n=y([]),m=y([]),x=async()=>{try{const a=await b("projectShowType");m.value=a.data||[];const e=await f(),t=(e.data?[...e.data]:[]).map((l,D)=>({...l,typeLabel:m.value.find(I=>I.value===l.type)?.label||""}));t.length>0?n.value=[...t,...t]:n.value=[]}catch(a){console.error("获取项目数据失败:",a),n.value=[]}},w=A(),k=B(),C=v,g=a=>{C("item-click");const{edit:e,token:u,...t}=k.query;w.push({path:"/projectFilter",query:{pid:a.id,edit:e,token:u}})};return E(()=>d.value,async(a,e)=>{a!==e&&await x()},{immediate:!0}),F(()=>{}),(a,e)=>{const u=j;return i(n).length?(o(),s("div",U,[i(h)?(o(),s("div",z,[R(u,{loop:"","auto-scroll":{delay:0,speed:1,stopOnMouseEnter:!0,stopOnInteraction:!1},"wheel-gestures":"",items:i(n),ui:{container:"w-full",wrapper:"flex flex-nowrap",item:"flex-shrink-0 basis-1/5 h-[240px] mx-1 ps-0",pagination:"absolute bottom-4 left-0 right-0 flex justify-center gap-2",paginationItem:"w-2 h-2 rounded-full bg-white/50 hover:bg-white transition-colors",paginationItemActive:"bg-white"}},{default:V(({item:t})=>[t?.cover?.url?(o(),s("div",{key:0,class:"relative group hover:translate-y-[-5px] transition-transform duration-300 w-full h-full",onClick:l=>g(t)},[r("div",{class:"absolute inset-0 bg-cover bg-center",style:_({backgroundImage:`url(${t.cover.url})`})},null,4),e[0]||(e[0]=r("div",{class:"absolute inset-0 bg-radial-gradient(115.97% 104.64% at 100% 0%,rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.69) 100%)"},null,-1)),r("div",T,[i(d)=="CN"?(o(),s("h3",G,p(t.typeLabel),1)):c("",!0),r("p",H,p(t.type),1)])],8,M)):c("",!0)]),_:1},8,["items"])])):(o(),s("div",J,[a.item.cover?.url?(o(!0),s(q,{key:0},O(i(n),(t,l)=>(o(),s("div",{onClick:D=>g(t),key:l,class:"relative group hover:translate-y-[-5px] transition-transform duration-300 w-full h-[280px]"},[r("div",{class:"absolute inset-0 bg-cover bg-center",style:_({backgroundImage:`url(${t.cover.url})`})},null,4),e[1]||(e[1]=r("div",{class:"absolute inset-0 bg-radial-gradient(115.97% 104.64% at 100% 0%,rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.69) 100%)"},null,-1)),r("div",Q,[i(d)=="CN"?(o(),s("h3",W,p(t.typeLabel),1)):c("",!0),r("p",X,p(t.type),1)])],8,K))),128)):c("",!0)]))])):c("",!0)}}},ot=$(Y,[["__scopeId","data-v-3bc7fa2e"]]);export{ot 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.