From 96ef60c28981d43f5b6d8a4ee13ff5a70959e0b7 Mon Sep 17 00:00:00 2001 From: bunny <1319900154@qq.com> Date: Sun, 18 Feb 2024 16:31:36 +0800 Subject: [PATCH] =?UTF-8?q?page:=20=E6=96=B0=E5=A2=9E=E9=A1=B5=E9=9D=A2:?= =?UTF-8?q?=20=F0=9F=93=84=20=E6=95=B0=E6=8D=AE=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/index.scss | 2 +- src/commpent/main.vue | 41 --------------------------------- src/router/index.ts | 7 ++++++ src/views/layout.vue | 9 ++++++-- src/views/login/index.vue | 1 - src/views/statistics/index.vue | 42 ++++++++++++++++++++++++++++++++++ 6 files changed, 57 insertions(+), 45 deletions(-) delete mode 100644 src/commpent/main.vue create mode 100644 src/views/statistics/index.vue diff --git a/src/assets/css/index.scss b/src/assets/css/index.scss index 366dbba..354121f 100644 --- a/src/assets/css/index.scss +++ b/src/assets/css/index.scss @@ -42,7 +42,7 @@ :root { color-scheme: light; - --el-color-white: #ffffff; + --el-color-white: #000205; --el-color-black: #000000; --el-color-primary: #ffc100; --el-color-primary-light-3: #efc54b; diff --git a/src/commpent/main.vue b/src/commpent/main.vue deleted file mode 100644 index fc33842..0000000 --- a/src/commpent/main.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - diff --git a/src/router/index.ts b/src/router/index.ts index 1d447fe..638b71c 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -5,6 +5,13 @@ const routes: Array = [ path: '/', name: 'layout', component: () => import(/* webpackChunkName: "Layout" */ '@/views/layout.vue'), + children: [ + { + path: 'statistics', + name: 'statistics', + component: () => import(/* webpackChunkName: "login" */ '@/views/statistics/index.vue'), + }, + ], }, { path: '/login', diff --git a/src/views/layout.vue b/src/views/layout.vue index a424a05..4b3f11f 100644 --- a/src/views/layout.vue +++ b/src/views/layout.vue @@ -12,7 +12,7 @@ -
+ @@ -21,7 +21,6 @@ diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 22f23df..69e37ed 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -117,7 +117,6 @@ const submitForm = async (formEl: FormInstance | undefined) => { .login-btn { width: 100%; - color: #1f1f1f; border-radius: 25px; } } diff --git a/src/views/statistics/index.vue b/src/views/statistics/index.vue new file mode 100644 index 0000000..7f7005f --- /dev/null +++ b/src/views/statistics/index.vue @@ -0,0 +1,42 @@ + + + +