From 73a73bd18c0efdfe6690d93f59f8243358f651b6 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Fri, 23 Feb 2024 16:17:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=9F=A5=E8=AF=86=E5=BA=93=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/package.json | 2 +- ui/src/components/app-table/index.vue | 7 ++- .../top-bar/avatar/ResetPasssword.vue | 8 +-- ui/src/styles/element-plus.scss | 1 - ui/src/views/dataset/CreateDataset.vue | 2 +- .../dataset/component/ParagraphPreview.vue | 4 +- ui/src/views/dataset/step/StepSecond.vue | 3 + .../paragraph/component/ParagraphDialog.vue | 25 ++++---- .../paragraph/component/ProblemComponent.vue | 59 ++++++++++--------- ui/src/views/paragraph/index.vue | 6 +- 10 files changed, 67 insertions(+), 50 deletions(-) diff --git a/ui/package.json b/ui/package.json index 774b1c467..a65f52c87 100644 --- a/ui/package.json +++ b/ui/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "axios": "^0.27.2", - "element-plus": "^2.5.3", + "element-plus": "^2.5.6", "install": "^0.13.0", "lodash": "^4.17.21", "markdown-it": "^13.0.2", diff --git a/ui/src/components/app-table/index.vue b/ui/src/components/app-table/index.vue index ba8aa2021..ad7119076 100644 --- a/ui/src/components/app-table/index.vue +++ b/ui/src/components/app-table/index.vue @@ -15,7 +15,7 @@ 取消
- + 快速创建空白文档 @@ -111,5 +111,10 @@ onMounted(() => { display: flex; justify-content: flex-end; } + .quich-button { + &:hover { + color: var(--el-button-text-color); + } + } } diff --git a/ui/src/layout/components/top-bar/avatar/ResetPasssword.vue b/ui/src/layout/components/top-bar/avatar/ResetPasssword.vue index 948843b33..297f6ebe9 100644 --- a/ui/src/layout/components/top-bar/avatar/ResetPasssword.vue +++ b/ui/src/layout/components/top-bar/avatar/ResetPasssword.vue @@ -1,12 +1,12 @@ diff --git a/ui/src/styles/element-plus.scss b/ui/src/styles/element-plus.scss index 5fc4f9a8b..c0e583d8e 100644 --- a/ui/src/styles/element-plus.scss +++ b/ui/src/styles/element-plus.scss @@ -64,7 +64,6 @@ margin: 5px 0; } .el-dialog__body { - padding: 16px var(--el-dialog-padding-primary) 8px !important; color: var(--app-text-color); } } diff --git a/ui/src/views/dataset/CreateDataset.vue b/ui/src/views/dataset/CreateDataset.vue index f4a3a1f80..c6570ea35 100644 --- a/ui/src/views/dataset/CreateDataset.vue +++ b/ui/src/views/dataset/CreateDataset.vue @@ -34,7 +34,7 @@