From 660a40d471ebfdd3d4d117218ef8f28086c292cb Mon Sep 17 00:00:00 2001 From: wangqing <250543222@qq.com> Date: Sun, 6 Jun 2021 17:31:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/root.js | 10 +- src/views/404.vue | 2 +- src/views/official/index.vue | 171 ++++++++++++++++++++++++++++++++--- 3 files changed, 162 insertions(+), 21 deletions(-) diff --git a/src/router/modules/root.js b/src/router/modules/root.js index d24eb25..17334c0 100644 --- a/src/router/modules/root.js +++ b/src/router/modules/root.js @@ -24,11 +24,6 @@ export default [ meta: {requireLogin: false}, component: () => import(/* webpackChunkName: 'root' */ '@/views/official/introduction.vue') }, - { - path: 'login', - meta: {requireLogin: false}, - component: () => import(/* webpackChunkName: 'root' */ '@/views/account/login.vue') - }, { path: 'forget/password', meta: {requireLogin: false}, @@ -51,6 +46,11 @@ export default [ } ] }, + { + path: '/login', + meta: {requireLogin: false}, + component: () => import(/* webpackChunkName: 'root' */ '@/views/account/login.vue') + }, { path: '/home', meta: {requireLogin: true}, diff --git a/src/views/404.vue b/src/views/404.vue index fdeb0e0..5426786 100644 --- a/src/views/404.vue +++ b/src/views/404.vue @@ -23,7 +23,7 @@ export default { justify-content: center; justify-items: center; .title { - color: rgba(32, 91, 181, 100); + color: $--color-primary; font-size: 84px; text-align: left; } diff --git a/src/views/official/index.vue b/src/views/official/index.vue index 8fdf1f4..6b3538f 100644 --- a/src/views/official/index.vue +++ b/src/views/official/index.vue @@ -1,20 +1,28 @@