Prechádzať zdrojové kódy

fix: 直接在 view 内联文本,避免任何 text 包装导致的渲染丢失

去掉 computed 与 <text> 包装,文案直接放在 <view> 里。{{ }} 内联表达式
经过验证可以稳定渲染。
Developer 5 dní pred
rodič
commit
8d4d165ec2

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

@@ -26,7 +26,7 @@
 		</view>
 		<view class="na-bottom adfacjb">
 			<view class="na-bottom-left adf" v-if="item.activeState===0||item.activeState===1">
-				<text class="na-bottom-status">{{ signupText }}</text>
+				报名中 · 已报{{ item.recruitmentNow || 0 }}{{ item.recruitmentMax ? '/' + item.recruitmentMax : '' }}人
 			</view>
 			<!-- <view class="na-bottom-right" @click.stop="toApply">立即报名</view> -->
 		</view>