PageSourceSearch

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

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

1import{_ as p}from"./BCA-upJL.js";import{_ as l}from"./CkHMdFzM.js";import{_ as u}from"./Cv6h6qwP.js";import{_}from"./BmlE54vy.js";import{_ as h,x as f,P as g}from"./GUc3Dg8m.js";import{p as I}from"./tiCAnA9v.js";import{d as y}from"./B8eWkC2M.js";import{u as v}from"./CobHzPeP.js";import{G as a,H as s,P as n,O as b,_ as $,a8 as x,F as o,M as A}from"./DNhs_Rnl.js";import"./CbTTm0nf.js";import"./hwJ083qD.js";import"./CEHgYnKz.js";import"./CiHrMODY.js";const P=y({mixins:[I],data:()=>({discountAnnouncement:{content:""}}),mounted(){if(this.stationIdIsInvalid)return this.$error(404);this.fetchStores(),this.fetchDiscountAnnouncement()},computed:{...f(v,["stations"]),stationId(){return(this._.provides[g]||this.$route).params.stationId},stationIds(){return this.stations.map(t=>t.id)},stationIdIsInvalid(){return!this.stationIds.includes(this.stationId)},itemsPerPage(){return 16}},methods:{async fetchDiscountAnnouncement(){try{const t=await this.$resources.discountAnnouncement();this.discountAnnouncement=t}catch{}},async fetchStores(){try{const t=await this.$resources.stores({stationId:this.stationId});this.items=t}catch{}}}},"$utdYW5v8Bt"),S={class:"py-6 md:py-15"},k={class:"wrapper space-y-6 md:space-y-15"},B={class:"md:grid md:grid-cols-12 md:gap-6"},w={class:"text-gray-dark border-b border-gray-light pb-6 md:pb-10 md:col-span-8 md:col-start-3"},D={class:"mb-6 text-center md:mb-10 md:text-left"},N={class:"grid grid-cols-2 gap-4 md:grid-cols-4 md:gap-6"};function F(t,e,V,C,E,G){const r=p,c=l,d=u,m=_;return o(),a("div",S,[s("div",k,[s("div",null,[n(r,{title:"特約商店優惠",class:"mb-6 md:mb-10"}),s("div",B,[s("div",w,[s("p",D,b(t.discountAnnouncement.content),1),e[0]||(e[0]=s("ul",null,[s("li",null,"※ 本專案優惠不得與其他方案併行使用。"),s("li",null," ※ 優惠內容依特約商店現場公告為準,特約商店保留修改、變更、取消本活動之權利。 ")],-1))])])]),n(c,{selected:t.stationId,options:t.stations,"route-name":"stores.index","params-name":"stationId"},null,8,["selected","options"]),s("div",N,[(o(!0),a($,null,x(t.pagedItems,i=>(o(),A(d,{key:i.id,info:i,class:"hover:shadow-sm"},null,8,["info"]))),128))]),n(m,{total:t.items.length,"per-page":t.itemsPerPage},null,8,["total","per-page"])])])}const T=h(P,[["render",F]]);export{T 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.