PageSourceSearch

https://www.hakkaradio.org.tw/_nuxt/BdkmCrbA.js

js hakkaradio.org.tw collected 2026-10-02 11:05:38 UTC 1,826 bytes, 1 lines download raw bytes

1import{_ as $}from"./BVT3q34S.js";import{_ as N}from"./BLbKje2D.js";import{_ as P}from"./BWyMP1SS.js";import{d as A,u as B,y as h,f as V,j as m,k as d,t as j,l as t,F as v,r as y,n as I,m as L,v as u,c as S,a as U,g as D,i as c,q as g,p as E,_ as F}from"./BS7LkE0P.js";import{u as q}from"./DzGQrUe6.js";const z={class:"container"},J={class:"list"},M={class:"item"},O={class:"item"},R=A({__name:"[page]",async setup(T){let e,r;const f=B(),s=u(()=>+(f.params?.accentId||1)),i=u(()=>+(f.params?.page||1)),k=u(()=>`accents-djs-${s.value}-${i.value}`),{data:x}=([e,r]=h(()=>q()),e=await e,r(),e),p=u(()=>{const a=x.value.filter(o=>+o.id==+s.value);if(a.length===0)throw S({statusCode:404});return a[0]}),{data:n}=([e,r]=h(async()=>U(k.value,async()=>{const a=await $fetch.raw(D("/api/dj/index"),{params:{accent_id:s.value,page:i.value}}),o=a.headers.get("x-page"),l=o?JSON.parse(o):{current:1,last:1,total_item_count:1};return{list:a._data,page:l}},{watch:[s,i]})),e=await e,r(),e);return V({title:p.value.name+"主持人 | 講客廣播電臺",ogTitle:p.value.name+"主持人 | 講客廣播電臺"}),(a,o)=>{const l=$,w=N,C=P;return c(),m("div",z,[d("h1",null,j(t(p).name)+"主持人",1),d("div",J,[t(n)?(c(!0),m(v,{key:0},y(t(n).list,_=>(c(),m("div",M,[g(w,{itemscope:"",itemtype:"https://schema.org/Person",to:`/dj/view/id/${_.id}`},{default:E(()=>[g(l,{img:`/utils/image?url=${_.images}`,title:_.name,circle:""},null,8,["img","title"])]),_:2},1032,["to"])]))),256)):(c(),m(v,{key:1},y(18,_=>d("div",O,[g(l,{loading:!0,circle:""})])),64))]),t(n)?.page&&t(n)?.page.last>1?(c(),I(C,{key:0,linkUrl:`/program/dj/${t(s)}/page/[page]`,currPage:t(i),"total-items":t(n).page.total_item_count,"items-per-page":18},null,8,["linkUrl","currPage","total-items"])):L("",!0)])}}}),W=F(R,[["__scopeId","data-v-9a078a5f"]]);export{W 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.