From e6c1e546a3e3ad88aab65236040adfbcfb0c7b3c Mon Sep 17 00:00:00 2001 From: zhangxiaolong Date: Thu, 21 Apr 2022 17:26:06 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-1795=20feat=20:=20explore=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=8A=A8=E6=80=81=E6=B7=BB=E5=8A=A0=E5=AE=9E=E7=8E=B0=E3=80=81?= =?UTF-8?q?=E4=BF=AE=E5=A4=8Dalertrules=E7=9A=84rightbox=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=AD=A3=E5=B8=B8=E5=9B=9E=E6=98=BE=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E3=80=81=E8=B0=83=E6=95=B4=E5=AE=9E=E7=8E=B0=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=80=BC=E6=B7=BB=E5=8A=A0=E5=88=B0=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E5=B0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../page/dashboard/explore/promqlInput.scss | 13 ++- .../page/dashboard/explore/promqlInput.vue | 96 +++++++++++-------- 2 files changed, 68 insertions(+), 41 deletions(-) diff --git a/nezha-fronted/src/assets/css/components/page/dashboard/explore/promqlInput.scss b/nezha-fronted/src/assets/css/components/page/dashboard/explore/promqlInput.scss index c18236546..053ac4e9d 100644 --- a/nezha-fronted/src/assets/css/components/page/dashboard/explore/promqlInput.scss +++ b/nezha-fronted/src/assets/css/components/page/dashboard/explore/promqlInput.scss @@ -2,7 +2,11 @@ position: relative; width: 100%; display: flex; - #editor{ + // #editor{ + // width: 100%; + // border: 1px solid $--border-color-light; + // } + .no-close{ width: 100%; border: 1px solid $--border-color-light; } @@ -156,4 +160,11 @@ text-align: center; margin-bottom: 14px; } + .cm-line{ + color: $--color-text-regular, + + } + .el-col .el-col-24 .metric-selector-input-box{ + + } } diff --git a/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue b/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue index 5866ced6e..4aefd59ce 100644 --- a/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue +++ b/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue @@ -76,10 +76,14 @@ class="input-box" @click="dropDownVisible = false" > -
+