import{d as s,s as a,p as e,e as t,o as n,f as o,P as l,g as i,F as d,j as c,h as r,Y as p,U as u,V as m,I as _,A as g,O as h,_ as v}from"./index_1730355973.js";import{_ as k}from"./index_173035597333.js";const x={class:"page"},I={class:"page-body"},b=["onClick"],f={class:"btn-link"},y=v(s({__name:"index",setup(s){const v=a(),y=e(),j=t((()=>[...y.announcementData.sort(((s,a)=>s.sort-a.sort))])),D=()=>{v.push({path:"/"})};return(s,a)=>{const e=k,t=_,y=g;return n(),o("div",x,[l(e,{title:"Promoções",handleBack:D}),i("div",I,[(n(!0),o(d,null,c(j.value,((s,a)=>(n(),o("div",{class:"img-box",key:a,onClick:a=>(s=>{u.setSessionStorage(m.AD_ID,s.adId),v.push({path:"/details"})})(s)},[l(t,{src:r(h)(s.displayImg)},null,8,["src"]),i("div",f,[i("div",null,p(s.title),1),l(y,{type:"local",width:".8rem",src:"base/icon_gengduo.png"})])],8,b)))),128))])])}}}),[["__scopeId","data-v-185593c2"]]);export{y as default};
