PageSourceSearch

https://www.ftu.org.hk/_nuxt/DK1IydXm.js

js ftu.org.hk collected 2026-10-02 17:35:35 UTC 32,783 bytes, 1 lines download raw bytes

1import{_ as oe}from"./gpKywMoy.js";import{_ as Ze}from"./BpXl7Utn.js";import{S as Te}from"./BvJO-9OF.js";import{d as ue,i as w,c as W,S as Ae,k as de,ao as Se,l as r,o as a,m as e,y as g,F as D,x as N,n as z,e as o,al as De,s as O,Q as Ne,_ as he,f as Fe,a5 as Re,U as ze,p as m,q as _,t as i,b as ne,A as S,V as Pe,ap as ie}from"./rNMPrltl.js";import{_ as $e}from"./6PUj6WHy.js";import{_ as qe}from"./CDaRPkbO.js";import{_ as me}from"./DnzarRWK.js";import{c as Ue,u as je,b as Be,a as Oe}from"./Bg3951aB.js";import{S as le,a as Q}from"./WGw-pFz3.js";import{P as ae}from"./D0etmG_Y.js";import{A as re}from"./CERpelaD.js";import{u as Ee}from"./boj7xwiX.js";import{u as Ge}from"./Czokxq89.js";import{I as Xe}from"./CROPNIdg.js";import{c as Qe}from"./DPr6_f69.js";import{u as We}from"./BdMKc64D.js";import{u as Ke}from"./CUF8NFeV.js";import"./DFuLfMiF.js";import"./kjC7cIBR.js";import"./uvhtZEID.js";import"./DuNvpYXI.js";import"./DwZmDrvN.js";import"./x_zPib0z.js";import"./BKcCHWMY.js";import"./C43kgiy-.js";import"./CXXDZoq4.js";import"./ClQADFz3.js";import"./D31D6CrV.js";import"./DIsFLZxp.js";const Je={key:0,class:"dots-container"},Ye=["onClick"],et=ue({__name:"SlideCard",props:{items:{},showDots:{type:Boolean,default:!0},gap:{default:20},cardRatio:{default:.3},getItemKey:{type:Function,default:(M,C)=>C}},setup(M){const C=M,x=w(),p=w(0),l=w(0),b=w(0),H=w(0),I=w(0),L=w(!1),A=()=>{if(C.items.length===0)return 0;const u=Math.ceil((C.items.length-2)/2)+1;return Math.max(1,u)},E=u=>u<=0?0:Math.min(u*2,C.items.length-1),G=()=>E(p.value),F=W(()=>{if(!H.value||!I.value)return[];const u=A();return Array(u).fill(0).map((T,v)=>({active:v===p.value}))}),R=()=>{if(!x.value)return;const u=x.value.getBoundingClientRect();u.width>0&&(H.value=u.width,I.value=H.value*C.cardRatio,Z())},Z=()=>{if(!H.value||!I.value)return;const u=G();b.value=-u*(I.value+C.gap)},P=u=>{l.value=u.touches[0].clientX,L.value=!0},$=u=>{if(!L.value)return;const v=u.changedTouches[0].clientX-l.value;Math.abs(v)>50&&(v>0&&p.value>0?p.value--:v<0&&p.value<A()-1&&p.value++,Z()),L.value=!1},q=u=>{p.value=u,Z()};Ae(()=>C.items,()=>{Ne(()=>{R()})});let V=null;return de(()=>{R(),x.value&&typeof ResizeObserver<"u"&&(V=new ResizeObserver(u=>{for(const T of u){const{width:v}=T.contentRect;v>0&&(H.value=v,I.value=H.value*C.cardRatio,Z())}}),V.observe(x.value))}),Se(()=>{V&&(V.disconnect(),V=null)}),(u,T)=>(a(),r("div",{ref_key:"containerRef",ref:x,class:"slide-card-container"},[e("div",{class:"slide-card-wrapper",style:z({transform:`translateX(${o(b)}px)`}),onTouchstart:P,onTouchend:$},[(a(!0),r(D,null,N(M.items,(v,k)=>(a(),r("div",{class:"slide-card-item",key:M.getItemKey(v,k),style:z({width:o(I)+"px",marginRight:M.gap+"px"})},[De(u.$slots,"content",{item:v,index:k},void 0,!0)],4))),128))],36),M.showDots&&M.items.length>1?(a(),r("div",Je,[(a(!0),r(D,null,N(o(F),(v,k)=>(a(),r("div",{key:k,class:O(["dot",{"dot-active":v.active}]),onClick:K=>q(k)},null,10,Ye))),128))])):g("",!0)],512))}}),tt=he(et,[["__scopeId","data-v-3ba6f746"]]),st=""+new URL("IMG_4987-1.CkKjt8vC.jpg",import.meta.url).href,ot=""+new URL("DSC03277.DyXHiPGE.jpg",import.meta.url).href,ce="data:image/svg+xml,%3csvg%20width='16'%20height='17'%20viewBox='0%200%2016%2017'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='path-1-inside-1_11139_48545'%20fill='white'%3e%3cpath%20d='M12%201.5C12.5523%201.5%2013%201.94772%2013%202.5V4.5C13%206.3194%2011.7853%207.85512%2010.1226%208.34035C10.0508%208.36131%2010%208.42632%2010%208.50113C10%208.5758%2010.0506%208.64072%2010.1223%208.6618C11.8057%209.15723%2013.0249%2010.7301%2012.9902%2012.5752L12.9531%2014.5186C12.9428%2015.0634%2012.498%2015.5%2011.9531%2015.5H4.08594C3.52643%2015.4999%203.07556%2015.0408%203.08594%2014.4814L3.125%2012.4248C3.15786%2010.6852%204.29796%209.22266%205.86524%208.70316C5.94463%208.67684%206%208.60365%206%208.52001C6%208.43408%205.94164%208.35949%205.85927%208.33503C4.20589%207.84397%203%206.31279%203%204.5V2.5C3%201.94772%203.44772%201.5%204%201.5H12Z'/%3e%3c/mask%3e%3cpath%20d='M12%201.5V0.2V1.5ZM12.9902%2012.5752L14.29%2012.6L14.29%2012.5996L12.9902%2012.5752ZM12.9531%2014.5186L11.6534%2014.4937L11.6534%2014.494L12.9531%2014.5186ZM11.9531%2015.5V14.2V15.5ZM4.08594%2015.5L4.0858%2016.8H4.08594V15.5ZM3.08594%2014.4814L1.78617%2014.4568L1.78616%2014.4573L3.08594%2014.4814ZM3.125%2012.4248L4.42477%2012.4495L4.42477%2012.4494L3.125%2012.4248ZM4%201.5V0.2V1.5ZM5.85927%208.33503L5.48915%209.58123L5.85927%208.33503ZM5.86524%208.70316L5.45621%207.46918L5.86524%208.70316ZM10.1223%208.6618L10.4893%207.41469L10.1223%208.6618ZM10.1226%208.34035L10.4869%209.58829L10.1226%208.34035ZM12%201.5V2.8C11.8343%202.8%2011.7%202.66569%2011.7%202.5H13H14.3C14.3%201.22974%2013.2703%200.2%2012%200.2V1.5ZM13%202.5H11.7V4.5H13H14.3V2.5H13ZM13%204.5H11.7C11.7%205.7262%2010.8816%206.76464%209.75845%207.09241L10.1226%208.34035L10.4869%209.58829C12.6891%208.94559%2014.3%206.91258%2014.3%204.5H13ZM10.1223%208.6618L9.75526%209.90892C10.8924%2010.2436%2011.7138%2011.3073%2011.6905%2012.5508L12.9902%2012.5752L14.29%2012.5996C14.336%2010.153%2012.7191%208.0709%2010.4893%207.41469L10.1223%208.6618ZM12.9902%2012.5752L11.6905%2012.5504L11.
16534%2014.4937L12.9531%2014.5186L14.2529%2014.5434L14.29%2012.6L12.9902%2012.5752ZM12.9531%2014.5186L11.6534%2014.494C11.6564%2014.3308%2011.7894%2014.2%2011.9531%2014.2V15.5V16.8C13.2067%2016.8%2014.2292%2015.7959%2014.2529%2014.5431L12.9531%2014.5186ZM11.9531%2015.5V14.2H4.08594V15.5V16.8H11.9531V15.5ZM4.08594%2015.5L4.08608%2014.2C4.25347%2014.2%204.38884%2014.3373%204.38571%2014.5056L3.08594%2014.4814L1.78616%2014.4573C1.76227%2015.7444%202.79939%2016.7999%204.0858%2016.8L4.08594%2015.5ZM3.08594%2014.4814L4.3857%2014.5061L4.42477%2012.4495L3.125%2012.4248L1.82523%2012.4001L1.78617%2014.4568L3.08594%2014.4814ZM3.125%2012.4248L4.42477%2012.4494C4.4469%2011.2773%205.21465%2010.2884%206.27426%209.93714L5.86524%208.70316L5.45621%207.46918C3.38128%208.15696%201.86881%2010.0931%201.82523%2012.4003L3.125%2012.4248ZM5.85927%208.33503L6.2294%207.08883C5.11247%206.7571%204.3%205.72173%204.3%204.5H3H1.7C1.7%206.90385%203.29931%208.93084%205.48915%209.58123L5.85927%208.33503ZM3%204.5H4.3V2.5H3H1.7V4.5H3ZM3%202.5H4.3C4.3%202.66569%204.16569%202.8%204%202.8V1.5V0.2C2.72975%200.2%201.7%201.22975%201.7%202.5H3ZM4%201.5V2.8H12V1.5V0.2H4V1.5ZM6%208.52001H7.3C7.3%207.83026%206.83565%207.26889%206.2294%207.08883L5.85927%208.33503L5.48915%209.58123C5.04763%209.45009%204.7%209.0379%204.7%208.52001H6ZM5.86524%208.70316L6.27426%209.93714C6.85935%209.7432%207.3%209.19114%207.3%208.52001H6H4.7C4.7%208.01616%205.02991%207.61049%205.45621%207.46918L5.86524%208.70316ZM10%208.50113H8.7C8.7%209.17761%209.15503%209.73227%209.75526%209.90892L10.1223%208.6618L10.4893%207.41469C10.9463%207.54917%2011.3%207.97399%2011.3%208.50113H10ZM10.1226%208.34035L9.75845%207.09241C9.15664%207.26804%208.7%207.82341%208.7%208.50113H10H11.3C11.3%209.02922%2010.945%209.45458%2010.4869%209.58829L10.1226%208.34035Z'%20fill='%230BCC58'%20mask='url(%23path-1-inside-1_11139_48545)'/%3e%3cpath%20d='M5%204.27273C5%204.1221%205.1221%204%205.27273%204H10.7273C10.8779%204%2011%204.1221%2011%204.27273C11%205.77896%209.77896%207%208.27273%207H7.72727C6.22104%207%205%205.77896%205%204.27273Z'%20fill='%230BCC58'/%3e%3cpath%20d='M11%2013.1818C11%2013.3575%2010.8575%2013.5%2010.6818%2013.5L5.31818%2013.5C5.14245%2013.5%205%2013.3575%205%2013.1818L5%2013C5%2011.3431%206.34315%2010%208%2010C9.65685%2010%2011%2011.3431%2011%2013L11%2013.1818Z'%20fill='%230BCC58'/%3e%3c/svg%3e",nt="data:image/svg+xml,%3csvg%20width='18'%20height='17'%20viewBox='0%200%2018%2017'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.36594%202.16206C8.78574%201.84127%2010.2712%201.98804%2011.6008%202.58046C11.9791%202.74904%2012.4225%202.57899%2012.5911%202.20064C12.7597%201.82228%2012.5896%201.3789%2012.2113%201.21032C10.5862%200.486244%208.77068%200.306866%207.03537%200.698936C5.30006%201.09101%203.73798%202.03352%202.5821%203.3859C1.42621%204.73829%200.738455%206.42808%200.621399%208.20328C0.504343%209.97847%200.96426%2011.7439%201.93256%2013.2364C2.90086%2014.7288%204.32565%2015.8683%205.99445%2016.4848C7.66326%2017.1014%209.48665%2017.162%2011.1927%2016.6575C12.8987%2016.1531%2014.396%2015.1107%2015.4612%2013.6858C16.5264%2012.2609%2017.1025%2010.5299%2017.1035%208.75082V8.06039C17.1035%207.64617%2016.7677%207.31039%2016.3535%207.31039C15.9393%207.31039%2015.6035%207.64617%2015.6035%208.06039V8.74996C15.6027%2010.2055%2015.1314%2011.6219%2014.2598%2012.7877C13.3883%2013.9535%2012.1632%2014.8064%2010.7674%2015.2191C9.37153%2015.6318%207.87967%2015.5822%206.51428%2015.0778C5.1489%2014.5734%203.98316%2013.6411%203.19092%2012.42C2.39867%2011.1989%202.02238%209.7544%202.11815%208.30197C2.21392%206.84954%202.77663%205.46698%203.72236%204.36048C4.66808%203.25399%205.94615%202.48284%207.36594%202.16206Z'%20fill='white'/%3e%3cpath%20d='M16.8841%203.28046C17.1769%202.98742%2017.1766%202.51255%2016.8836%202.2198C16.5905%201.92706%2016.1157%201.92729%2015.8229%202.22033L8.85325%209.19697L7.13385%207.47757C6.84095%207.18467%206.36608%207.18467%206.07319%207.47757C5.78029%207.77046%205.78029%208.24533%206.07319%208.53823L8.32319%2010.7882C8.46388%2010.9289%208.65473%2011.0079%208.8537%2011.0079C9.05268%2011.0078%209.24348%2010.9287%209.38411%2010.788L16.8841%203.28046Z'%20fill='white'/%3e%3c/svg%3e",it="data:image/svg+xml,%3csvg%20width='21'%20height='21'%20viewBox='0%200%2021%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1.91992'%20y='2'%20width='17.5'%20height='17.5'%20rx='8.75'%20fill='url(%23paint0_linear_10378_85412)'/%3e%3crect%20x='1.91992'%20y='2'%20width='17.5'%20height='17.5'%20rx='8.75'%20stroke='url(%23paint1_linear_10378_85412)'%20stroke-width='2.5'/%3e%3cpath%20d='M6.91992%205.75H7.99135V6.75H6.91992V5.75ZM7.99135%205.75H9.06278V6.75H7.99135V5.75ZM9.06278%205.75H10.1342V6.75H9.06278V5.75ZM10.1342%205.75H11.2056V6.75H10.1342V5.75ZM11.2056%205.75H12.2771V6.75H11.2056V5.75ZM12.2771%205.75H13.3485V6.75H12.2771V5.75ZM12.2771%206.75H13.3485V7.75H12.2771V6.75ZM11.2056%206.75H12.2771V7.75H11.2056V6.75ZM10.1342%206.75H11.2056V7.75H10.1342V6.75ZM9.06278%206.75H10.1342V7.75H9.06278V6.75ZM7.99135%206.75H9.06278V7.75H7.99135V6.75ZM6.91992%206.75H7.99135V7.75H6.91992V6.75ZM13.3485%206.75H14.4199V7.75H13.3485V6.75ZM12.2771%207.75H13.3485V8.75H12.2771V7.75ZM13.3485%207.75H14.4199V8.75H13.3485V7.75ZM13.3485%208.75H14.4199V9.75H13.3485V8.75ZM13.3485%209.75H14.4199V10.75H13.3485V9.75ZM12.2771%209.75H13.3485V10.75H12.2771V9.75ZM12.2771%208.75H13.3485V9.75H12.2771V8.75ZM12.2771%2010.75H13.3485V11.75H12.2771V10.75ZM12.2771%2011.75H13.3485V12.75H12.2771V11.75ZM11.2056%2011.75H12.2771V12.75H11.2056V11.75ZM11.2056%2010.75H12.2771V11.75H11.2056V10.75ZM10.1342%2010.75H11.2056V11.75H10.1342V10.75ZM10.1342%2011.75H11.2056V12.75H10.1342V11.75ZM9.06278%2011.75H10.1342V12.75H9.06278V11.75ZM9.06278%2010.75H10.1342V11.75H9.06278V10.75ZM7.99135%2010.75H9.06278V11.75H7.99135V10.75ZM6.91992%2010.75H7.99135V11.75H6.91992V10.75ZM6.91992%2011.75H7.99135V12.75H6.91992V11.75ZM7.99135%2011.75H9.06278V12.75H7.99135V11.75ZM6.91992%207.75H7.99135V8.75H6.91992V7.75ZM7.99135%207.75H9.06278V8.75H7.99135V7.75ZM7.99135%208.75H9.06278V9.75H7.99135V8.75ZM7.99135%209.75H9.06278V10.75H7.99135V9.75ZM6.91992%208.75H7.99135V9.75H6.91992V8.75ZM6.91992%209.75H7.99135V10.75H6.91992V9.75ZM6.91992%2012.75H7.99135V13.75H6.91992V12.75ZM7.99135%2012.75H9.06278V13.7
15H7.99135V12.75ZM7.99135%2013.75H9.06278V14.75H7.99135V13.75ZM7.99135%2014.75H9.06278V15.75H7.99135V14.75ZM6.91992%2014.75H7.99135V15.75H6.91992V14.75ZM6.91992%2013.75H7.99135V14.75H6.91992V13.75ZM13.3485%2010.75H14.4199V11.75H13.3485V10.75Z'%20fill='white'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_10378_85412'%20x1='17.1699'%20y1='18.25'%20x2='5.16992'%20y2='4.75'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F29A28'/%3e%3cstop%20offset='0.5'%20stop-color='%23FFB336'/%3e%3cstop%20offset='1'%20stop-color='%23F29A28'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_10378_85412'%20x1='2.00967'%20y1='5.75'%20x2='19.3302'%20y2='15.75'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFDC42'/%3e%3cstop%20offset='0.5'%20stop-color='%23FFE9AD'/%3e%3cstop%20offset='1'%20stop-color='%23FFBD42'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",lt=""+new URL("youhuizhongxin.ajD5OXBG.png",import.meta.url).href,at=""+new URL("jinxiuzhongxin.CKddxYx9.jpg",import.meta.url).href,rt=""+new URL("gongrenyisuo.B2cuHGmw.jpg",import.meta.url).href,ct={class:"page-container"},ut={class:"carousel-section main-margin"},dt=["src","alt"],ht={key:1,class:"swiper-container swiper-loading"},mt=["alt"],_t={class:"ad-span-overlay"},pt={class:"ad-span"},vt=["alt"],gt={class:"ad-span-overlay"},ft={class:"ad-span"},yt={class:"news-section"},Ct={class:"news-header main-margin"},wt={class:"member-news-title"},bt={class:"more-text"},kt=["href","onClick"],Ht={class:"item-img-wrap"},Vt=["src"],Mt={key:0,src:me,class:"hot-icon",alt:""},xt={class:"item-date-main"},It={class:"item-date"},Lt={class:"item-option"},Zt=["onClick"],Tt=["onClick"],At=["onClick"],St=["onClick"],Dt={key:0,class:"ri-thumb-up-line",style:{"font-size":"20px",color:"#1591e4"}},Nt={key:1,class:"ri-thumb-up-line",style:{"font-size":"20px",color:"#a8a8a8"}},Ft={class:"item-title"},Rt={class:"item-author"},zt={class:"item-author-left"},Pt=["src"],$t={class:"member-news-section main-margin"},qt={class:"member-news-header"},Ut={class:"member-news-title"},jt={class:"more-text"},Bt={class:"member-news-list"},Ot=["href","onClick"],Et={class:"member-news-image-container"},Gt=["src"],Xt={key:0,src:me,class:"hot-icon",alt:""},Qt={class:"member-news-content"},Wt={class:"member-news-tag"},Kt={class:"member-news-title-text"},Jt={class:"member-news-date"},Yt={class:"vertical-list main-margin"},es=["src"],ts={class:"vertical-content"},ss={class:"vertical-title"},os={class:"vertical-desc"},ns=["onClick"],is={key:0,class:"volunteer-section"},ls={class:"news-header main-margin"},as={class:"member-news-title"},rs={class:"more-text"},cs=["onClick"],us={class:"volunteer-image-container"},ds=["src"],hs={class:"volunteer-content"},ms={class:"volunteer-tag-parent"},_s={class:"volunteer-tag-code"},ps={class:"volunteer-tag"},vs={class:"volunteer-title"},gs={class:"volunteer-title"},fs={class:"volunteer-address"},ys={key:0,class:"ri-map-pin-line",style:{"font-size":"14",color:"#666666"}},Cs={class:"volunteer-time"},ws={class:"volunteer-time"},bs={class:"volunteer-price"},ks={key:0,class:"no-member-title"},Hs={key:1,class:"price"},Vs={key:2,class:"member-title"},Ms={key:3,class:"price member-price"},xs={class:"activity-tag"},Is={class:"apply-btn"},Ls={key:1,class:"volunteer-section"},Zs={class:"news-header main-margin"},Ts={class:"member-news-title"},As={class:"more-text"},Ss=["onClick"],Ds={class:"volunteer-image-container"},Ns=["src"],Fs={class:"volunteer-content"},Rs={class:"volunteer-tag-parent"},zs={class:"volunteer-tag-code"},Ps={class:"volunteer-tag"},$s={class:"volunteer-title"},qs={class:"volunteer-title",style:{height:"38rpx"}},Us={class:"volunteer-address"},js={key:0,class:"ri-map-pin-line",style:{"font-size":"14",color:"#666666"}},Bs={class:"volunteer-time"},Os={class:"volunteer-time"},Es={class:"activity-tag"},Gs={class:"apply-btn"},Xs={key:2,class:"volunteer-section"},Qs={class:"news-header main-margin"},Ws={class:"member-news-title"},Ks={class:"more-text"},Js=["href","onClick"],Ys={class:"coupon-image-container"},eo=["src"],to={class:"coupon-content"},so={class:"coupon-tag-parent"},oo={class:"coupon-tag-code"},no={class:"coupon-title"},io={class:"coupon-time"},lo={class:"apply-btn coupon-apply-btn"},ao={key:3,class:"survey-section"},ro={class:"news-header main-margin"},co={class:"member-news-title"},uo={class:"more-text"},ho={class:"survey-card"},mo={class:"survey-wrapper"},_o=["onClick"],po=["src"],vo={key:0,class:"survey-status"},go={class:"survey-content"},fo={class:"survey-time"},yo={class:"survey-time-text"},Co={class:"survey-time-right"},wo=["onClick"],bo=["onClick"],ko={class:"survey-points"},Ho={class:"title"},Vo={class:"points"},Mo={class:"survey-period"},xo=ue({__name:"mobile",setup(M){const{isLoggedIn:C}=We(),{langType:x}=Ee(),p=Ke(),{t:l}=Fe(),b=Re(),H=s=>b({path:"/counselingDetail",query:{id:s.id,type:s.type,columnId:s.columnId||"workersRights"}}),I=s=>{let n=`/welfareOffer/welFareDetail?id=${s.id}`;return s.userUsageId&&(n+=`&userUsageId=${s.userUsageId}`),b(n)},L=w(null),A=w(null),E=s=>{L.value=s},G=s=>{A.value=s},{banners:F,unionNews:R,branchNews:Z,hotActivities:P,volunteerActivities:$,welfareList:q,questionList:V,recommendedTags:u,recommendedCouponTags:T,fetchAllHomeData:v}=Ge(!0),k=w({informationCenter:Xe}),K=W(()=>[{title:l("homeIndex.unionDiscountCenter"),img:lt,link:"https://www.hkftu.com.hk/#/",desc:l("homeIndex.unionDiscountCenterDesc")},{title:l("homeIndex.unionTrainingCenter"),img:at,link:"https://www.hkftustsc.org/d_index.html",desc:l("homeIndex.unionTrainingCenterDesc")},{title:l("homeIndex.unionClinic"),img:rt,link:"https://www.ftuclinics.org.hk/",desc:l("homeIndex.unionClinicDesc")}]),X=w(),J=w();W(()=>[{columnName:l("homeIndex.unionNewsSearch"),value:"unionNews"},{columnName:l("homeIndex.branchNewsSearch"),value:"membershipNews"},{columnName:l("homeIndex.hotActivitySearch"),value:"hotActivity"},{columnName:l("homeIndex.volunteerActivitySearch"),value:"volunteerActivity"},{columnName:l("homeIndex.welfareOfferSearch"),value:"couponCentre"},{columnName:l("homeIndex.questionnaireSearch"),value:"questionnaire"}]);const j=s=>{let n="#52c41a",d="loudou-icon-green";switch(s){case"1":n="#FF0000",d="loudou-icon-red";break;case"2":n="#52c41a",d="loudou-icon-green";break;case"3":n="#FFA500",d="loudou-icon-orange";break}return{color:n,loudouClass:d}},Y=s=>{if(!s||s.length<1||!s.every(c=>/^\d+$/.test(c)))return"";const d=[...s];return d.sort((c,y)=>parseInt(c)-parseInt(y)),"逢星期"+d.reduce((c,y)=>{let f="";switch(y){case"1":f="一";break;case"2":f="二";break;case"3":f="三";break;case"4":f="四";break;case"5":f="五";break;case"6":f="六";break;case"7":f="日";break}return c+f},"")},_e=s=>{let n=[];if(Array.isArray(s))n=s;else if(typeof s=="string")n=[s];else return console.log("Invalid activity format:",s),[];if(u.value&&u.value.length>0){const d=[];for(let c=0;c<n.length;c++){const y=n[c],f=u.value.find(U=>U.value===y);if(f){const U=f.label||f.columnName||f.value||"";d.push(U)}else d.push(y)}return d}else return n},pe=s=>s>=2,ve=s=>{if(T.value&&T.value.length>0){let n=[];if(Array.isArray(s))n=s;else if(typeof s=="string")n=s.split(",");else if(s!=null)n=[s];else return"";for(const d of n){const c=T.value.find(y=>y.value==d);if(c)return c.label||c.name||c.value||""}}return""},ee=s=>{J.value.jump(s.id)},ge=s=>{const n=p.getPath("/questionDetail?id="+s.id);X.value.openShareModal({url:n})},fe=s=>{window.open(s,"_blank")},ye=s=>{console.log("跳转资讯详情",s),p.push({path:"/counselingDetail",query:{id:s.id,type:s.type,columnId:s.columnId}})},Ce=s=>{p.push({path:"/counselingDetail",query:{id:s.id,type:s.type,columnId:s.columnId}})},we=s=>{p.push({path:"/activityCenter/actionDetail",query:{id:s.id,rosterId:s.rosterId}})},be=s=>{p.push({path:"/volunteer/volunteerDetail",query:{id:s.id,rosterId:s.rosterId}})}
1,ke=s=>{let n="/welfareOffer/welFareDetail?id="+s.id;s.userUsageId&&(n=n+"&userUsageId="+s.userUsageId),p.push(n)},He=s=>{let n="/counselingDetail";const d=s,c={columnId:d.columnId||"",id:d.id||d.contentId||"",type:d.type||""};(c.columnId===void 0||c.columnId===null||c.columnId==="undefined"||c.columnId==="null")&&(c.columnId=""),console.log(c,"queryParams"),n+="?id="+c.id+"&type="+c.type,console.log("fullUrl",p.getPath(n)),X.value.openShareModal({url:p.getPath(n)})},Ve=s=>{s.jumpLink&&(s.jumpLink.startsWith("http://")||s.jumpLink.startsWith("https://")?window.open(s.jumpLink,"_blank"):p.push(s.jumpLink))},te=s=>{p.push(s)},se=(s,n)=>{if(!C.value){ie("請先登錄");return}(n?Ue:je)(s.id).then(c=>{s.isCollect=n})},Me=s=>{if(!C.value){ie("請先登錄");return}(s.isLike?Be:Oe)(s.id).then(d=>{s.isLike=!s.isLike,s.isLike?s.likeCount?s.likeCount++:s.likeCount=1:s.likeCount--})};return v(String(x.value)),de(async()=>{(!R.value||R.value.length===0||!Z.value||Z.value.length===0)&&(console.log("检测到工联消息或属会消息为空,强制刷新数据"),await v(String(x.value),!0))}),ze(()=>{if(L.value){try{L.value.destroy(!0,!0)}catch(s){console.warn("清理主轮播图实例失败:",s)}L.value=null}if(A.value){try{A.value.destroy(!0,!0)}catch(s){console.warn("清理广告轮播图实例失败:",s)}A.value=null}document.querySelectorAll(".swiper-image, .ad-image, .item-img").forEach(n=>{n instanceof HTMLImageElement&&(n.src="",n.srcset="")})}),(s,n)=>{const d=oe,c=Ze,y=Te,f=Pe,U=oe,xe=tt,Ie=$e,Le=qe;return a(),r("div",ct,[e("div",ut,[m(d,null,{default:_(()=>[o(F).length>0?(a(),ne(o(le),{key:0,class:"swiper-container",modules:[o(ae),o(re)],loop:o(F).length>1,autoplay:o(F).length>1?{delay:4e3,disableOnInteraction:!1,pauseOnMouseEnter:!0}:!1,pagination:{clickable:!0},speed:800,"space-between":0,"touch-ratio":1,"touch-angle":45,"grab-cursor":!0,"touch-start-prevent-default":!1,"touch-move-stop-propagation":!1,"simulate-touch":!0,"allow-touch-move":!0,"touch-release-on-edges":!0,keyboard:{enabled:!1},mousewheel:{enabled:!1},resistance:!0,"resistance-ratio":.85,onSwiper:E},{default:_(()=>[(a(!0),r(D,null,N(o(F),(t,h)=>(a(),ne(o(Q),{key:h,onClick:B=>Ve(t)},{default:_(()=>[e("img",{src:t.imageUrl,class:"swiper-image",alt:t.title,loading:"lazy"},null,8,dt)]),_:2},1032,["onClick"]))),128))]),_:1},8,["modules","loop","autoplay"])):(a(),r("div",ht))]),_:1}),m(d,null,{default:_(()=>[m(o(le),{class:"ad-banner-swiper",modules:[o(ae),o(re)],loop:!0,autoplay:{delay:5e3,disableOnInteraction:!1,pauseOnMouseEnter:!0},pagination:{clickable:!0},speed:600,"space-between":0,"touch-ratio":1,"touch-angle":45,"grab-cursor":!0,"touch-start-prevent-default":!1,"touch-move-stop-propagation":!1,"simulate-touch":!0,"allow-touch-move":!0,"touch-release-on-edges":!0,keyboard:{enabled:!1},mousewheel:{enabled:!1},resistance:!0,"resistance-ratio":.85,onSwiper:G},{default:_(()=>[m(o(Q),null,{default:_(()=>[e("div",{class:"ad-image-container",onClick:n[0]||(n[0]=t=>te("/about/workerRights"))},[e("img",{src:st,class:"ad-image",alt:o(l)("homeIndex.workersRights")},null,8,mt),e("div",_t,[e("span",pt,i(o(l)("homeIndex.workersRights")),1)])])]),_:1}),m(o(Q),null,{default:_(()=>[e("div",{class:"ad-image-container",onClick:n[1]||(n[1]=t=>te("/about/politicalParticipation"))},[e("img",{src:ot,class:"ad-image object-[center_20%]",alt:o(l)("homeIndex.politicalParticipation")},null,8,vt),e("div",gt,[e("span",ft,i(o(l)("homeIndex.politicalParticipation")),1)])])]),_:1})]),_:1},8,["modules"])]),_:1})]),e("div",yt,[e("div",Ct,[e("span",wt,i(o(l)("homeIndex.unionNews")),1),m(c,{to:o(b)({path:"/counselingCenter",query:{columnId:"unionNews"}}),class:"news-more",style:{"text-decoration":"none",color:"inherit"}},{default:_(()=>[e("span",bt,i(o(l)("homeIndex.viewAll").replace(" >","")),1),n[2]||(n[2]=e("i",{class:"ri-arrow-right-s-line",style:{"font-size":"14",color:"#1591e4"}},null,-1))]),_:1},8,["to"])]),m(y,{items:o(R),"initial-offset":-30},{content:_(({item:t})=>[e("a",{class:"information-item",href:H(t),onClick:S(h=>ye(t),["prevent"]),style:{textDecoration:"none",color:"inherit",display:"block"}},[e("div",Ht,[e("img",{src:t.imgUrl,mode:"aspectFill",class:"item-img",alt:""},null,8,Vt),t.pointTaskId?(a(),r("img",Mt)):g("",!0)]),e("div",xt,[e("div",It,i(t.createTime?t.createTime.substring(0,10):""),1),e("div",Lt,[t.isCollect?(a(),r("i",{key:0,onClick:S(h=>se(t,!1),["stop","prevent"]),class:"ri-heart-3-fill",style:{"font-size":"20px",color:"#e60013"}},null,8,Zt)):(a(),r("i",{key:1,class:"ri-heart-3-line",onClick:S(h=>se(t,!0),["stop","prevent"]),style:{"font-size":"20px",color:"#a8a8a8"}},null,8,Tt)),e("i",{class:"ri-share-fill share-icon",onClick:S(h=>He(t),["stop","prevent"])},null,8,At),e("div",{class:"item-option-like",onClick:S(h=>Me(t),["stop","prevent"])},[t.isLike?(a(),r("i",Dt)):(a(),r("i",Nt)),e("span",{style:z({color:t.isLike?"#1591E4":"#A8A8A8"})}
1,i(t.likeCount),5)],8,St)])]),e("div",Ft,i(t.title),1),e("div",Rt,[e("div",zt,[e("img",{src:o(k).informationCenter.infoAuthorImg,class:"author-img",mode:"aspectFill",alt:""},null,8,Pt),e("div",null,i(o(k).informationCenter.infoAuthor),1)]),e("div",{class:"item-author-right",style:z({backgroundColor:o(Qe)(o(k).informationCenter.columnNameTagColor),color:o(k).informationCenter.columnNameTagColor})},i(t.columnName),5)])],8,kt)]),_:1},8,["items"])]),e("div",$t,[e("div",qt,[e("span",Ut,i(o(l)("homeIndex.branchNews")),1),m(c,{to:o(b)({path:"/counselingCenter",query:{columnId:"membershipNews"}}),class:"member-news-more",style:{"text-decoration":"none",color:"inherit"}},{default:_(()=>[e("span",jt,i(o(l)("homeIndex.viewMore").replace(" >","")),1),m(U,null,{default:_(()=>[m(f,{name:"arrow",size:"14",color:"#1591E4"})]),_:1})]),_:1},8,["to"])]),e("div",Bt,[(a(!0),r(D,null,N(o(Z),t=>(a(),r("a",{key:t.id,href:H(t),onClick:S(h=>Ce(t),["prevent"]),class:"member-news-item",style:{textDecoration:"none",color:"inherit"}},[e("div",Et,[e("img",{src:t.imgUrl,class:"member-news-image",mode:"aspectFill"},null,8,Gt),t.pointTaskId?(a(),r("img",Xt)):g("",!0)]),e("div",Qt,[e("div",Wt,i(t.columnName),1),e("div",Kt,i(t.title),1),e("div",Jt,i(t.createTime?t.createTime.substring(0,10):""),1)])],8,Ot))),128))])]),e("div",Yt,[(a(!0),r(D,null,N(o(K),(t,h)=>(a(),r("div",{class:"vertical-card",key:h},[e("img",{class:"vertical-image",src:t.img,mode:"aspectFill"},null,8,es),e("div",ts,[e("div",ss,i(t.title),1),e("div",os,i(t.desc),1),e("button",{onClick:B=>fe(t.link),class:"vertical-btn"},i(o(l)("homeIndex.goToPage")),9,ns)])]))),128))]),o(P)&&o(P).length>0?(a(),r("div",is,[e("div",ls,[e("span",as,i(o(l)("homeIndex.hotActivities")),1),m(c,{to:o(b)("/activityCenter/allActivities"),class:"news-more",style:{"text-decoration":"none",color:"inherit"}},{default:_(()=>[e("span",rs,i(o(l)("homeIndex.viewAll").replace(" >","")),1),n[3]||(n[3]=e("i",{class:"ri-arrow-right-s-line",style:{"font-size":"14",color:"#1591e4"}},null,-1))]),_:1},8,["to"])]),m(y,{items:o(P),"initial-offset":-10},{content:_(({item:t})=>[e("div",{class:"volunteer-card",onClick:h=>we(t)},[e("div",us,[e("img",{class:"volunteer-image",src:t.imgId,mode:"aspectFill"},null,8,ds)]),e("div",hs,[e("div",ms,[e("div",_s,i(t.activityCode),1),e("div",ps,i(t.isPublic==1?o(l)("homeIndex.publicActivity"):t.isPublic==2?o(l)("homeIndex.organizationActivity"):o(l)("homeIndex.publicActivity")),1)]),e("div",vs,[e("span",null,i(t.name),1)]),e("div",gs,[t.quotaTip?(a(),r("img",{key:0,class:O(["loudou-icon",j(t.quotaTipColour).loudouClass]),src:ce},null,2)):g("",!0),e("span",{class:"remain-count",style:z({color:j(t.quotaTipColour).color})},i(t.quotaTip),5)]),e("div",fs,[t.activityLocation?(a(),r("i",ys)):g("",!0),e("text",null,i(t.activityLocation),1)]),e("div",Cs,[n[4]||(n[4]=e("i",{class:"ri-calendar-line",style:{"font-size":"14",color:"#666666"}},null,-1)),e("div",null,i(t.startDate?t.startDate.substring(0,10):""),1),e("div",null,i(t.endDate?"至 "+t.endDate.substring(0,10):""),1)]),e("div",ws,[n[5]||(n[5]=e("i",{class:"ri-time-line",style:{"font-size":"14",color:"#666666"}},null,-1)),e("div",null,i(Y(t.weekDays)),1),e("div",null,i(t.startTime?t.startTime.substring(0,5):""),1),e("div",null,i(t.endTime?"- "+t.endTime.substring(0,5):""),1)]),e("div",bs,[t.nonMemberMoney?(a(),r("div",ks,"非會員")):g("",!0),t.nonMemberMoney?(a(),r("div",Hs,"$"+i(t.nonMemberMoney),1)):g("",!0),t.memberMoney?(a(),r("div",Vs,"會員")):g("",!0),t.memberMoney?(a(),r("div",Ms," $"+i(t.memberMoney),1)):g("",!0)]),e("div",xs,[(a(!0),r(D,null,N(t.label,(h,B)=>(a(),r("div",{key:B,class:O(["tag",{"tag-hidden":pe(B)}])},i(h),3))),128))]),e("button",Is,i(o(l)("homeIndex.apply")),1)])],8,cs)]),_:1},8,["items"])])):g("",!0),o($)&&o($).length>0?(a(),r("div",Ls,[e("div",Zs,[e("span",Ts,i(o(l)("homeIndex.volunteerActivities")),1),m(c,{to:o(b)("/volunteer/allVounteer"),class:"news-more",style:{"text-decoration":"none",color:"inherit"}},{default:_(()=>[e("span",As,i(o(l)("homeIndex.viewAll").replace(" >","")),1),n[6]||(n[6]=e("i",{class:"ri-arrow-right-s-line",style:{"font-size":"14",color:"#1591e4"}},null,-1))]),_:1},8,["to"])]),m(y,{items:o($),"initial-offset":-10},{content:_(({item:t})=>[e("div",{class:"volunteer-card",onClick:h=>be(t)},[e("div",Ds,[e("img",{class:"volunteer-image",src:t.imgId,mode:"aspectFill"},null,8,Ns)]),e("div",Fs,[e("div",Rs,[e("div",zs,i(t.activityCode),1),e("div",Ps,i(t.isPublic==1?o(l)("homeIndex.publicActivity"):t.isPublic==2?o(l)("homeIndex.organizationActivity"):o(l)("homeIndex.publicActivity")),1)]),e("div",$s,[e("text",null,i(t.name),1)]),e("div",qs,[t.quotaTip?(a(),r("img",{key:0,class:O(["loudou-icon",j(t.quotaTipColour).loudouClass]),src:ce},null,2)):g("",!0),e("text",{class:"remain-count",style:z({color:j(t.quotaTipColour).color})},i(t.quotaTip),5)]),e("div",Us,[t.activityLocation?(a(),r("i",js)):g("",!0),e("text",null,i(t.activityLocation),1)]),e("div",Bs,[n[7]||(n[7]=e("i",{class:"ri-calendar-line",style:{"font-size":"14",color:"#666666"}},null,-1)),e("div",null,i(t.startDate?t.startDate.substring(0,10):""),1),e("div",null,i(t.endDate?"至 "+t.endD
1ate.substring(0,10):""),1)]),e("div",Os,[n[8]||(n[8]=e("i",{class:"ri-time-line",style:{"font-size":"14",color:"#666666"}},null,-1)),e("div",null,i(Y(t.weekDays)),1),e("div",null,i(t.startTime?t.startTime.substring(0,5):""),1),e("div",null,i(t.endTime?"- "+t.endTime.substring(0,5):""),1)]),e("div",Es,[(a(!0),r(D,null,N(_e(t.label),h=>(a(),r("div",{class:"tag",key:h},i(h),1))),128))]),e("button",Gs,i(o(l)("homeIndex.apply")),1)])],8,Ss)]),_:1},8,["items"])])):g("",!0),o(q)&&o(q).length>0?(a(),r("div",Xs,[e("div",Qs,[e("span",Ws,i(o(l)("homeIndex.welfareOffers")),1),m(c,{to:o(b)("/welfareOffer/allWelFare"),class:"news-more",style:{"text-decoration":"none",color:"inherit"}},{default:_(()=>[e("span",Ks,i(o(l)("homeIndex.viewAll").replace(" >","")),1),n[9]||(n[9]=e("i",{class:"ri-arrow-right-s-line",style:{"font-size":"14",color:"#1591e4"}},null,-1))]),_:1},8,["to"])]),m(xe,{items:o(q),"show-dots":!0,gap:20,"card-ratio":.4,"get-item-key":t=>t.id,class:"coupon-slide-card"},{content:_(({item:t})=>[e("a",{class:"coupon-card",href:I(t),onClick:S(h=>ke(t),["prevent"]),style:{textDecoration:"none",color:"inherit",display:"block"}},[e("div",Ys,[e("img",{class:"coupon-image",src:t.publicizeImage||"@/assets/mobile/images/default-coupon.png",mode:"aspectFill"},null,8,eo)]),e("div",to,[e("div",so,[e("div",oo,i(ve(t.label)),1)]),e("div",no,[e("text",null,i(t.subName||t.couponName||t.name),1)]),e("div",io,[e("div",null,i(t.publishStartTime?t.publishStartTime.substring(0,10):t.validStartTime?t.validStartTime.substring(0,10):"")+i(t.publishEndTime?"至 "+t.publishEndTime.substring(0,10):t.validEndTime?"至 "+t.validEndTime.substring(0,10):""),1)]),e("button",lo,i(o(l)("homeIndex.receive")),1)])],8,Js)]),_:1},8,["items","get-item-key"])])):g("",!0),o(V)&&o(V).length>0?(a(),r("div",ao,[e("div",ro,[e("span",co,i(o(l)("homeIndex.questionnaire
1Center")),1),m(c,{to:o(b)("/question"),class:"news-more",style:{"text-decoration":"none",color:"inherit"}},{default:_(()=>[e("span",uo,i(o(l)("homeIndex.viewAll").replace(" >","")),1),n[10]||(n[10]=e("i",{class:"ri-arrow-right-s-line",style:{"font-size":"14",color:"#1591e4"}},null,-1))]),_:1},8,["to"])]),m(y,{items:o(V),"initial-offset":-10},{content:_(({item:t})=>[e("div",ho,[e("div",mo,[e("div",{class:"survey-image-box",onClick:h=>ee(t)},[e("img",{class:"survey-image",src:t.publicizeImage,mode:"aspectFill"},null,8,po),t.isFinished==="1"?(a(),r("div",vo,[n[11]||(n[11]=e("img",{src:nt,class:"finish-icon"},null,-1)),e("div",null,i(o(l)("homeIndex.completed")),1)])):g("",!0)],8,_o),e("div",go,[e("div",fo,[e("div",yo,i(o(l)("homeIndex.publishTime"))+" "+i(t.startTime?t.startTime.substring(0,10):""),1),e("div",Co,[e("i",{class:"ri-share-fill share-icon",onClick:h=>ge(t)},null,8,wo)])]),e("div",{onClick:h=>ee(t),class:"survey-title"},i(t.questionnaireName),9,bo),e("div",ko,[e("div",Ho,i(o(l)("homeIndex.participationPoints")),1),n[12]||(n[12]=e("img",{src:it,mode:"aspectFit",class:"icon"},null,-1)),e("div",Vo,i(t.joinPoints),1)]),e("div",Mo,[n[13]||(n[13]=e("i",{class:"ri-time-line",style:{"font-size":"14",color:"#a8a8a8"}},null,-1)),e("div",null,i(t.joinStartTime?t.joinStartTime.substring(0,10):"")+"至"+i(t.joinEndTime?t.joinEndTime.substring(0,10):""),1)])])])])]),_:1},8,["items"])])):g("",!0),m(Ie,{ref_key:"shareModalRef",ref:X},null,512),m(Le,{ref_key:"jumpToInputQuestionnairePageRef",ref:J},null,512)])}}}),on=he(xo,[["__scopeId","data-v-0bd3ebc9"]]);export{on 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.