From 1124fe9fa3e9f764bdb725d436b786ab4194900c Mon Sep 17 00:00:00 2001 From: wangcheng15 <66863386+wangcheng15@users.noreply.github.com> Date: Fri, 22 Apr 2022 15:42:01 +0800 Subject: [PATCH] #188 Enhancement about engine status (#189) --- src/assets/css/variable.scss | 1 + src/components/CreateConnection/Form.vue | 7 +- src/components/CreateConnection/index.vue | 5 +- src/components/Header/EngineInfo.vue | 176 ++++++++++++++++++++++ src/components/Header/index.vue | 8 +- src/config/index.js | 5 + src/locale/en.json | 16 +- src/locale/zh.json | 16 +- src/page/Settings/index.vue | 113 ++++++++++++-- src/service/module/settings.js | 5 +- src/store/module/settings.js | 23 ++- src/store/type.js | 2 + 12 files changed, 355 insertions(+), 22 deletions(-) create mode 100644 src/components/Header/EngineInfo.vue diff --git a/src/assets/css/variable.scss b/src/assets/css/variable.scss index b12e8a3..7ed8c39 100644 --- a/src/assets/css/variable.scss +++ b/src/assets/css/variable.scss @@ -10,6 +10,7 @@ $cellTextColor: #39414D; $cellCommentColor: #66A0A4; $cellStringColor: #1021D5; $cellKeywordColor: #CF2F72; +$pattern-grey-100: #A5B2C5; $pattern-blue-100: #CEE6FD; $pattern-blue-200: #e6f1fb; $pattern-blue-300: #3991e1; diff --git a/src/components/CreateConnection/Form.vue b/src/components/CreateConnection/Form.vue index 7df311d..10a1898 100644 --- a/src/components/CreateConnection/Form.vue +++ b/src/components/CreateConnection/Form.vue @@ -2,7 +2,9 @@
{{$t('settings.defaultEngineDesc')}}
-