PageSourceSearch

https://www.ecentime.com/_nuxt/CBIxhXGK.js

js ecentime.com collected 2026-10-02 15:08:13 UTC 7,706 bytes, 1 lines download raw bytes

1import{_ as X}from"./N3uxRAHZ.js";import{d as R,u as Y,D as Z,w as tt,c as v,g as et,f as st,j as y,k as V,i as ot,b as r,q as t,m as l,z as i,l as n,F as w,s as k,p as T,t as u,v as C,x as F,a1 as at,e as $,y as x,B as nt,C as lt,a as rt,o as d,r as it,A,_ as dt}from"./Mo-22NSt.js";import{_ as ct}from"./CJwKrBuT.js";import{i as ut}from"./DZI-UzG3.js";import{t as _t,i as pt}from"./BdtGOVPp.js";import{u as mt}from"./CdcJ8ArB.js";import{e as ft}from"./CDubzwRi.js";import{A as gt}from"./CjDxzJE7.js";import{u as vt,T as O,a as P}from"./D4JTG9vd.js";import{u as yt}from"./DvEQn5dA.js";import"./DJWcgzU3.js";const ht={class:"treasures_detail_content"},bt={class:"btn_close"},wt={class:"imgs"},kt={class:"carousel_wrap",id:"carousel"},Tt={class:"embla__container"},Ct=["src","alt"],$t={key:0,class:"carousel-items"},xt=["aria-label","onMouseover"],At=["src","alt"],St={class:"c_desc"},Et={class:"media-obj flex"},Mt=["src","alt"],Lt={class:"flex-1 min-w-0"},Dt={class:"nickname"},It={class:"publishTime"},Bt={class:"treasure_title"},Nt={class:"desc"},zt={class:"c_count"},Rt={class:"google-ad-treasure"},Vt={key:0,class:"text-center download-cta-link"},Ft={class:"google-ad-treasure"},Ot={key:0,class:"maybe_like"},Pt={class:"c-treasures"},Ut={class:"border_div"},jt={class:"c-img text-center"},Ht=["src","alt"],qt={class:"treasure-title"},Gt={class:"treasure-description"},Jt={class:"user-info"},Kt=["src","alt"],Qt={class:"c-like"},Wt=["alt"],Xt={class:"google-ad-treasure"},Yt=R({__name:"[id]",async setup(Zt){let g,S;const h=Y(),U=Z(),j=vt(),E=$(()=>{const e=h.params.id;return Array.isArray(e)?e[0]??"":e??""}),H=$(()=>{const e=h.params.uuid;return Array.isArray(e)?e[0]??"":e??""}),{data:M,error:L}=([g,S]=tt(async()=>rt(`treasure-uuid-${E.value}`,async()=>({detail:await j.fetchDetail(E.value)}))),g=await g,S(),g);if(L.value){const e=L.value,o=mt(e);throw o instanceof O||e instanceof O?v({statusCode:410,statusMessage:"The page cannot be found"}):o instanceof P||e instanceof P?v({statusCode:404,statusMessage:"The page cannot be found"}):v({statusCode:404,statusMessage:"The page cannot be found"})}if(!M.value)throw v({statusCode:404,statusMessage:"The page cannot be found"});const s=M.value.detail,q=$(()=>{const[e=""]=s.imageList;return e});et({htmlAttrs:{lang:st().country.htmlLang},title:`${s.title}|一分钱 eCentime,分享品质生活!`,meta:[{name:"description",content:s.seoDesc},{name:"keywords",content:`${s.title} ${s.creator.nickname??""}`},{property:"og:title",content:s.title},{property:"og:description",content:s.seoDesc},{property:"og:image",content:q.value},{property:"og:type",content:"article"},{property:"og:url",content:`https://www.ecentime.com/${s.creator.uuid}/${s.id}`}],link:yt()});const[G,p]=ft({loop:!0,align:"start",dragFree:!1},[gt({delay:3e3,stopOnMouseEnter:!0,stopOnInteraction:!1})]),D=x(0),I=()=>{p.value&&(D.value=p.value.selectedScrollSnap())},J=e=>{p.value?.scrollTo(e)};y(()=>{p.value&&p.value.on("select",I)}),V(()=>{p.value?.off("select",I)});const b=x(!1),B=()=>{if(typeof document>"u")return;const e=document.getElementById("totop0");e&&(b.value=e.scrollTop>=300)};y(()=>{if(typeof document>"u")return;document.body.style.overflow="hidden",document.getElementById("totop0")?.addEventListener("scroll",B)}),V(()=>{if(typeof document>"u")return;document.body.style.overflow="auto",document.getElementById("totop0")?.removeEventListener("scroll",B)}),ot(()=>h.params.id,()=>{typeof document>"u"||(document.body.style.overflow="hidden",N())});const N=()=>{if(typeof document>"u")return;const e=document.getElementById("totop0");e&&(e.scrollTop=0)},K=()=>{const e=s.creator.uuid||H.value;U.push(`/user/${e}`)},z=x(""),Q=e=>{const c=Date.now()-e,_=c/(3600*1e3),f=c/(1440*60*1e3);return _<1?`${Math.floor(_*60)} minutes ago`:f<1?`${Math.floor(f*24)} hours ago`:`${Math.floor(f)} days ago`};y(()=>{z.value=Q(s.addTime)});const W=R({setup(){return y(()=>{if(typeof window>"u")return;const e=window;try{e.adsbygoogle=e.adsbygoogle??[],e.adsbygoogle.push({}),e.adsbygoogle.push({}),e.adsbygoogle.push({})}catch{}}),()=>null}});return(e,o)=>{const c=X,_=nt,f=lt("safe-html");return d(),r("div",{class:"treasures_detail_bg",id:"totop0",onClick:at(K,["self"])},[o[8]||(o[8]=t("span",{id:"top"},null,-1)),t("div",ht,[t("div",bt,[l(c,{to:`/user/${n(s).creator.uuid}`},{default:i(()=>[...o[0]||(o[0]=[t("img",{src:ct,alt:"close"},null,-1)])]),_:1},8,["to"])]),t("div",wt,[t("div",kt,[t("div",{class:"embla",ref_key:"emblaRef",ref:G},[t("div",Tt,[(d(!0),r(w,null,k(n(s).imageList,(a,m)=>(d(),r("div",{key:`slide-${m}`,class:"embla__slide text-center"},[t("img",{src:a,class:"imglist",alt:n(s).title},null,8,Ct)]))),128))])],512),n(s).imageList.length>1?(d(),r("div",$t,[(d(!0),r(w,null,k(n(s).imageList,(a,m)=>(d(),r("button",{key:`dot-${m}`,type:"button",class:it({active:m===D.value}),"aria-label":`切到第 ${m+1} 张`,onMouseover:te=>J(m)},[t("img",{src:a,alt:a},null,8,At)],42,xt))),128))])):T("",!0)])]),t("div",St,[t("div",Et,[l(c,{to:`/user/${n(s).creator.uuid}`,class:"shrink-0 pr-[10px]"},{default:i(()=>[t("img",{src:n(s).creator.thumbnail,class:"block rounded-full w-[45px] h-[45px]",alt:n(s).creator.nickname,loading:"lazy"},null,8,Mt)]),_:1},8,["to"]),t("div",Lt,[t("span",Dt,u(n(s).creator.nickname),1),t("p",It,u(z.value),1)])]),t("p",Bt,u(n(s).title),1),C(t("div",Nt,null,512),[[f,n(s).desc]])]),t("div",zt,[t("span",null,u(n(s).likeCount)+"点赞",1),t("span",null,u(n(s).viewCount)+"阅读",1)]),t("div",Rt,[l(_,null,{default:i(()=>[...o[1]||(o[1]=[t("ins",{class:"adsbygoogle",style:{display:"block"},"data-ad-client":"ca-pub-4167326061007536","data-ad-slot":"6825485300","data-ad-format":"auto","data-full-width-responsive":"false"},null,-1)])]),_:1})]),n(s).commentCount>3?(d(),r("div",Vt,[l(c,{to:"/download"},{default:i(()=>[...o[2]||(o[2]=[A(" 下载 ",-1),t("span",{class:"app"},"一分钱 APP",-1),A(" 参与查看更多评论 ",-1)])]),_:1})])):T("",!0)]),t("div",Ft,[l(_,null,{default:i(()=>[...o[3]||(o[3]=[t("ins",{class:"adsbygoogle",style:{display:"block"},"data-ad-client":"ca-pub-4167326061007536","data-ad-slot":"6825485300","data-ad-format":"auto","data-full-width-responsive":"false"},null,-1)])]),_:1})]),n(s).treasuresSameTopic.length>0?(d(),r("div",Ot,[o[4]||(o[4]=t("div",{class:"title1 text-center"},"可能喜欢",-1)),t("div",Pt,[(d(!0),r(w,null,k(n(s).treasuresSameTopic,a=>(d(),r("div",{key:a.id},[t("div",Ut,[l(c,{to:`/treasures/${a.id}`},{default:i(()=>
1[t("div",jt,[t("img",{src:a.coverImageUrl,alt:a.title,loading:"lazy"},null,8,Ht)]),t("p",qt,u(a.title),1),t("p",Gt,u(a.desc),1)]),_:2},1032,["to"]),t("div",Jt,[l(c,{to:`/user/${a.creator.uuid}`},{default:i(()=>[t("img",{class:"avatar",src:a.creator.thumbnail,alt:a.creator.nickname,loading:"lazy"},null,8,Kt)]),_:2},1032,["to"]),t("span",null,u(a.creator.nickname),1),t("div",Qt,[t("img",{src:ut,alt:`${a.likeCount} likes`},null,8,Wt),t("span",null,u(a.likeCount),1)])])])]))),128))])])):T("",!0),t("div",Xt,[l(_,null,{default:i(()=>[...o[5]||(o[5]=[t("ins",{class:"adsbygoogle",style:{display:"block"},"data-ad-client":"ca-pub-4167326061007536","data-ad-slot":"6825485300","data-ad-format":"auto","data-full-width-responsive":"false"},null,-1)])]),_:1})]),C(t("button",{type:"button",class:"to_top to_top0",id:"to_top","aria-label":"回到顶部",onClick:N},[...o[6]||(o[6]=[t("img",{src:_t,alt:"回到顶部"},null,-1)])],512),[[F,b.value]]),C(l(c,{class:"c_download c_download0",id:"c_download",to:"/download"},{default:i(()=>[...o[7]||(o[7]=[t("img",{src:pt,alt:"download"},null,-1),A(" 下载手机客户端 ",-1)])]),_:1},512),[[F,b.value]]),l(_,null,{default:i(()=>[l(n(W))]),_:1})])}}}),_e=dt(Yt,[["__scopeId","data-v-9ef92ea3"]]);export{_e 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.