PageSourceSearch

https://godguess.com/_nuxt/BGObz3jt.js

js godguess.com collected 2026-10-08 09:54:02 UTC 2,577 bytes, 1 lines download raw bytes

1import{_ as v}from"./COcauKXt.js";import{_ as h}from"./BWWt48KB.js";import{_ as y,u as w,V as k,aB as B,W as C,a4 as j,c as l,b as u,i as n,a as e,F as g,r as L,j as c,v as S,aa as V,o as r,t as d,a8 as $,x as I}from"./CZFxAyXy.js";import{c as N}from"./2w_jSEOE.js";const P={class:"max-w-8xl mx-auto w-full min-h-base py-4"},T={class:"grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 2xl:grid-cols-6 gap-2 lg:gap-3"},z=["onClick"],D={class:"relative w-full aspect-square bg-neutral overflow-hidden"},F=["src","alt"],G={key:1,class:"absolute top-1.5 right-1.5 bg-error/90 text-white text-xs px-1.5 py-0.5 rounded-full font-semibold"},W={class:"p-2.5 flex flex-col flex-1 justify-between gap-2"},q={class:"font-bold text-sm md:text-base line-clamp-2 mb-2"},A={class:"flex items-center gap-1"},E={class:"text-sm lg:text-base font-bold"},H={key:0,class:"text-center py-16"},M={__name:"index",setup(R){w({title:"神票點數中心"});const _=k(),i=S(!1),{isAtBottom:f}=B();C(()=>{m()});const t=V({arr:[],page:1,count:20,total:0});async function m(o){i.value=!0;try{const a=await N({page:t.page,count:t.count});a.success&&(t.arr=[...t.arr,...a.data],t.total=a.total)}finally{i.value=!1}}j(f,async o=>{o&&!i.value&&t.arr.length<t.total&&(t.page++,await m())});const x=o=>{I(`/payment/mall/${o.id}`)};return(o,a)=>{const p=v,b=h;return r(),l(g,null,[u(p,{loading:n(i)},null,8,["loading"]),e("div",P,[a[1]||(a[1]=e("div",{class:"flex justify-between items-center mb-6"},[e("div",{class:""},[e("h1",{class:"text-2xl lg:text-3xl font-bold text-base-content mb-2"},"神票點數中心"),e("p",{class:"text-base-content/70"},"使用神票兌換精美禮品")])],-1)),e("ul",T,[(r(!0),l(g,null,L(n(t).arr,s=>(r(),l("li",{key:s.id,onClick:U=>x(s),class:"bg-base-200 hover:bg-base-300 text-base-content rounded-lg overflow-hidden border border-neutral/80 transition-all duration-200 flex flex-col group hover:cursor-pointer"},[e("div",D,[s.coverImage?(r(),l("img",{key:0,src:s.coverImage.fileUrl,alt:s.name,class:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-200"},null,8,F)):c("",!0),s.stock<=5?(r(),l("div",G," 僅剩 "+d(s.stock)+" 件 ",1)):c("",!0)]),e("div",W,[e("h3",q,d(s.name),1),e("div",A,[u(b,{class:"size-4 lg:size-5 shrink-0"}),e("span",E,d(o.$money(new(n($))(s.price).mul(n(_).gameCoinRate))),1)])])],8,z))),128))]),n(t).arr.length===0&&!n(i)?(r(),l("div",H,[...a[0]||(a[0]=[e("p",{class:"text-lg text-base-content/70"},"目前沒有禮品",-1)])])):c("",!0)])],64)}}},X=y(M,[["__scopeId","data-v-e6c1deb4"]]);export{X 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.