From 42bd20ae66e595e944ab36fe8001d88c4bd8de6f Mon Sep 17 00:00:00 2001 From: Coffee-crocodile <1147347984@qq.com> Date: Wed, 10 Aug 2022 17:56:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(components):=20=E5=A2=9E=E5=8A=A0=E5=85=A8?= =?UTF-8?q?=E5=B1=80loading=E3=80=81=E4=BF=AE=E6=94=B9=E4=BE=A7=E8=BE=B9?= =?UTF-8?q?=E6=A0=8F=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- src/App.vue | 18 ++++++-- src/layouts/BasicLayout/index.vue | 76 ++++++++++++------------------- src/views/test/test3.vue | 5 +- 4 files changed, 46 insertions(+), 55 deletions(-) diff --git a/README.md b/README.md index 15e8dd6..3b15a57 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ## Demo -- [示例网页](https://ench-admin.vercel.app/) +- [Ench-Admin](https://ench-admin.vercel.app/) ## 代码仓库 diff --git a/src/App.vue b/src/App.vue index 471ae80..02e711a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,7 +2,9 @@ // import { darkTheme } from 'naive-ui'; import { zhCN, dateZhCN, GlobalThemeOverrides } from 'naive-ui'; import json from './theme.json'; - +// import { useLoadingBar } from 'naive-ui'; +// const loadingBar = useLoadingBar(); +// loadingBar.start(); const locale = zhCN; const dateLocale = dateZhCN; @@ -10,9 +12,17 @@ const themeOverrides: GlobalThemeOverrides = {} || json; diff --git a/src/layouts/BasicLayout/index.vue b/src/layouts/BasicLayout/index.vue index 1ad67b8..ba1d203 100644 --- a/src/layouts/BasicLayout/index.vue +++ b/src/layouts/BasicLayout/index.vue @@ -2,15 +2,25 @@ - +
Logo
+
+ layout-page
@@ -26,68 +36,38 @@