Explorar el Código

feat: 活动卡片未截止报名时展示'报名中',已截止则隐藏

Developer hace 2 semanas
padre
commit
8ca7a5b2d6
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      components/pages/nonprofitActivety/index.vue

+ 2 - 2
components/pages/nonprofitActivety/index.vue

@@ -25,8 +25,8 @@
 			</view>
 		</view>
 		<view class="na-bottom adfacjb">
-			<view class="na-bottom-left adf">
-				已报名&nbsp;&nbsp;<strong>{{item.recruitmentNow}}</strong>/{{item.recruitmentMax===0?'无限制':(item.recruitmentMax+'&nbsp;&nbsp;')}}
+			<view class="na-bottom-left adf" v-if="item.activeState===0||item.activeState===1">
+				报名中
 			</view>
 			<!-- <view class="na-bottom-right" @click.stop="toApply">立即报名</view> -->
 		</view>