From 6af26f2eab1b981caac841dd2ab2c086a4cfb087 Mon Sep 17 00:00:00 2001 From: chansee97 Date: Tue, 26 Mar 2024 22:30:24 +0800 Subject: [PATCH] feat: add theme and search --- src/App.vue | 12 +- src/layouts/BasicLayout/index.vue | 8 +- src/layouts/components/header/Breadcrumb.vue | 7 +- src/layouts/components/header/Github.vue | 20 --- src/layouts/components/header/Search.vue | 63 ++++++-- src/layouts/components/header/Setting.vue | 146 +++++++++++-------- src/layouts/components/header/UserCenter.vue | 20 +++ src/layouts/components/index.ts | 2 - src/layouts/components/tab/TabBar.vue | 1 - src/store/{app.ts => app/index.ts} | 20 +++ src/store/app/theme.json | 5 + src/store/index.ts | 2 +- src/styles/transition.css | 16 ++ src/theme.json | 24 --- vite.config.ts | 3 - 15 files changed, 207 insertions(+), 142 deletions(-) delete mode 100644 src/layouts/components/header/Github.vue rename src/store/{app.ts => app/index.ts} (87%) create mode 100644 src/store/app/theme.json delete mode 100644 src/theme.json diff --git a/src/App.vue b/src/App.vue index 86f9587..99e2e2f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,20 +1,20 @@