From a1681fef6237e6bc5cde4ad0f43c8227ed62d04f Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud <79562285+wangdan-fit2cloud@users.noreply.github.com> Date: Wed, 17 Apr 2024 15:21:23 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E9=83=A8=E5=88=86=E7=BA=BF=E6=9D=A1?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96(#105)=20(#139)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/application/template/embed.js | 2 +- ui/index.html | 7 +++++++ ui/src/layout/components/top-bar/index.vue | 12 ++++++------ ui/src/views/chat/index.vue | 2 +- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/apps/application/template/embed.js b/apps/application/template/embed.js index eff570e40..33545af47 100644 --- a/apps/application/template/embed.js +++ b/apps/application/template/embed.js @@ -247,7 +247,7 @@ function initMaxkbStyle(root){ #maxkb #maxkb-chat-container{ z-index:10000;position: relative; border-radius: 8px; - border: 1px solid var(--N300, #DEE0E3); + border: 1px solid #ffffff; background: linear-gradient(188deg, rgba(235, 241, 255, 0.20) 39.6%, rgba(231, 249, 255, 0.20) 94.3%), #EFF0F1; box-shadow: 0px 4px 8px 0px rgba(31, 35, 41, 0.10); position: fixed;bottom: 20px;right: 45px;overflow: hidden; diff --git a/ui/index.html b/ui/index.html index 1f9ca13a8..5917d95fd 100644 --- a/ui/index.html +++ b/ui/index.html @@ -9,6 +9,13 @@
+ + + diff --git a/ui/src/layout/components/top-bar/index.vue b/ui/src/layout/components/top-bar/index.vue index dcf14ae16..eff56f8f1 100644 --- a/ui/src/layout/components/top-bar/index.vue +++ b/ui/src/layout/components/top-bar/index.vue @@ -14,24 +14,24 @@ diff --git a/ui/src/views/chat/index.vue b/ui/src/views/chat/index.vue index d2bab84aa..8509bf7e9 100644 --- a/ui/src/views/chat/index.vue +++ b/ui/src/views/chat/index.vue @@ -70,7 +70,7 @@ onMounted(() => { height: var(--app-header-height); line-height: var(--app-header-height); box-sizing: border-box; - border-bottom: 1px solid rgba(31, 35, 41, 0.15); + border-bottom: 1px solid var(--el-border-color); } &__main { padding-top: calc(var(--app-header-height) + 24px);