diff --git a/ui/src/styles/app.scss b/ui/src/styles/app.scss index b3c3e9753..aff6c25c5 100644 --- a/ui/src/styles/app.scss +++ b/ui/src/styles/app.scss @@ -431,6 +431,10 @@ h5 { background: var(--app-layout-bg-color); } +.white-bg { + background: #ffffff; +} + /* 标题前带竖线样式 */ @@ -495,6 +499,14 @@ h5 { line-height: 25px; } +/* + card 无边框无阴影 灰色背景 +*/ +.card-never { + background: var(--app-layout-bg-color); + border: none !important; +} + /* 内容部分 自适应高度 */ diff --git a/ui/src/styles/element-plus.scss b/ui/src/styles/element-plus.scss index 6953d5a23..abbe536df 100644 --- a/ui/src/styles/element-plus.scss +++ b/ui/src/styles/element-plus.scss @@ -248,3 +248,12 @@ .el-divider__text { background: var(--app-layout-bg-color); } + +// el-cascader +.el-cascader-node { + padding-left: 2px; +} +.el-cascader-node__prefix { + right: 10px; + left: auto; +} diff --git a/ui/src/styles/md-editor.scss b/ui/src/styles/md-editor.scss index e7f0d0588..2546ab0a3 100644 --- a/ui/src/styles/md-editor.scss +++ b/ui/src/styles/md-editor.scss @@ -1,6 +1,5 @@ .md-editor { font-weight: 400; - background: none !important; } .md-editor-preview { diff --git a/ui/src/views/application/component/ReasoningParamSettingDialog.vue b/ui/src/views/application/component/ReasoningParamSettingDialog.vue index da5f7e883..3ca35ec39 100644 --- a/ui/src/views/application/component/ReasoningParamSettingDialog.vue +++ b/ui/src/views/application/component/ReasoningParamSettingDialog.vue @@ -9,7 +9,7 @@ :close-on-click-modal="false" :close-on-press-escape="false" > - + {{ $t('views.application.form.reasoningContent.tooltip') }} diff --git a/ui/src/views/model/component/CreateModelDialog.vue b/ui/src/views/model/component/CreateModelDialog.vue index 2dda19b16..6e217feec 100644 --- a/ui/src/views/model/component/CreateModelDialog.vue +++ b/ui/src/views/model/component/CreateModelDialog.vue @@ -95,7 +95,7 @@
{{ $t('views.model.modelForm.base_model.label') }} - {{ + {{ $t('views.model.modelForm.base_model.tooltip') }}
diff --git a/ui/src/views/model/component/EditModel.vue b/ui/src/views/model/component/EditModel.vue index 7caa6abe1..3ae869a70 100644 --- a/ui/src/views/model/component/EditModel.vue +++ b/ui/src/views/model/component/EditModel.vue @@ -73,7 +73,7 @@
{{ $t('views.model.modelForm.base_model.label') }} - {{ + {{ $t('views.model.modelForm.base_model.tooltip') }}
diff --git a/ui/src/views/model/component/ModelCard.vue b/ui/src/views/model/component/ModelCard.vue index 8c74dbfdc..4e81f7ffe 100644 --- a/ui/src/views/model/component/ModelCard.vue +++ b/ui/src/views/model/component/ModelCard.vue @@ -10,7 +10,7 @@ - + @@ -19,7 +19,7 @@ :content="`${$t('views.model.modelForm.base_model.label')}: ${props.model.model_name} ${$t('views.model.tip.downloadError')}`" placement="top" > - +
@@ -179,7 +179,7 @@ const deleteModel = () => { `${t('views.model.delete.confirmMessage')}${props.model.name} ?`, { confirmButtonText: t('common.confirm'), - confirmButtonClass: 'danger', + confirmButtonClass: 'color-danger', }, ) .then(() => { diff --git a/ui/src/views/paragraph/component/ParagraphCard.vue b/ui/src/views/paragraph/component/ParagraphCard.vue index 219c75695..99a30584a 100644 --- a/ui/src/views/paragraph/component/ParagraphCard.vue +++ b/ui/src/views/paragraph/component/ParagraphCard.vue @@ -146,7 +146,7 @@ function deleteParagraph(row: any) { t('views.paragraph.delete.confirmMessage'), { confirmButtonText: t('common.confirm'), - confirmButtonClass: 'danger', + confirmButtonClass: 'color-danger', }, ) .then(() => { diff --git a/ui/src/views/paragraph/index.vue b/ui/src/views/paragraph/index.vue index 5579182c2..ab634d6da 100644 --- a/ui/src/views/paragraph/index.vue +++ b/ui/src/views/paragraph/index.vue @@ -230,7 +230,7 @@ function deleteMulParagraph() { t('views.paragraph.delete.confirmMessage'), { confirmButtonText: t('common.confirm'), - confirmButtonClass: 'danger', + confirmButtonClass: 'color-danger', }, ) .then(() => { diff --git a/ui/src/views/problem/index.vue b/ui/src/views/problem/index.vue index a5a88b9c3..bd363af31 100644 --- a/ui/src/views/problem/index.vue +++ b/ui/src/views/problem/index.vue @@ -278,7 +278,7 @@ function deleteProblem(row: any) { `${t('views.problem.delete.confirmMessage1')} ${row.paragraph_count} ${t('views.problem.delete.confirmMessage2')}`, { confirmButtonText: t('common.confirm'), - confirmButtonClass: 'danger', + confirmButtonClass: 'color-danger', }, ) .then(() => { diff --git a/ui/src/views/system-chat-user/chat-user/index.vue b/ui/src/views/system-chat-user/chat-user/index.vue index 002412317..199411a2a 100644 --- a/ui/src/views/system-chat-user/chat-user/index.vue +++ b/ui/src/views/system-chat-user/chat-user/index.vue @@ -352,7 +352,7 @@ function createUser() { function deleteUserManage(row: ChatUserItem) { MsgConfirm(`${t('views.userManage.delete.confirmTitle')}${row.nick_name} ?`, '', { confirmButtonText: t('common.confirm'), - confirmButtonClass: 'danger', + confirmButtonClass: 'color-danger', }) .then(() => { loading.value = true @@ -394,7 +394,7 @@ async function getChatGroupList() { function handleBatchDelete() { MsgConfirm(t('views.chatUser.batchDeleteUser', { count: multipleSelection.value.length }), '', { confirmButtonText: t('common.confirm'), - confirmButtonClass: 'danger', + confirmButtonClass: 'color-danger', }) .then(() => { userManageApi diff --git a/ui/src/views/system-chat-user/group/index.vue b/ui/src/views/system-chat-user/group/index.vue index b32f33b80..d1beb2a93 100644 --- a/ui/src/views/system-chat-user/group/index.vue +++ b/ui/src/views/system-chat-user/group/index.vue @@ -290,7 +290,7 @@ function deleteGroup(item: ListItem) { t('views.chatUser.group.delete.confirmMessage'), { confirmButtonText: t('common.confirm'), - confirmButtonClass: 'danger', + confirmButtonClass: 'color-danger', }, ) .then(() => { @@ -376,7 +376,7 @@ function handleDeleteUser(item?: ChatUserGroupUserItem) { '', { confirmButtonText: t('common.confirm'), - confirmButtonClass: 'danger', + confirmButtonClass: 'color-danger', }, ) .then(() => { diff --git a/ui/src/views/system/role/component/Member.vue b/ui/src/views/system/role/component/Member.vue index 47070ae16..36e9ff19a 100644 --- a/ui/src/views/system/role/component/Member.vue +++ b/ui/src/views/system/role/component/Member.vue @@ -162,7 +162,7 @@ function handleAdd() { function handleDelete(row: RoleMemberItem) { MsgConfirm(`${t('views.role.member.delete.confirmTitle')}${row.nick_name} ?`, '', { confirmButtonText: t('common.confirm'), - confirmButtonClass: 'danger', + confirmButtonClass: 'color-danger', }) .then(() => { loading.value = true @@ -181,4 +181,4 @@ function handleDelete(row: RoleMemberItem) { .member-table :deep(.el-table__cell):nth-child(2) { border-right: 1px solid var(--el-table-border-color); } - \ No newline at end of file + diff --git a/ui/src/views/system/role/index.vue b/ui/src/views/system/role/index.vue index 027a7849b..fc0c877c4 100644 --- a/ui/src/views/system/role/index.vue +++ b/ui/src/views/system/role/index.vue @@ -269,7 +269,7 @@ function deleteRole(item: RoleItem) { t('views.role.delete.confirmMessage'), { confirmButtonText: t('common.confirm'), - confirmButtonClass: 'danger', + confirmButtonClass: 'color-danger', }, ) .then(() => { diff --git a/ui/src/views/system/user-manage/index.vue b/ui/src/views/system/user-manage/index.vue index eda45532e..e288fc6a6 100644 --- a/ui/src/views/system/user-manage/index.vue +++ b/ui/src/views/system/user-manage/index.vue @@ -265,7 +265,7 @@ function deleteUserManage(row: any) { t('views.userManage.delete.confirmMessage'), { confirmButtonText: t('common.confirm'), - confirmButtonClass: 'danger', + confirmButtonClass: 'color-danger', }, ) .then(() => { diff --git a/ui/src/views/system/workspace/component/Member.vue b/ui/src/views/system/workspace/component/Member.vue index edc7c582f..ad2c35f09 100644 --- a/ui/src/views/system/workspace/component/Member.vue +++ b/ui/src/views/system/workspace/component/Member.vue @@ -158,7 +158,7 @@ function handleAdd() { function handleDelete(row: WorkspaceMemberItem) { MsgConfirm(`${t('views.workspace.member.delete.confirmTitle')}${row.nick_name} ?`, '', { confirmButtonText: t('common.confirm'), - confirmButtonClass: 'danger', + confirmButtonClass: 'color-danger', }) .then(() => { loading.value = true diff --git a/ui/src/views/system/workspace/index.vue b/ui/src/views/system/workspace/index.vue index 345f4ed51..1415d0055 100644 --- a/ui/src/views/system/workspace/index.vue +++ b/ui/src/views/system/workspace/index.vue @@ -191,7 +191,7 @@ async function deleteWorkspace(item: WorkspaceItem) { t('views.workspace.delete.confirmContent'), { confirmButtonText: t('common.confirm'), - confirmButtonClass: 'danger', + confirmButtonClass: 'color-danger', }, ).then(() => { WorkspaceApi.deleteWorkspace(item.id as string, loading).then(async () => { diff --git a/ui/src/views/tool/ToolDebugDrawer.vue b/ui/src/views/tool/ToolDebugDrawer.vue index 0d4475147..c9c5ba800 100644 --- a/ui/src/views/tool/ToolDebugDrawer.vue +++ b/ui/src/views/tool/ToolDebugDrawer.vue @@ -54,7 +54,7 @@
- * + *
- * + *
{{ $t('views.application.form.aiModel.label') - }}**
{{ $t('views.application.form.prompt.label') - }}** diff --git a/ui/src/workflow/nodes/reranker-node/ParamSettingDialog.vue b/ui/src/workflow/nodes/reranker-node/ParamSettingDialog.vue index 36734d62e..ec32d67a2 100644 --- a/ui/src/workflow/nodes/reranker-node/ParamSettingDialog.vue +++ b/ui/src/workflow/nodes/reranker-node/ParamSettingDialog.vue @@ -9,65 +9,62 @@ :close-on-click-modal="false" :close-on-press-escape="false" > -
- - - - - - - - - - - - - - - - - - + + + + + - - -
+ + + + + + + + + + + +
+ @@ -148,7 +149,7 @@
{{ $t('views.applicationWorkflow.nodes.rerankerNode.reranker_model.label') - }}**
diff --git a/ui/src/workflow/nodes/search-knowledge-node/index.vue b/ui/src/workflow/nodes/search-knowledge-node/index.vue index 65609f89d..40ca892e9 100644 --- a/ui/src/workflow/nodes/search-knowledge-node/index.vue +++ b/ui/src/workflow/nodes/search-knowledge-node/index.vue @@ -26,7 +26,7 @@