From 4633cc04be4fce3edf859b9f3dc97b5eb1444fcb Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Thu, 21 Aug 2025 17:35:15 +0800 Subject: [PATCH 0001/1130] fix(chat): Automatic scrolling to distinguish between PC and assistant --- frontend/src/views/chat/index.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue index 5d6e4e9e5..c92a521fd 100644 --- a/frontend/src/views/chat/index.vue +++ b/frontend/src/views/chat/index.vue @@ -477,6 +477,7 @@ const scrollBottom = () => { } const handleScroll = (val: any) => { + if (!isCompletePage.value) return scrollTopVal = val.scrollTop scrolling = true clearTimeout(scrollingTime) @@ -676,10 +677,12 @@ const sendMessage = async ($event: any = {}) => { loading.value = true isTyping.value = true - scrollTopVal = innerRef.value!.clientHeight - scrollTime = setInterval(() => { - scrollBottom() - }, 300) + if (isCompletePage.value) { + scrollTopVal = innerRef.value!.clientHeight + scrollTime = setInterval(() => { + scrollBottom() + }, 300) + } await assistantPrepareSend() const currentRecord = new ChatRecord() currentRecord.create_time = new Date() From 1ceab05d325230fa1a99c03453a3b923bf5d26f6 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Fri, 22 Aug 2025 11:25:53 +0800 Subject: [PATCH 0002/1130] fix(login): Set the width of the login page background image to 40% --- frontend/src/views/login/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/login/index.vue b/frontend/src/views/login/index.vue index 2363d06cd..402cc48c5 100644 --- a/frontend/src/views/login/index.vue +++ b/frontend/src/views/login/index.vue @@ -107,7 +107,7 @@ const submitForm = () => { .login-left { display: flex; height: 100%; - max-width: 50vh; + width: 40%; img { height: 100%; max-width: 100%; From cb7e2b7db4c6c66de0a3138fe09a36310c742ff5 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Fri, 22 Aug 2025 14:21:31 +0800 Subject: [PATCH 0003/1130] fix(Embedded Management, Data Source): Embedded Management, Data Source More styles are incorrect --- frontend/src/components/layout/Menu.vue | 22 ++++++++++++++- frontend/src/components/layout/Person.vue | 13 +++++++-- frontend/src/views/chat/ChatList.vue | 7 ++++- frontend/src/views/ds/Card.vue | 27 ++++++++++--------- .../src/views/system/appearance/Person.vue | 2 +- frontend/src/views/system/embedded/Card.vue | 5 ++-- 6 files changed, 56 insertions(+), 20 deletions(-) diff --git a/frontend/src/components/layout/Menu.vue b/frontend/src/components/layout/Menu.vue index c0f1c91f3..8991599c1 100644 --- a/frontend/src/components/layout/Menu.vue +++ b/frontend/src/components/layout/Menu.vue @@ -86,7 +86,7 @@ const routerList = computed(() => { } } - .ed-sub-menu .ed-sub-menu__title:hover { + .ed-sub-menu .ed-sub-menu__title { border-radius: 6px; } @@ -100,4 +100,24 @@ const routerList = computed(() => { margin-right: 8px; } } +.ed-popper.is-light:has(.ed-menu--popup) { + border: 1px solid #dee0e3; + border-radius: 6px; + box-shadow: 0px 4px 8px 0px #1f23291a; + background: #eff1f0; + overflow: hidden; +} +.ed-menu--popup { + padding: 8px; + background: #eff1f0; + + .ed-menu-item { + padding: 9px 16px; + height: 40px !important; + border-radius: 6px; + &.is-active { + background-color: #fff !important; + } + } +} diff --git a/frontend/src/components/layout/Person.vue b/frontend/src/components/layout/Person.vue index 1e67d7071..700dec76a 100644 --- a/frontend/src/components/layout/Person.vue +++ b/frontend/src/components/layout/Person.vue @@ -47,7 +47,9 @@ const languageList = [ value: 'zh-CN', }, */, ] +const popoverRef = ref() const toSystem = () => { + popoverRef.value.hide() router.push('/system') } @@ -86,7 +88,12 @@ const logout = () => {