瀏覽代碼

同期活动

zhaosm 3 天之前
父節點
當前提交
564e52e283
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/activity/components/activity-item.vue

+ 1 - 1
pages/activity/components/activity-item.vue

@@ -3,7 +3,7 @@
 		<view class="activity-title">
 			<view>{{ item.title }}</view>
 			<view v-if="!favoritesHidden" @click="onCollect(item)" class="activity-favourites" :class="{ 'active': index === 1 }">
-				<view v-if="item.favourited" class="iconfont icon-favourites-filled-star-symbol active"></view>
+				<view v-if="item.is_collect" class="iconfont icon-favourites-filled-star-symbol active"></view>
 				<view v-else class="iconfont icon-Favourites-Add-Large"></view>
 				<view class="activity-favourites-text">收藏</view>
 			</view>