From 4e4cae085739fd5e72e047d368351bfd6ceaf4e3 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Sun, 25 Mar 2018 12:20:40 +0800 Subject: [PATCH] grid 冻结列 上下滚动实现 --- src/app/routes/analysis/query/query.component.less | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/routes/analysis/query/query.component.less b/src/app/routes/analysis/query/query.component.less index 44ef315..6a879b2 100644 --- a/src/app/routes/analysis/query/query.component.less +++ b/src/app/routes/analysis/query/query.component.less @@ -1,15 +1,17 @@ .line-chart { height: 100%; } -.table-tr-focus-bgcolor { - background-color: #ecf6fd; -} .table-tr-bgcolor-focus { background-color: #ecf6fd; } .table-tr-bgcolor-blur { background-color: #fff; } +.table-scroll { + z-index: 9; + height: 398px; + overflow: hidden; +} .table-scroll-box-shadow { -moz-box-shadow: 4px 0 2px rgba(0, 0, 0, 0.1); /* ������ Firefox */ box-shadow: 4px 0 2px rgba(0, 0, 0, 0.1); -- Gitblit v1.8.0