diff --git a/src/pages/index/components/hot-panel/components/item.vue b/src/pages/index/components/hot-panel/components/item.vue new file mode 100644 index 0000000..4e96888 --- /dev/null +++ b/src/pages/index/components/hot-panel/components/item.vue @@ -0,0 +1,26 @@ + + + + + diff --git a/src/pages/index/components/hot-panel/index.vue b/src/pages/index/components/hot-panel/index.vue new file mode 100644 index 0000000..234dbcc --- /dev/null +++ b/src/pages/index/components/hot-panel/index.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 39127cd..bfe9d28 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -4,6 +4,9 @@ + + + @@ -20,12 +23,14 @@ import moment from 'moment' import NavBar from "./components/nav-bar/index.vue" import Banner from "./components/banner/index.vue" +import HotPanel from "./components/hot-panel/index.vue" import ZhiHuHotList from "./components/zhihu-hot-list/index.vue" let timer = null export default { components: { NavBar, Banner, + HotPanel, ZhiHuHotList }, data() {