From 65f6ef27e23540436a52cfb7705e8108ce1ef68e Mon Sep 17 00:00:00 2001 From: Bunny <1319900154@qq.com> Date: Sat, 1 Mar 2025 21:32:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- .../CommonHeader/CommonHeader.vue} | 2 +- .../HeaderBarOp.vue} | 0 .../CommonHeader/LayoutHeader.vue} | 9 ++++-- src/layout/index.vue | 2 +- src/plugins/dayjs.ts | 12 ++++++++ src/plugins/index.ts | 4 +-- src/router/index.ts | 10 +++++-- src/router/modules/home.ts | 8 ++--- src/types/router/Route.ts | 29 +++++++++++++++++++ src/views/smart-parking/index.vue | 4 +-- 11 files changed, 67 insertions(+), 15 deletions(-) rename src/{views/smart-parking/components/parking-header/index.vue => components/CommonHeader/CommonHeader.vue} (95%) rename src/components/{Common/BarOp.vue => CommonHeader/HeaderBarOp.vue} (100%) rename src/{layout/components/layout-header/index.vue => components/CommonHeader/LayoutHeader.vue} (64%) create mode 100644 src/plugins/dayjs.ts create mode 100644 src/types/router/Route.ts diff --git a/.env b/.env index c7028d7..223648d 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # 应用名称 -VITE_APP_TITLE="Vite 模板" +VITE_APP_TITLE="智慧管理大屏" # 平台本地运行端口号 VITE_PORT=7000 diff --git a/src/views/smart-parking/components/parking-header/index.vue b/src/components/CommonHeader/CommonHeader.vue similarity index 95% rename from src/views/smart-parking/components/parking-header/index.vue rename to src/components/CommonHeader/CommonHeader.vue index a36da59..930e53d 100644 --- a/src/views/smart-parking/components/parking-header/index.vue +++ b/src/components/CommonHeader/CommonHeader.vue @@ -1,7 +1,7 @@