...
|
...
|
@@ -5,8 +5,8 @@ |
|
|
<div ref="titleBlock" class="title-block">
|
|
|
<span :style="titleStyle">#{{title}}</span>
|
|
|
</div>
|
|
|
<div class="att-topic-btn" :class="attClass">
|
|
|
<WidgetFollow v-if="!share" class="att-click-wrap" :topic-id="data.topicId" :follow="data.hasAttention" :share="share" @on-follow="onFollow"></WidgetFollow>
|
|
|
<div v-if="!share && +data.allowAttention" class="att-topic-btn" :class="attClass">
|
|
|
<WidgetFollow class="att-click-wrap" :topic-id="data.topicId" :follow="data.hasAttention" :share="share" @on-follow="onFollow"></WidgetFollow>
|
|
|
<span>{{data.hasAttention ? '已关注' : '关注'}}</span>
|
|
|
</div>
|
|
|
</template>
|
...
|
...
|
|