|
@@ -7,7 +7,7 @@
|
|
|
<span slot="label">{{ item.title }}</span>
|
|
|
<el-col :span="24" v-for="(tag, index) in item.children" :key="index" class="enterList">
|
|
|
<el-col :span="20" class="title textOver">
|
|
|
- <el-link :underline="false" @click="$router.push({ path: `/info/detail?id=${tag.id}` })" :title="tag.title">{{ tag.title }} </el-link>
|
|
|
+ <el-link :underline="false" @click="$turnTo(tag)" :title="tag.title">{{ tag.title }} </el-link>
|
|
|
</el-col>
|
|
|
<el-col :span="4" class="time">
|
|
|
{{ tag.publish_time }}
|
|
@@ -56,6 +56,9 @@ export default {
|
|
|
if (to.type === 'url') window.open(to.url);
|
|
|
if (to.type === 'content') this.$router.push({ path: `/info/detail?id=${to.content_id}` });
|
|
|
},
|
|
|
+ detailBtn(tag) {
|
|
|
+ console.log(tag);
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|