From 3aee99183ad1a69b0b105c8cc05f6e44892866a2 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Thu, 2 Nov 2023 18:25:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/env/.env | 2 +- ui/src/assets/user-icon.svg | 14 ++++ ui/src/components/back-button/index.vue | 2 +- ui/src/components/card-box/index.vue | 4 +- .../content-container/LayoutContent.vue | 12 +-- ui/src/components/icons/index.ts | 79 ++++++++++++++----- ui/src/components/login-container/index.vue | 4 +- ui/src/components/tags-input/index.vue | 2 +- ui/src/layout/app-layout/index.vue | 3 +- .../layout/components/sidebar/SidebarItem.vue | 11 ++- ui/src/layout/components/sidebar/index.vue | 1 + .../top-bar/avatar/ResetPasssword.vue | 1 - .../components/top-bar/avatar/index.vue | 11 ++- ui/src/layout/components/top-bar/index.vue | 15 ++-- .../components/top-bar/top-menu/MenuItem.vue | 20 +++-- .../components/top-bar/top-menu/index.vue | 4 +- ui/src/layout/main-layout/index.vue | 2 +- ui/src/styles/app.scss | 59 ++++++++++---- ui/src/styles/element-plus.scss | 20 +++++ ui/src/styles/variables.scss | 21 +++-- ui/src/views/404/index.vue | 2 +- ui/src/views/dataset/CreateDataset.vue | 6 +- ui/src/views/dataset/component/BaseForm.vue | 2 +- .../dataset/component/UploadComponent.vue | 2 +- ui/src/views/dataset/index.vue | 8 +- ui/src/views/dataset/step/SetRules.vue | 4 +- ui/src/views/login/forgot-password/index.vue | 4 +- ui/src/views/login/index.vue | 2 +- ui/src/views/login/register/index.vue | 4 +- ui/src/views/login/reset-password/index.vue | 4 +- .../setting/component/PermissionSetting.vue | 4 + ui/src/views/setting/index.vue | 63 +++++++++------ 32 files changed, 262 insertions(+), 130 deletions(-) create mode 100644 ui/src/assets/user-icon.svg diff --git a/ui/env/.env b/ui/env/.env index 4dcc347bb..87cd57582 100644 --- a/ui/env/.env +++ b/ui/env/.env @@ -1,4 +1,4 @@ VITE_APP_NAME=ui VITE_BASE_PATH=/ui/ VITE_APP_PORT=3000 -VITE_APP_TITLE = '智能知识库' \ No newline at end of file +VITE_APP_TITLE = 'MaxKB' \ No newline at end of file diff --git a/ui/src/assets/user-icon.svg b/ui/src/assets/user-icon.svg new file mode 100644 index 000000000..5dd0f63c0 --- /dev/null +++ b/ui/src/assets/user-icon.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/ui/src/components/back-button/index.vue b/ui/src/components/back-button/index.vue index abaf1651d..4ca5d64e1 100644 --- a/ui/src/components/back-button/index.vue +++ b/ui/src/components/back-button/index.vue @@ -1,5 +1,5 @@ diff --git a/ui/src/components/card-box/index.vue b/ui/src/components/card-box/index.vue index eeb05ab34..dc04f0651 100644 --- a/ui/src/components/card-box/index.vue +++ b/ui/src/components/card-box/index.vue @@ -3,14 +3,14 @@
- +

{{ title }}

-
+
{{ description }} diff --git a/ui/src/components/content-container/LayoutContent.vue b/ui/src/components/content-container/LayoutContent.vue index c99e9064d..9d30a63bf 100644 --- a/ui/src/components/content-container/LayoutContent.vue +++ b/ui/src/components/content-container/LayoutContent.vue @@ -1,9 +1,9 @@