diff --git a/ui/src/components/card-add/index.vue b/ui/src/components/card-add/index.vue
index 3e993b5b..7572865d 100644
--- a/ui/src/components/card-add/index.vue
+++ b/ui/src/components/card-add/index.vue
@@ -25,7 +25,7 @@ defineProps({
cursor: pointer;
min-height: var(--card-min-height);
border: 1px dashed var(--el-border-color);
- background: #eff0f1;
+ background: var(--el-disabled-bg-color);
border-radius: 8px;
box-sizing: border-box;
diff --git a/ui/src/components/dynamics-form/items/complex/ArrayObjectCard.vue b/ui/src/components/dynamics-form/items/complex/ArrayObjectCard.vue
index 6b7ab085..98d88b9b 100644
--- a/ui/src/components/dynamics-form/items/complex/ArrayObjectCard.vue
+++ b/ui/src/components/dynamics-form/items/complex/ArrayObjectCard.vue
@@ -129,7 +129,7 @@ defineExpose({
cursor: pointer;
min-height: var(--card-min-height);
border: 1px dashed var(--el-color-primary);
- background: #eff0f1;
+ background: var(--el-disabled-bg-color);;
padding-bottom: 20px;
.add-icon {
diff --git a/ui/src/styles/element-plus.scss b/ui/src/styles/element-plus.scss
index e0177f49..68393687 100644
--- a/ui/src/styles/element-plus.scss
+++ b/ui/src/styles/element-plus.scss
@@ -5,6 +5,9 @@
--el-border-color: #dee0e3;
--el-text-color-regular: #1f2329;
--el-color-info: #8f959e !important;
+ --el-disabled-bg-color: #eff0f1;
+ --el-disabled-border-color: #bbbfc4;
+ --el-text-color-primary: #1f2329;
}
.el-button {
@@ -251,6 +254,9 @@
padding: 1px 12px !important;
}
+.el-input.is-disabled .el-input__wrapper {
+}
+
.el-input--large {
.el-input__inner {
font-size: 16px;
diff --git a/ui/src/views/application-overview/component/XPackDisplaySettingDialog.vue b/ui/src/views/application-overview/component/XPackDisplaySettingDialog.vue
index b28507d2..681dbdf3 100644
--- a/ui/src/views/application-overview/component/XPackDisplaySettingDialog.vue
+++ b/ui/src/views/application-overview/component/XPackDisplaySettingDialog.vue
@@ -477,12 +477,7 @@ defineExpose({ open })
top: 25px;
border-radius: 8px;
border: 1px solid #ffffff;
- background: linear-gradient(
- 188deg,
- rgba(235, 241, 255, 0.2) 39.6%,
- rgba(231, 249, 255, 0.2) 94.3%
- ),
- #eff0f1;
+ background: var(--dialog-bg-gradient-color);
box-shadow: 0px 4px 8px 0px rgba(31, 35, 41, 0.1);
overflow: hidden;
width: 330px;
diff --git a/ui/src/views/application-workflow/index.vue b/ui/src/views/application-workflow/index.vue
index 5da2bb8e..fe58d0f3 100644
--- a/ui/src/views/application-workflow/index.vue
+++ b/ui/src/views/application-workflow/index.vue
@@ -405,12 +405,7 @@ onBeforeUnmount(() => {
position: relative;
border-radius: 8px;
border: 1px solid #ffffff;
- background: linear-gradient(
- 188deg,
- rgba(235, 241, 255, 0.2) 39.6%,
- rgba(231, 249, 255, 0.2) 94.3%
- ),
- #eff0f1;
+ background: var(--dialog-bg-gradient-color);
box-shadow: 0px 4px 8px 0px rgba(31, 35, 41, 0.1);
position: fixed;
bottom: 16px;
diff --git a/ui/src/views/log/index.vue b/ui/src/views/log/index.vue
index bdf5af51..5bb8141c 100644
--- a/ui/src/views/log/index.vue
+++ b/ui/src/views/log/index.vue
@@ -162,8 +162,8 @@
{
border-bottom: none !important;
padding-left: 16px;
font-size: 14px;
+ height: 40px;
&:hover {
background: var(--app-text-color-light-1);
+ border-radius: 4px;
}
}
:deep(.el-collapse-item) {
@@ -340,7 +342,7 @@ onMounted(() => {
border-bottom: none !important;
}
:deep(.el-collapse-item__content) {
- padding-bottom: 0 !important;;
+ padding-bottom: 0 !important;
}
}
}
diff --git a/ui/src/views/theme/LoginPreview.vue b/ui/src/views/theme/LoginPreview.vue
index ed2aa004..1124ae87 100644
--- a/ui/src/views/theme/LoginPreview.vue
+++ b/ui/src/views/theme/LoginPreview.vue
@@ -84,7 +84,7 @@ const fileURL = computed(() => {
}
.header {
- background: #eff0f1;
+ background: var(--el-disabled-bg-color);
height: 38px;
border-radius: 4px 4px 0 0;
position: relative;
diff --git a/ui/src/workflow/common/data.ts b/ui/src/workflow/common/data.ts
index 9e10784b..21af2e04 100644
--- a/ui/src/workflow/common/data.ts
+++ b/ui/src/workflow/common/data.ts
@@ -270,7 +270,7 @@ export const speechToTextNode = {
}
export const textToSpeechNode = {
type: WorkflowType.TextToSpeechNode,
- text: '将文本通过语音合成模型转换为音频文件',
+ text: '将文本通过语音合成模型转换为音频',
label: '文本转语音',
height: 252,
properties: {
@@ -287,17 +287,17 @@ export const textToSpeechNode = {
}
export const menuNodes = [
aiChatNode,
+ imageUnderstandNode,
+ imageGenerateNode,
searchDatasetNode,
- questionNode,
+ rerankerNode,
conditionNode,
replyNode,
- rerankerNode,
- documentExtractNode,
- imageUnderstandNode,
formNode,
+ questionNode,
+ documentExtractNode,
speechToTextNode,
- textToSpeechNode,
- imageGenerateNode
+ textToSpeechNode
]
/**
@@ -390,7 +390,7 @@ export const nodeDict: any = {
[WorkflowType.ImageUnderstandNode]: imageUnderstandNode,
[WorkflowType.TextToSpeechNode]: textToSpeechNode,
[WorkflowType.SpeechToTextNode]: speechToTextNode,
- [WorkflowType.ImageGenerateNode]: imageGenerateNode
+ [WorkflowType.ImageGenerateNode]: imageGenerateNode
}
export function isWorkFlow(type: string | undefined) {
return type === 'WORK_FLOW'
diff --git a/ui/src/workflow/icons/image-generate-node-icon.vue b/ui/src/workflow/icons/image-generate-node-icon.vue
index 6f58417d..64ca192b 100644
--- a/ui/src/workflow/icons/image-generate-node-icon.vue
+++ b/ui/src/workflow/icons/image-generate-node-icon.vue
@@ -1,6 +1,6 @@
-
-
+
+
diff --git a/ui/src/workflow/nodes/base-node/component/FileUploadSettingDialog.vue b/ui/src/workflow/nodes/base-node/component/FileUploadSettingDialog.vue
index 05c67b9f..ddbb1a00 100644
--- a/ui/src/workflow/nodes/base-node/component/FileUploadSettingDialog.vue
+++ b/ui/src/workflow/nodes/base-node/component/FileUploadSettingDialog.vue
@@ -39,6 +39,7 @@
class="card-checkbox cursor w-full mb-8"
:class="form_data.document ? 'active' : ''"
style="--el-card-padding: 8px 16px"
+ @click.stop="form_data.document = !form_data.document"
>
@@ -48,7 +49,10 @@
需要使用“文档内容提取”节点解析文档内容
-
+