From 8ffbed83d5ce41fa947abd023acb50c38f7ab177 Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Wed, 22 Jun 2022 14:31:44 +0800 Subject: [PATCH] =?UTF-8?q?styl:=E4=BF=AE=E5=A4=8D=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=E5=92=8C=E6=A3=80=E6=B5=8B=20=3D=E3=80=8B=20=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6=20=E9=83=A8=E5=88=86=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/detections/detection-overview.scss | 2 ++ .../components/views/report/builtinReport.scss | 18 +++++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/assets/css/components/views/detections/detection-overview.scss b/src/assets/css/components/views/detections/detection-overview.scss index 1b082355..c9a0b5ac 100644 --- a/src/assets/css/components/views/detections/detection-overview.scss +++ b/src/assets/css/components/views/detections/detection-overview.scss @@ -5,6 +5,7 @@ &>div { flex: 0 0 50%; + width: 1px; display: flex; flex-direction: column; @@ -38,6 +39,7 @@ flex-wrap: nowrap; padding: 2px 10px 2px 0; font-size: 14px; + word-break: break-all; .row__label { padding-right: 20px; diff --git a/src/assets/css/components/views/report/builtinReport.scss b/src/assets/css/components/views/report/builtinReport.scss index 103b1498..2ad62cb1 100644 --- a/src/assets/css/components/views/report/builtinReport.scss +++ b/src/assets/css/components/views/report/builtinReport.scss @@ -49,11 +49,27 @@ .el-table__row .el-table-column--selection .cell { padding: 0; } + .el-table__body-wrapper { + .el-table__expanded-cell { + z-index: 100; + } + } + .el-table__fixed, + .el-table__fixed-right { + .el-table__expanded-cell { + visibility: hidden; + } + } .el-table__expanded-cell { .down { margin-left: 32px; height: 100%; width: 1256px; + background: #fff; //盖住fixed产生的阴影 + ::v-deep .is-leaf { + color: #1b2e3b; + background: #ebeef5; + } .cn-detection__footer { text-align: center; .el-pagination__jump { @@ -92,7 +108,7 @@ background: #F9F9F9; border-radius: 2px; width: 97px; - height: 95px; + height: 94px; position: relative; .demo-progress { position: absolute;