首页活动取消控制:当前时间是否在活动范围内。显示未结束的所有活动,包含没开始的活动

This commit is contained in:
2026-05-06 10:21:17 +08:00
parent 773062bdf5
commit 2b4111f28a
2 changed files with 4 additions and 4 deletions
@@ -56,7 +56,7 @@ layout("/layouts/platform_h5.html"){
</table-column>
</template>
<template #actions="{index,row}">
<template v-if="$moment().isBefore($moment(row.choiceTimeEnd))">
<template v-if="$moment(row.choiceTimeStart).isBefore($moment()) && $moment().isBefore($moment(row.choiceTimeEnd))">
<div class="action-btn" style="text-align: right" @click="onView(row)">
<i class="fa fa-edit"></i>
<span>去报名</span>