"use strict";const e=require("../../common/vendor.js"),l=require("./method.js"),o=require("./model.js"),u=require("../../common/libraries/day.js"),n=require("../../gen/Enums.js");if(require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWeAppAuthStore.js"),require("../../common/libraries/setTabBar.js"),require("../../common/libraries/apiLoading.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/userUserLogin.js"),require("../../common/libraries/naviHelper.js"),!Array){(e.resolveComponent("hs-enum-tag")+e.resolveComponent("up-parse")+e.resolveComponent("hs-button"))()}Math||((()=>"../../components/hs-enum-tag/hs-enum-tag.js")+(()=>"../../node-modules/uview-plus/components/u-parse/u-parse.js")+(()=>"../../components/hs-button/hs-button.js"))();const i=e.defineComponent({__name:"index",setup:i=>(e.onLoad((e=>{var o;null==(o=l.method)||o.getShow(null==e?void 0:e.id)})),e.onShareAppMessage((()=>{var e,l,u,n,i,s,a,r,t,d;return{title:`您的好友邀请你报名${null==(u=null==(l=null==(e=o.useModel)?void 0:e.showData)?void 0:l.value)?void 0:u.title}`,path:`/INDEX/activities_show/index?id=${null==(s=null==(i=null==(n=o.useModel)?void 0:n.showData)?void 0:i.value)?void 0:s.id}`,imageUrl:null==(d=null==(t=null==(r=null==(a=o.useModel)?void 0:a.showData)?void 0:r.value)?void 0:t.cover_image[0])?void 0:d.url}})),e.onShareTimeline((()=>{var e,l,u,n,i,s,a,r,t,d;return{title:`您的好友邀请你报名${null==(u=null==(l=null==(e=o.useModel)?void 0:e.showData)?void 0:l.value)?void 0:u.title}`,path:`/INDEX/activities_show/index?id=${null==(s=null==(i=null==(n=o.useModel)?void 0:n.showData)?void 0:i.value)?void 0:s.id}`,imageUrl:null==(d=null==(t=null==(r=null==(a=o.useModel)?void 0:a.showData)?void 0:r.value)?void 0:t.cover_image[0])?void 0:d.url}})),(i,s)=>{var a,r,t,d,v,m,h,p,c,w,g,D,f,j,M,b,q,_,y,S,C,A,E,I,$;return{a:e.t(null==(t=null==(r=null==(a=e.unref(o.useModel))?void 0:a.showData)?void 0:r.value)?void 0:t.title),b:e.t(e.unref(u.showDay)(null==(m=null==(v=null==(d=e.unref(o.useModel))?void 0:d.showData)?void 0:v.value)?void 0:m.start_time)),c:e.t(e.unref(u.showDay)(null==(c=null==(p=null==(h=e.unref(o.useModel))?void 0:h.showData)?void 0:p.value)?void 0:c.end_time)),d:e.p({value:null==(D=null==(g=null==(w=e.unref(o.useModel))?void 0:w.showData)?void 0:g.value)?void 0:D.status,Enums:e.unref(n.HouseChargeTasksStatusEnum)}),e:e.n(`status event_status_${null==(M=null==(j=null==(f=e.unref(o.useModel))?void 0:f.showData)?void 0:j.value)?void 0:M.status}`),f:e.p({content:null==(_=null==(q=null==(b=e.unref(o.useModel))?void 0:b.showData)?void 0:q.value)?void 0:_.content}),g:e.o(null==(y=e.unref(l.method))?void 0:y.handleCancelSignUp),h:e.p({size:"md",type:"display",disabled:!e.unref(u.getIsInRangeInclusive)(null==(A=null==(C=null==(S=e.unref(o.useModel))?void 0:S.showData)?void 0:C.value)?void 0:A.start_time,null==($=null==(I=null==(E=e.unref(o.useModel))?void 0:E.showData)?void 0:I.value)?void 0:$.end_time),label:"取消报名"}),i:e.p({size:"md",type:"primary",label:"分享活动",openType:"share"})}})});i.__runtimeHooks=6,wx.createPage(i);
