From 82c891d645fda05f2af76489282b8c73fec89cd4 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 12 Oct 2021 14:39:43 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20=E4=BB=AA=E8=A1=A8=E6=9D=BF=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E9=80=89=E9=A1=B9=E5=8D=A1=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/widget/DeWidget/DeTabs.vue | 17 +---------------- frontend/src/styles/index.scss | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 19 deletions(-) diff --git a/frontend/src/components/widget/DeWidget/DeTabs.vue b/frontend/src/components/widget/DeWidget/DeTabs.vue index 26ffb9a7b2..900c979990 100644 --- a/frontend/src/components/widget/DeWidget/DeTabs.vue +++ b/frontend/src/components/widget/DeWidget/DeTabs.vue @@ -34,7 +34,7 @@ -
+
@@ -250,23 +250,8 @@ export default { } .de-tabs { height: 100%; - >>>div.el-tabs__content { - height: calc(100% - 55px); - .el-tab-pane { - height: 100%; - } - } - } - /* .de-tab-i { - transition: 0.1s; - opacity: 0; - transform: translateY(100%); } - .de-tab-drop:hover .de-tab-i { - opacity: 1; - transform: translateY(0); - } */ .de-tab-content { width: 100%; height: 100%; diff --git a/frontend/src/styles/index.scss b/frontend/src/styles/index.scss index 36e3cc149a..57d327ea2b 100644 --- a/frontend/src/styles/index.scss +++ b/frontend/src/styles/index.scss @@ -43,9 +43,6 @@ html { box-sizing: border-box; } -#app { - //height: $contentHeight; -} *, *:before, @@ -151,6 +148,18 @@ div:focus { } } +.de-tabs { + .el-tabs__header { + margin: 0 0 0 0 !important; + } + .el-tabs__content { + height: calc(100% - 55px) !important; + .el-tab-pane { + height: 100% !important; + } + } +} + .de-search-header { .el-tabs__header { display: none !important;; From 3bb4258cd847b212107ce3bb85f1bea655f99453 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 12 Oct 2021 15:02:11 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20=E9=80=89=E9=A1=B9=E5=8D=A1=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E8=AF=95=E5=9B=BE=E6=9C=89=E9=BB=98=E8=AE=A4=E9=80=89?= =?UTF-8?q?=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/widget/DeWidget/DeTabs.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/widget/DeWidget/DeTabs.vue b/frontend/src/components/widget/DeWidget/DeTabs.vue index 900c979990..18fa38d54a 100644 --- a/frontend/src/components/widget/DeWidget/DeTabs.vue +++ b/frontend/src/components/widget/DeWidget/DeTabs.vue @@ -75,7 +75,7 @@ center >
- +
@@ -161,6 +161,10 @@ export default { }, sureViewSelector() { const nodes = this.$refs.viewSelect.getCurrentSelected() + if (!nodes || nodes.length === 0) { + this.viewDialogVisible = false + return + } const node = nodes[0] let component From bd994d61d9ef6317ed47ef57ac42555ccbcb6c73 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 12 Oct 2021 16:36:00 +0800 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20=E5=AE=8C=E5=96=84=E6=B7=B1=E8=89=B2?= =?UTF-8?q?=E4=B8=BB=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/styles/index.scss | 8 +++ frontend/src/views/chart/view/ChartEdit.vue | 2 +- .../src/views/dataset/data/UpdateInfo.vue | 66 ++++++++++--------- 3 files changed, 44 insertions(+), 32 deletions(-) diff --git a/frontend/src/styles/index.scss b/frontend/src/styles/index.scss index 57d327ea2b..486ee5df21 100644 --- a/frontend/src/styles/index.scss +++ b/frontend/src/styles/index.scss @@ -427,6 +427,10 @@ div:focus { border: none !important; } +.blackTheme .el-picker-panel__footer { + background-color: var(--MainBG) !important; +} + .el-pagination { button:disabled { @@ -611,6 +615,10 @@ div:focus { background-color: #000000 ; } +.blackTheme .CodeMirror-line { + background-color: #000000 !important; +} + .blackTheme .el-radio-button__inner { background-color: var(--TableBG); color: var(--TableColor); diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 4bb044ae7a..1f74048d75 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -613,7 +613,7 @@ :fullscreen="true" > -