From 99acef0f08a41bcd4e91e9ae9fdac5d407dec8d7 Mon Sep 17 00:00:00 2001 From: cc500 <2014434568@qq.com> Date: Fri, 11 Jul 2025 15:34:18 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=EF=BC=9A=E4=B8=8D=E8=B5=9E=E5=90=8C=E6=B5=AE=E7=AA=97=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dialoguePanel/DialoguePanel.scss | 29 ++++++++++++++----- .../dialoguePanel/DialoguePanel.vue | 6 ++-- .../dialogue/components/AgainstPopover.vue | 16 ++-------- 3 files changed, 26 insertions(+), 25 deletions(-) diff --git a/src/components/dialoguePanel/DialoguePanel.scss b/src/components/dialoguePanel/DialoguePanel.scss index cef4685..3d6c839 100644 --- a/src/components/dialoguePanel/DialoguePanel.scss +++ b/src/components/dialoguePanel/DialoguePanel.scss @@ -47,15 +47,23 @@ } .el-popper[role='tooltip'] { + background-color: var(--o-bg-color-base) !important; max-width: 500px; } .el-popper { border: none; + background-color: pink !important; + background-color: var(--o-bg-color-base) !important; + + .against-popover { + padding: 16px; + } .against-popover-title { color: var(--o-text-color-primary); font-size: 16px; + padding-bottom: 16px; font-weight: 700; line-height: 24px; } @@ -80,15 +88,18 @@ border: 1px solid #7aa5ff; } } + .cancel_button_light[data-v-74300042]:not(.is-disabled) { + color: var(--o-text-color-primary); + } .against-popover .against-button button:first-child:hover { background-color: transparent; } .against-button button:last-child { - background-color: var(--o-color-primary); + background-color: var(--el-color-primary); border: none; - color: var(--o-color-white); + color: var(--o-bg-color-base) !important; &:hover { background-color: #7aa5ff; @@ -102,9 +113,15 @@ color: #e1eaff; } + .error-input { + margin-bottom: 16px; + } + .against-popover .error-input__link, .against-popover .error-input__desc { background-color: var(--o-bg-color-light); + padding: 8px 16px; + margin-bottom: 8px; } } @@ -160,11 +177,6 @@ float: left; //解决整体右浮动.提示语位置偏差 } -::deep .el-popper .el-popper.is-customized { - float: right; //解决整体右浮动.提示语位置偏差 - background-color: pink; -} - .el-popper.is-customized { padding: 6px 12px; background: #f4f6fa; @@ -584,3 +596,6 @@ left: -64px !important; } } +.disliked-button { + background-color: #5ab3ff !important; +} diff --git a/src/components/dialoguePanel/DialoguePanel.vue b/src/components/dialoguePanel/DialoguePanel.vue index 6bf185a..4462dca 100644 --- a/src/components/dialoguePanel/DialoguePanel.vue +++ b/src/components/dialoguePanel/DialoguePanel.vue @@ -7,6 +7,7 @@ import { useSessionStore, useChangeThemeStore, echartsObj } from '@/store'; import { useHistorySessionStore } from 'src/store'; import AgainstPopover from 'src/views/dialogue/components/AgainstPopover.vue'; import dayjs from 'dayjs'; +import './DialoguePanel.scss' import xss from 'xss'; import { errorMsg, successMsg } from 'src/components/Message'; import ReportPopover from 'src/views/dialogue/components/ReportPopover.vue'; @@ -692,7 +693,7 @@ const chatWithParams = async () => { > { - diff --git a/src/views/dialogue/components/AgainstPopover.vue b/src/views/dialogue/components/AgainstPopover.vue index 2755a02..6a703d8 100644 --- a/src/views/dialogue/components/AgainstPopover.vue +++ b/src/views/dialogue/components/AgainstPopover.vue @@ -93,22 +93,10 @@ const handleSubmit = () => { />
- + {{ $t('history.cancel') }} - + {{ $t('feedback.submit') }}
-- Gitee From 945c9c3d93819a611ed1e4bc8791f3f66030e458 Mon Sep 17 00:00:00 2001 From: cc500 <2014434568@qq.com> Date: Thu, 17 Jul 2025 16:49:46 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=EF=BC=9A=E5=B7=A5=E4=BD=9C=E6=B5=81=20icon=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/dialoguePanel/DialogueFlow.vue | 89 +++++++++++++------ src/views/createapp/components/workFlow.vue | 1 + 2 files changed, 64 insertions(+), 26 deletions(-) diff --git a/src/components/dialoguePanel/DialogueFlow.vue b/src/components/dialoguePanel/DialogueFlow.vue index f739356..e0c6a5d 100644 --- a/src/components/dialoguePanel/DialogueFlow.vue +++ b/src/components/dialoguePanel/DialogueFlow.vue @@ -2,6 +2,7 @@ import { ref, watch } from 'vue'; import FlowCode from './FlowCode.vue'; import { StatusInfoTitle } from '@/views/createapp/components/types'; +import { IconSuccess, IconError } from '@computing/opendesign-icons'; const props = withDefaults( defineProps<{ @@ -60,18 +61,28 @@ watch( alt="" class="loading-animeIcon" /> - - + + + + + +
+ + + +
{{ props.flowdata.title }}
@@ -132,18 +143,22 @@ watch( alt="" class="loading-animeIcon" /> - - +
+ + + +
+
+ + + +
{{ secItem.title }}
@@ -262,21 +277,43 @@ watch( margin-right: 8px; padding-right: 8px; } +.loading-icon-box { + align-content: center; + .loading-icon { + width: 21px; + height: auto; + display: block; + svg { + width: 14px; + height: 14px; + } + } + .loading-title-icon{ + width: 24px; + height: 24px; + display: block; + margin-right: 12px; + svg { + width: 21px; + height: 21px; + } + } +} .border-red { - border: 1px solid #F7C1C1; + border: 1px solid #f7c1c1; } .border-green { - border: 1px solid #C2E7C7; + border: 1px solid #c2e7c7; } .border-blue { border: 1px solid transparent; border-radius: 4px; - background: + background: linear-gradient(white, white) padding-box, - linear-gradient(180deg, #6C77FA, #6DB9F9) border-box; + linear-gradient(180deg, #6c77fa, #6db9f9) border-box; } .demo-collapse { margin-bottom: 16px; @@ -316,8 +353,8 @@ watch( &-animeIcon { margin-right: 8px; - width: 24px; - height: 24px; + width: 21px; + height: 21px; align-items: center; align-self: center; animation: rotate-img 1s infinite linear; diff --git a/src/views/createapp/components/workFlow.vue b/src/views/createapp/components/workFlow.vue index b5907ea..d65f1df 100644 --- a/src/views/createapp/components/workFlow.vue +++ b/src/views/createapp/components/workFlow.vue @@ -1,6 +1,7 @@