index.vue
1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<template>
<div class="home-wrapper">
<intro></intro>
<div class="home-body">
<blog></blog>
<div class="side-wrapper">
<myself></myself>
<search :isCache="true"></search>
<label-classify></label-classify>
<side-article :sideClassify="BROWSE_STATUS"></side-article>
<side-article :sideClassify="RECOMMEND_STATUS"></side-article>
</div>
</div>
</div>
</template>
<script>
import Intro from "./components/intro";
import Blog from "./components/blog";
import Myself from "components/myself";
import Search from "components/search";
import LabelClassify from "components/labelClassify";
import SideArticle from "components/sideArticle";
import { BROWSE_STATUS, RECOMMEND_STATUS } from "src/constant/side";
export default {
name: "indexComponent",
components: {
Intro,
Blog,
Myself,
Search,
LabelClassify,
SideArticle,
},
props: {},
computed: {},
data() {
return {
BROWSE_STATUS,
RECOMMEND_STATUS,
};
},
watch: {},
created() { },
mounted() { },
beforeDestroy() { },
methods: {},
};
</script>
<style lang="less" scoped>
</style>