From adb6932593c193856663db4fe97568e90d41b28d Mon Sep 17 00:00:00 2001 From: hanyuxia Date: Wed, 25 Mar 2020 09:21:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9BUG=20dashboard=E6=A8=A1?= =?UTF-8?q?=E5=9D=97:1=20=E5=9B=BE=E8=A1=A8=E6=8B=96=E6=8B=BD=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=A4=A7=E5=B0=8F=E7=A9=BA=E7=99=BD=E5=8C=BA=E5=9F=9F?= =?UTF-8?q?=E8=B0=83=E6=95=B4=202=E5=9B=BE=E8=A1=A8=E5=8F=AA=E6=9C=89title?= =?UTF-8?q?=E9=83=A8=E5=88=86=E5=8F=AF=E8=BF=9B=E8=A1=8C=E6=8B=96=E6=8B=BD?= =?UTF-8?q?=EF=BC=8C=E9=81=BF=E5=85=8D=E6=8B=96=E6=8B=BD=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E6=97=B6=E6=A0=B7=E5=BC=8F=E4=B9=B1=203=20?= =?UTF-8?q?=E6=8B=96=E6=8B=BD=E6=94=B9=E5=8F=98=E5=9B=BE=E8=A1=A8=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E5=90=8E=E5=8F=B0=E6=95=B0=E6=8D=AE=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=EF=BC=88=E7=9B=AE=E5=89=8D=E5=9B=BE=E8=A1=A8=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E6=8B=96=E5=8A=A8=E6=97=B6=E6=BB=9A=E5=8A=A8=E6=9D=A1=E4=B8=8D?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/charts/chart-list.vue | 131 ++++++++++++++++-- .../src/components/charts/chart-table.scss | 5 +- .../src/components/charts/chart-table.vue | 10 +- .../components/charts/line-chart-block.vue | 11 +- 4 files changed, 136 insertions(+), 21 deletions(-) diff --git a/nezha-fronted/src/components/charts/chart-list.vue b/nezha-fronted/src/components/charts/chart-list.vue index e856ba96f..a337701e3 100644 --- a/nezha-fronted/src/components/charts/chart-list.vue +++ b/nezha-fronted/src/components/charts/chart-list.vue @@ -12,18 +12,39 @@ width: calc(100% - 14px); overflow-x:hidden;/*避免鼠标第一次放到曲线时,x轴出现滚动条后消失*/ } - .drag-chart-class{ - cursor:move; + .dragChartClass{ + cursor:move;/* + border:solid 2px yellow; + color:yellow; + background-color:yellow; + opacity:1;*/ /*background-color:red; opacity:1*/ } + .chooseClass{ + cursor:move;/* + border:solid 2px purple; + color:purple; + background-color:purple;*/ + } + .chosenClass .chartTitle{/* + color:orange; + border:solid 2px orange;*/ + } .fallback-class{ + cursor:move; /*background-color:green; cursor:pointer;*/ } .chart-ghost-class{ /*opacity:1*/ } + .ghost {/* + opacity: 1; + border:solid 2px green; + color:green; + background-color:green;*/ + }