PageSourceSearch

https://tholiday.thsrc.com.tw/_nuxt/DdxIUU3D.js

js thsrc.com.tw collected 2026-09-24 08:56:57 UTC 1,963 bytes, 1 lines download raw bytes

1import{_ as h}from"./BCA-upJL.js";import{_ as I}from"./CkHMdFzM.js";import{_ as k}from"./CbTTm0nf.js";import{_ as w}from"./BmlE54vy.js";import{_ as x,P as b,B as u}from"./GUc3Dg8m.js";import v from"./CSee7VDO.js";import{d as $}from"./B8eWkC2M.js";import{p as A}from"./tiCAnA9v.js";import{G as g,H as s,P as c,_ as B,a8 as N,W as P,F as _,M as R,N as O,O as f}from"./DNhs_Rnl.js";import"./hwJ083qD.js";import"./CEHgYnKz.js";import"./CiHrMODY.js";const S=$({components:{IconArrowRight:v},mixins:[A],data:()=>({categories:[],items:[]}),async asyncData({$resources:e,$404:d,$router:l}){let t,n;const o=l.currentRoute.value.params.categoryId||"",r=([t,n]=u(()=>e.news.categories()),t=await t,n(),t),i=r.map(m=>m.id);if(o&&!i.includes(o))return d();const p=([t,n]=u(()=>e.news.list({categoryId:o||void 0})),t=await t,n(),t);return{categoryId:o,categories:r,items:p}},computed:{menuSelectOptions(){return[{name:"全部公告",id:""},...this.categories]}}},"$IILNdmKbOF"),C={class:"news py-6 md:pt-15 md:pb-19"},F={class:"wrapper space-y-6 md:space-y-15"},D={class:"space-y-3 md:space-y-4"},L={class:"block subtitle text-black"},V={class:"text-gray-dark body-sm"},E={class:"flex-shrink-0 ml-3"};function G(e,d,l,t,n,o){const r=h,i=I,p=P("IconArrowRight"),m=k,y=w;return _(),g("section",C,[s("div",F,[c(r,{title:"最新消息"}),c(i,{selected:(e._.provides[b]||e.$route).params.categoryId,options:e.menuSelectOptions,"route-name":"news.index"},null,8,["selected","options"]),s("div",D,[(_(!0),g(B,null,N(e.pagedItems,a=>(_(),R(m,{key:a.id,to:{name:"news.show",params:{id:a.id,categoryId:a.category.id}},class:"card news-link"},{default:O(()=>[s("div",null,[s("span",L,f(a.title),1),s("span",V,f(e.$date(a.publishedAt,"day")),1)]),s("span",E,[c(p,{class:"icon",filled:""})])]),_:2},1032,["to"]))),128))]),c(y,{total:e.items.length,"per-page":e.itemsPerPage},null,8,["total","per-page"])])])}const Y=x(S,[["render",G],["__scopeId","data-v-68cee0ac"]]);export{Y 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.