You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

2 lines
3.9 KiB

"use strict";(self["webpackChunkvue_cli_ts"]=self["webpackChunkvue_cli_ts"]||[]).push([[337,119],{8711:function(t,e,i){i.d(e,{d:function(){return l}});var a=i(4870);const l=()=>{const t=(0,a.XI)(null),e=(0,a.XI)(!1);function i(i){t.value=i,e.value=!0}function l(){e.value=!1}return{activity:t,showActivityDetail:e,handleActivity:i,close:l}}},8119:function(t,e,i){i.r(e),i.d(e,{default:function(){return j}});var a=i(3396),l=i(4870),s=i(7139),n=i(3588),c=i(8711),d=i(5599),r=i(600),o=i(5406);const u=t=>((0,a.dD)("data-v-3d6b005e"),t=t(),(0,a.Cn)(),t),v={class:"activity-common ml-[190px] mr-6 pt-10"},g={class:"pb-4"},y=["onClick"],f={class:"h-[477px] bg-white"},h={class:"cover"},p={class:"flex items-center absolute left-8 right-8 bottom-6 h-[88px] bg-black/30 rounded-[73px] backdrop-blur-[32px] px-[38px]"},w={class:"flex-1 h-9 text-white text-24 leading-32 font-bolder truncate"},m={key:0,class:"flex items-center"},b=u((()=>(0,a._)("div",{class:"w-px h-10 bg-[rgba(198,198,206,0.3)] mx-6"},null,-1))),x={class:"space-y-2"},_={key:0,class:"justify-start items-center gap-2.5 flex"},k={class:"w-5 h-5"},D={class:"text-white text-12 leading-16 font-bolder"},C={key:1,class:"justify-start items-center gap-2.5 flex"},A={class:"w-5 h-5"},S={class:"text-white text-12 leading-16 font-bolder"},U={key:0,src:n,class:"absolute left-1/2 -translate-x-1/2 top-56",alt:""};var q=(0,a.aZ)({__name:"ActivityList",props:{isClicked:{type:Boolean,default:!0},list:{default:()=>[]}},setup(t){const e=t,n=(0,a.RC)((()=>i.e(492).then(i.bind(i,9492)))),u=(0,a.RC)((()=>Promise.all([i.e(466),i.e(207)]).then(i.bind(i,1425)))),q=(0,a.Fl)((()=>e.list?.map((t=>t.content))??[])),{moduleStatistics:z}=(0,d.T)(),{close:Z,handleActivity:j,activity:I,showActivityDetail:N}=(0,c.d)();function W(t){e.isClicked&&(z({recordType:"2",activityCode:e.list?.find((e=>e.content.activityName===t.activityName))?.id}),j(t))}return(t,e)=>{const i=(0,a.Q2)("lazy"),c=(0,a.Q2)("auto-animate");return(0,a.wg)(),(0,a.iD)(a.HY,null,[(0,a._)("div",v,[(0,a.Wm)(r.Z,{class:"relative h-[1460px] z-0",scrollbar:"",list:(0,l.SU)(q),"refresh-delay":500},{default:(0,a.w5)((()=>[(0,a.wy)(((0,a.wg)(),(0,a.iD)("div",g,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,l.SU)(q),(e=>((0,a.wg)(),(0,a.iD)("div",{key:e.activityName,class:"relative rounded-lg overflow-hidden w-[848px] mb-4",onClick:t=>W(e)},[(0,a._)("div",f,[(0,a.wy)((0,a._)("img",h,null,512),[[i,e.thumbFileUrl?.[0]]])]),(0,a._)("div",p,[(0,a._)("div",w,(0,s.zw)(t.switchLanguage(e,"activityName")),1),e.startDate?.length||e.endDate?.length||e.activityAddress?.length?((0,a.wg)(),(0,a.iD)("div",m,[b,(0,a._)("div",x,[e.startDate?.length?((0,a.wg)(),(0,a.iD)("div",_,[(0,a._)("div",k,[(0,a.Wm)(o.Z,{type:"time",color:"rgba(255, 255, 255, 0.5)"})]),(0,a._)("div",D,(0,s.zw)(e.startDate)+"至"+(0,s.zw)(e.endDate),1)])):(0,a.kq)("",!0),e.activityAddress?.length?((0,a.wg)(),(0,a.iD)("div",C,[(0,a._)("div",A,[(0,a.Wm)(o.Z,{type:"end",color:"rgba(255, 255, 255, 0.5)"})]),(0,a._)("div",S,(0,s.zw)(t.switchLanguage(e,"activityAddress")),1)])):(0,a.kq)("",!0)])])):(0,a.kq)("",!0)])],8,y)))),128))])),[[c]])])),_:1},8,["list"]),(0,l.SU)(q).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("img",U))]),(0,a.Wm)((0,l.SU)(n),null,{default:(0,a.w5)((()=>[(0,l.SU)(N)?((0,a.wg)(),(0,a.j4)((0,l.SU)(u),{key:0,type:"detail",activity:(0,l.SU)(I),onClose:(0,l.SU)(Z)},null,8,["activity","onClose"])):(0,a.kq)("",!0)])),_:1})],64)}}}),z=i(89);const Z=(0,z.Z)(q,[["__scopeId","data-v-3d6b005e"]]);var j=Z},7337:function(t,e,i){i.r(e),i.d(e,{default:function(){return r}});var a=i(3396),l=i(4870),s=i(9184),n=i(8119),c=(0,a.aZ)({__name:"MemberActivity",setup(t){const e=(0,l.XI)([]);return(0,s.q)("getMemberActivities").then((({data:t})=>{e.value=t})),(t,i)=>((0,a.wg)(),(0,a.j4)(n["default"],{list:(0,l.SU)(e)},null,8,["list"]))}});const d=c;var r=d},3588:function(t,e,i){t.exports=i.p+"img/nodata.891032fa.svg"}}]);
//# sourceMappingURL=337.cb9b1d67.js.map