PageSourceSearch

https://www.cyff.org.tw/_nuxt/lUYIsbDO.js

js cyff.org.tw collected 2026-09-24 09:43:27 UTC 3,837 bytes, 1 lines download raw bytes

1import{_ as I}from"./BAAttSnO.js";import{p as $,k as z,o as L,J as N,m as S,B as j}from"./BcNAT0cp.js";import{k as A,b as V,l as E,C as H,c as J,a2 as l,ab as D,a0 as b,a3 as e,R as g,aa as c,u as n,a4 as r,ak as d,J as F,a9 as P,$ as T,_ as a}from"./Bs0Gx3pR.js";import{b as U}from"./BVubPkDc.js";const W=$("/member_icon.png"),q={class:"member_page main_ctn relative lt-xl:pt-60px"},G={key:0,class:"absolute bottom-0 left-0 z--1 h-100vh max-h-700px w-full bg-[url(/members_bg.png)] bg-cover bg-top-center"},K={class:"mx-auto px-5 container"},O={class:"pb-40 lt-lg:pb-20"},Q={key:0,class:"flex gap-8 2xl:gap-20 xl:gap-12"},X=e("span",null,null,-1),Y=e("i",{class:"i-material-symbols-close fs-1 leading-none"},null,-1),Z=[Y],ee={class:"overflow-hidden bg-white shadow xl:sticky xl:top-120px xl:w-60 xl:translate-y--60px xl:b-1 xl:rd-5 2xl:w-80 lt-xl:h[calc(100vh-70px)] lt-xl:overflow-auto lt-xl:px-4 lt-xl:pb-10 not-last-of-type:children:b-b-1"},te={class:"flex items-center gap-4 bg-gradient-green-blue bg-gradient-to-l p-5 text-white lt-xl:hidden"},se=e("div",null,[e("img",{src:W,alt:"",class:"2xl:px-4"})],-1),oe={class:"fs-4 font-600"},le={class:"text-gray-5 not-last-of-type:children:b-b-1"},ne=["title","onClick"],ae={class:"h-10 w-10 flex items-center justify-center b-1 rd-50% text-6 line-height-110% italic"},ie={class:"fs-5 flex items-center"},ce={class:"flex-1"},re={class:"mb-1 rd-5 bg-gradient-green-blue bg-gradient-to-l px-4 py-2 xl:hidden"},de={class:"mx-auto max-w-500px flex items-center justify-between gap-4 text-white"},ue={class:"fs-4 font-600"},pe={class:"sticky top-18 z-9 pb-5 lt-xl:top-15 xl:hidden"},me=e("span",{class:"text-4.5 font-600"},"看更多選項",-1),_e=e("i",{class:"i-carbon-caret-down text-6"},null,-1),we=A({__name:"MemberPage",props:{showMenu:{type:Boolean}},setup(v){const u=v,p=z(),m=L(),i=N(),{xl:w}=S(U),o=V(!1),y=E(()=>p.meta.menuRoute??p.path),k=[{icon:"i-tdesign:user-setting",label:"個人資料維護",to:"/member/information"},{icon:"i-iconoir:page-flip",label:"訂單紀錄",to:"/member/orders"},{icon:"i-material-symbols:touchpad-mouse-outline",label:"活動報名紀錄",to:"/member/events"}];H(()=>{J(o,t=>{document.body.classList.toggle("overflow-hidden",t)},{immediate:!0})});function _(){w.value||(o.value=!o.value)}function C(t){m.push({path:t})}function f(){i.logout(),m.replace("/")}return(t,fe)=>{var h,x;const B=I,M=j;return a(),l("div",q,[u.showMenu?D("",!0):(a(),l("div",G)),b(B,{title:"會員專區"}),e("div",K,[e("div",O,[u.showMenu?(a(),l("div",Q,[e("div",{class:c(["lt-xl:fixed lt-xl:inset-0 lt-xl:bg-white lt-xl:transition lt-xl:duration-300",n(o)?"z-99":"lt-xl:-translate-x-full lt-xl:opacity-0"])},[e("div",{class:"fs-4 mb-2 flex items-center justify-between border-b pl-8 font-bold xl:hidden"},[X,e("span",{class:"cursor-pointer p-4",onClick:_},Z)]),e("div",ee,[e("div",te,[se,e("div",null,[e("div",oe," HI﹐"+r((h=n(i).userInfo)==null?void 0:h.name),1),e("a",{href:"#",title:"登出",class:"font-600 underline underline-offset-3",onClick:d(f,["prevent"])},"登出")])]),e("ul",le,[(a(),l(F,null,P(k,(s,R)=>e("li",{key:R},[e("a",{class:c(["grid grid-cols-[40px_1fr] gap-2 px-5 py-4 hover:bg-gray/10",{"menu-active":n(y)===s.to}]),href:"#",title:s.label,onClick:d(he=>C(s.to),["prevent"])},[e("span",ae,[e("i",{class:c(s.icon)},null,2)]),e("span",ie,r(s.label),1)],10,ne)])),64))])])],2),e("div",ce,[e("div",re,[e("div",de,[e("div",ue," HI﹐"+r((x=n(i).userInfo)==null?void 0:x.name),1),e("a",{href:"#",title:"登出",class:"whitespace-nowrap font-600 underline underline-offset-3",onClick:d(f,["prevent"])},"登出")])]),e("div",pe,[b(M,{class:"w-full color-main bg-white!",style:{"--n-border":"1px solid #00A73C"},onClick:_},{default:T(()=>[me,_e]),_:1})]),e("div",null,[g(t.$slots,"default")])])])):g(t.$slots,"default",{key:1})])])])}}});export{we as _};

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.