Files
2026-09-08 19:49:21 +08:00

88 lines
3.3 KiB
HTML

<!--活动信息公用页面-->
<div class="activity_img_back">
<van-image :src="FILE_DOMAIN + '/fileStreamPreview?id=' + o.cover" width="100%"
height="200"></van-image>
</div>
<van-cell-group inset class="mt10">
<van-cell title="活动名称" :value="o.name" class="activity_name">
<template>
<span v-if="o.name.includes('2024年南京体育学院迎新春长跑')">
<div>2024年南京体育学院</div>
<div>迎新春长跑"竞技组"活动</div>
</span>
<span v-else>
{{o.name}}
</span>
</template>
</van-cell>
<!-- <van-cell title="活动地址" :value="o.address"></van-cell>-->
<!-- <van-cell title="报名时间">
<template #label>
{{moment(o.applyStartTime).format('YYYY/MM/DD HH:mm')}} 至
{{moment(o.applyEndTime).format('YYYY/MM/DD HH:mm')}}
</template>
</van-cell>
<van-cell title="活动时间">
<template #label>
{{moment(o.startTime).format('YYYY/MM/DD HH:mm')}} 至
{{moment(o.endTime).format('YYYY/MM/DD HH:mm')}}
</template>
</van-cell>-->
<van-cell v-if="o.userNumberLimit!=null">
<template #title>
<span v-if="o.userNumberLimit===1">
活动人数
</span>
<span v-else-if="o.userNumberLimit===2">
本工会名额
</span>
</template>
<template>
<span v-if="o.userNumberLimit===1">
<span style="color: orange">{{o.totalUserNumberLimit }}</span>
</span>
<span v-else="o.userNumberLimit===2">
<span style="color: orange">{{unionLimitNum }}</span>
</span>
</template>
</van-cell>
<van-cell title="当前报名" v-if="o.signUpMethod!=null">
<template>
<span style="color: red">{{hasRegUserNum}}</span>
</template>
</van-cell>
<!-- <van-cell title="负&emsp14;&emsp14;责&emsp14;&emsp14;人">-->
<!-- <template>-->
<!-- {{o.createUserName}}({{o.createUserMobile}})-->
<!-- </template>-->
<!-- </van-cell>-->
<van-cell title="报名方式" v-if="o.signUpMethod">
<template>
<span v-if="o.signUpMethod===1">个人报名</span>
<span v-if="o.signUpMethod===2">分工会报名</span>
<span v-if="o.signUpMethod===3">组队报名</span>
</template>
</van-cell>
<van-cell title="组队人数" v-if="o.signUpMethod==3">
<span style="color: red"> {{o.teamNum}}</span>
</van-cell>
<van-cell title="活动内容" v-if="o.projectTypeCode!=='50004'">
<template #label>
<div style="white-space: pre-line;font-size: 14px">
{{o.activityContent}}
</div>
</template>
</van-cell>
<van-cell title="签到点位" v-if="o.needSign">
<template #label>
<div id="signMap" style="width: 100%;height: 300px"></div>
<div style="margin-top: 10px;color: orange">
活动开始后,请前往签到点位半径({{o.rangeMeter}})米内进行签到。
</div>
</template>
</van-cell>
</van-cell-group>