From 27ffa6efe68c886aa500f69d81a0afecc871dbd5 Mon Sep 17 00:00:00 2001 From: cc500 <2014434568@qq.com> Date: Fri, 4 Jul 2025 11:59:15 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=EF=BC=9A=E6=8C=89=E9=92=AE=E6=A0=B7=E5=BC=8F=E8=A6=86=E7=9B=96?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/api/style.scss | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/src/views/api/style.scss b/src/views/api/style.scss index 97b316b..e0b4830 100644 --- a/src/views/api/style.scss +++ b/src/views/api/style.scss @@ -137,6 +137,15 @@ .el-button span { color: #6395fd; font-size: 12px; + &:hover { + color: #7aa5ff !important; + } + &:active { + color: #6395fd !important; + } + &:disabled { + color: #6395fd !important; + } } } } @@ -217,17 +226,3 @@ } } } - -.el-button span { - color: #6395fd; - font-size: 12px; - &:hover { - color: #7aa5ff !important; - } - &:active { - color: #6395fd !important; - } - &:disabled { - color: #6395fd !important; - } -} -- Gitee From d54dccf4bce88bcb5f8445ce4e38112a5e792cff Mon Sep 17 00:00:00 2001 From: cc500 <2014434568@qq.com> Date: Fri, 4 Jul 2025 14:34:57 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=EF=BC=9Atitlebar=20=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dialogue/components/TitleBar.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/dialogue/components/TitleBar.vue b/src/views/dialogue/components/TitleBar.vue index 7fe4ea7..ce4f644 100644 --- a/src/views/dialogue/components/TitleBar.vue +++ b/src/views/dialogue/components/TitleBar.vue @@ -115,7 +115,7 @@ const headerStyles = computed(() => {
(() => { height: 48px; border-radius: 50%; cursor: pointer; + background-image: url('@/assets/svgs/user.svg'); + background-repeat: no-repeat; /* 防止重复 */ + background-position: center; /* 居中 */ + background-size: contain; /* 适应容器 */ //待替换icon资源 &:hover { + height: 48px; background-image: url('@/assets/svgs/user.svg'); } &:active { -- Gitee From a1658f4726e1d7a5c455d2165a3a5d21c006a0ef Mon Sep 17 00:00:00 2001 From: cc500 <2014434568@qq.com> Date: Fri, 4 Jul 2025 15:26:26 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=EF=BC=9A=E9=A6=96=E9=A1=B5=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dialoguePanel/DialoguePanel.scss | 56 +++++++++++-------- .../dialoguePanel/DialoguePanel.vue | 12 +++- .../dialogue/components/DialogueSession.vue | 9 +-- 3 files changed, 48 insertions(+), 29 deletions(-) diff --git a/src/components/dialoguePanel/DialoguePanel.scss b/src/components/dialoguePanel/DialoguePanel.scss index ba41435..15aa8d3 100644 --- a/src/components/dialoguePanel/DialoguePanel.scss +++ b/src/components/dialoguePanel/DialoguePanel.scss @@ -214,7 +214,8 @@ } } .dialogue-panel { - width: 1000px; + width: 1064px; + padding-left: 60px; &__user { position: relative; margin-bottom: 24px; @@ -248,14 +249,16 @@ } .content { - //min-height: 48px; + font-size: 16px; + align-items: center; + align-content: center; border-radius: 8px; border-top-left-radius: 0px; padding: 12px; // display: flex; // align-items: center; color: var(--o-text-color-primary); - margin-left: calc(48px + 16px); + // margin-left: calc(48px + 16px); background-image: var(--o-content-bg); min-height: 48px; .messaege { @@ -270,7 +273,7 @@ &__robot { position: relative; - padding-left: calc(48px + 16px); + // padding-left: calc(48px + 16px); border-radius: 8px; .loading { @@ -278,8 +281,8 @@ // min-height: 72px; // padding: 24px; background-color: var(--o-bg-color-base); - border-radius: 8px; - border-top-left-radius: 0px; + border-radius: 8px !important; + border-top-left-radius: 0px !important; @keyframes rotate-img { from { @@ -297,7 +300,7 @@ top: 0px; width: 48px; height: 48px; - left: 0px; + left: -64px; background-image: url('src/assets/svgs/robot.svg'); } @@ -308,7 +311,7 @@ &-text { font-size: 16px; line-height: 24px; - padding-left: 12px; + padding-left: 4px; color: var(--o-text-color-primary); } } @@ -346,7 +349,7 @@ &::before { content: ''; position: absolute; - left: 0px; + left: -64px; top: 0px; width: 48px; height: 48px; @@ -507,13 +510,6 @@ } .dialogue-panel__content { gap: 16px; - .userArea { - min-width: 48px; - height: 48px; - img { - left: 0px; - } - } .content { margin-left: 0px; min-height: 48px; @@ -522,16 +518,12 @@ } } } - .dialogue-panel__user-time { - margin-top: 0px; - height: 20px; - line-height: 20px; - } .dialogue-panel__robot { gap: 16px; - padding-left: 64px; + // padding-left: 64px; + border-radius: 8px; .dialogue-panel__robot-content { - border-radius: 8px; + border-radius: 8px !important; // 工作流调试时控制显示 .dialogue-thought { // ai思考无需显示 @@ -558,7 +550,23 @@ color: var(--o-question-color) !important; width: 136px; line-height: 20px; - padding: 0 8px; + padding: 0px 8px; background-color: var(--o-time-text); border-radius: 12px; } +.loading-style { + border-radius: 8px !important; + border-top-left-radius: 0px !important; + border: 24px; +} +.dialogue-panel__user-time { + margin-top: 16px; + height: 20px; + line-height: 20px; +} +.userArea { + height: 48px; + img { + left: -64px !important; + } +} diff --git a/src/components/dialoguePanel/DialoguePanel.vue b/src/components/dialoguePanel/DialoguePanel.vue index d7a59c3..9f24130 100644 --- a/src/components/dialoguePanel/DialoguePanel.vue +++ b/src/components/dialoguePanel/DialoguePanel.vue @@ -509,7 +509,17 @@ const chatWithParams = async () => {
-
+
Date: Fri, 4 Jul 2025 15:35:26 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=EF=BC=9A=E5=8E=BB=E9=99=A4=E6=8C=89=E9=92=AE=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/element/index.scss | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/assets/styles/element/index.scss b/src/assets/styles/element/index.scss index 6e83b4e..cd46ec0 100644 --- a/src/assets/styles/element/index.scss +++ b/src/assets/styles/element/index.scss @@ -1,19 +1,6 @@ :root { --el-color-primary: #6395fd; --o-func-base-primary: #6395fd; - .el-button { - --o-button-color_label: #6395fd; - --o-button-color_label_hover: #7aa5ff; - &:hover{ - color: #7aa5ff; - } - &:active{ - color: #6395fd; - } - &:disabled{ - color: #6395fd; - } - } .el-message-box__container { display: flex; align-items: center; -- Gitee From 22869cf97b536c0d6a298fe20b7cef2d8a0a85fa Mon Sep 17 00:00:00 2001 From: cc500 <2014434568@qq.com> Date: Fri, 4 Jul 2025 15:44:44 +0800 Subject: [PATCH 5/7] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=EF=BC=9Atitlebar=20=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dialogue/components/TitleBar.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/dialogue/components/TitleBar.vue b/src/views/dialogue/components/TitleBar.vue index ce4f644..7022dae 100644 --- a/src/views/dialogue/components/TitleBar.vue +++ b/src/views/dialogue/components/TitleBar.vue @@ -187,4 +187,7 @@ const headerStyles = computed(() => { } } } +.popper-class{ + height: 42px !important; +} -- Gitee From ef1026b4060deb90a722d73e80c583a0bac16bfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E8=82=89=E6=A1=82?= <2014434568@qq.com> Date: Fri, 4 Jul 2025 07:52:29 +0000 Subject: [PATCH 6/7] =?UTF-8?q?update=20src/components/dialoguePanel/Dialo?= =?UTF-8?q?guePanel.scss.=20=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 吴肉桂 <2014434568@qq.com> --- src/components/dialoguePanel/DialoguePanel.scss | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/components/dialoguePanel/DialoguePanel.scss b/src/components/dialoguePanel/DialoguePanel.scss index 15aa8d3..f577d1a 100644 --- a/src/components/dialoguePanel/DialoguePanel.scss +++ b/src/components/dialoguePanel/DialoguePanel.scss @@ -245,7 +245,6 @@ width: 48px; height: 48px; position: absolute; - // left: -10px; } .content { @@ -255,10 +254,7 @@ border-radius: 8px; border-top-left-radius: 0px; padding: 12px; - // display: flex; - // align-items: center; color: var(--o-text-color-primary); - // margin-left: calc(48px + 16px); background-image: var(--o-content-bg); min-height: 48px; .messaege { @@ -273,13 +269,10 @@ &__robot { position: relative; - // padding-left: calc(48px + 16px); border-radius: 8px; .loading { display: flex; - // min-height: 72px; - // padding: 24px; background-color: var(--o-bg-color-base); border-radius: 8px !important; border-top-left-radius: 0px !important; @@ -329,7 +322,6 @@ &::before { content: ''; position: absolute; - // left: -10px; top: 30px; width: 48px; height: 48px; -- Gitee From eec4cc70e4a1fbb2276d4f5a98e449508a24eee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E8=82=89=E6=A1=82?= <2014434568@qq.com> Date: Fri, 4 Jul 2025 07:53:57 +0000 Subject: [PATCH 7/7] update src/components/dialoguePanel/DialoguePanel.scss. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 吴肉桂 <2014434568@qq.com> --- src/components/dialoguePanel/DialoguePanel.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/dialoguePanel/DialoguePanel.scss b/src/components/dialoguePanel/DialoguePanel.scss index f577d1a..541d8ca 100644 --- a/src/components/dialoguePanel/DialoguePanel.scss +++ b/src/components/dialoguePanel/DialoguePanel.scss @@ -512,7 +512,6 @@ } .dialogue-panel__robot { gap: 16px; - // padding-left: 64px; border-radius: 8px; .dialogue-panel__robot-content { border-radius: 8px !important; -- Gitee