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