Showing
1 changed file
with
2 additions
and
2 deletions
@@ -5,8 +5,8 @@ | @@ -5,8 +5,8 @@ | ||
5 | <div ref="titleBlock" class="title-block"> | 5 | <div ref="titleBlock" class="title-block"> |
6 | <span :style="titleStyle">#{{title}}</span> | 6 | <span :style="titleStyle">#{{title}}</span> |
7 | </div> | 7 | </div> |
8 | - <div class="att-topic-btn" :class="attClass"> | ||
9 | - <WidgetFollow v-if="!share" class="att-click-wrap" :topic-id="data.topicId" :follow="data.hasAttention" :share="share" @on-follow="onFollow"></WidgetFollow> | 8 | + <div v-if="!share && +data.allowAttention" class="att-topic-btn" :class="attClass"> |
9 | + <WidgetFollow class="att-click-wrap" :topic-id="data.topicId" :follow="data.hasAttention" :share="share" @on-follow="onFollow"></WidgetFollow> | ||
10 | <span>{{data.hasAttention ? '已关注' : '关注'}}</span> | 10 | <span>{{data.hasAttention ? '已关注' : '关注'}}</span> |
11 | </div> | 11 | </div> |
12 | </template> | 12 | </template> |
-
Please register or login to post a comment