...
|
...
|
@@ -9,10 +9,10 @@ |
|
|
<div class="topics">
|
|
|
<WidgetTopic
|
|
|
:share="share"
|
|
|
:topic="label.labelName"
|
|
|
@click.native="onTopic(label)"
|
|
|
v-for="label in data.labelList"
|
|
|
:key="label.labelId">
|
|
|
:topic="topic.topicName"
|
|
|
@click.native="onTopic(topic)"
|
|
|
v-for="topic in data.topicList"
|
|
|
:key="topic.topicId">
|
|
|
</WidgetTopic>
|
|
|
</div>
|
|
|
<div class="widgets">
|
...
|
...
|
@@ -152,7 +152,7 @@ export default { |
|
|
}
|
|
|
this.$refs.intro && this.$refs.intro.addEventListener('transitionend', this.onExpand.bind(this));
|
|
|
},
|
|
|
onTopic({labelId, labelName}) {
|
|
|
onTopic({topicId, topicName}) {
|
|
|
if (this.share) {
|
|
|
return this.$links.toDownloadApp();
|
|
|
}
|
...
|
...
|
@@ -163,12 +163,12 @@ export default { |
|
|
this.$router.push({
|
|
|
name: 'topic',
|
|
|
params: {
|
|
|
topicId: labelId,
|
|
|
topicName: labelName
|
|
|
topicId: topicId,
|
|
|
topicName: topicName
|
|
|
}
|
|
|
});
|
|
|
|
|
|
this.reportLabel(labelId);
|
|
|
this.reportLabel(topicId);
|
|
|
},
|
|
|
onShare() {
|
|
|
this.$yoho.share({
|
...
|
...
|
|