From 011fa5337c0d1d35aee20a2d2ad9c0128c57f43b Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Fri, 25 Sep 2020 15:46:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B6=E9=83=A8=E6=A0=B7=E5=BC=8F=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Menu.vue | 1 + src/components/Nav.vue | 145 ++++++++++++++++++++++++++++++++++++++++ src/router/index.ts | 2 +- 3 files changed, 147 insertions(+), 1 deletion(-) create mode 100644 src/components/Nav.vue diff --git a/src/components/Menu.vue b/src/components/Menu.vue index 8fd5b29..75212c0 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -43,6 +43,7 @@ width: 100%; height: 150px; display: flex; + flex-shrink: 0; flex-direction: column; align-items: center; justify-content: center; diff --git a/src/components/Nav.vue b/src/components/Nav.vue new file mode 100644 index 0000000..e4548f4 --- /dev/null +++ b/src/components/Nav.vue @@ -0,0 +1,145 @@ + + + \ No newline at end of file diff --git a/src/router/index.ts b/src/router/index.ts index f89b67c..3fc1818 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -4,7 +4,7 @@ const routes: Array = [ { path: '/', name: 'Home', - component: () => import(/* webpackChunkName: "about" */ '../components/Menu.vue') + component: () => import(/* webpackChunkName: "about" */ '../components/Nav.vue') }, { path: '/about', -- 2.39.5