Przeglądaj źródła

fix: 义工时长卡片仅在家庭成员视角下展示

主账号不参加活动,之前展示的是所有孩子义工时长的总和,容易造成误解
Developer 5 dni temu
rodzic
commit
55490c48ba
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pages/my.vue

+ 1 - 1
pages/my.vue

@@ -56,7 +56,7 @@
 						<image src="https://oss.familydaf.cn/sxsnfile/20251218/6e9e879da03944a4911b48550e915641.png"></image>
 					</view>
 				</view>
-				<view class="box-card-pre adffcac orange" @click="handleTurnPage('/pagesMy/volunteerHours?volunteerHours='+numInfo?.volunteerHours)">
+				<view class="box-card-pre adffcac orange" @click="handleTurnPage('/pagesMy/volunteerHours?volunteerHours='+numInfo?.volunteerHours)" v-if="isFamilyMember">
 					<image class="top" src="https://oss.familydaf.cn/sxsnfile/20251218/3fdb7e3c0d3c444ab03dd5f51a5e3fe0.png"></image>
 					<view class="num">{{(numInfo?.volunteerHours||0).toFixed(2)}}</view>
 					<view class="text adf">