diff --git a/src/assets/css/common.scss b/src/assets/css/common.scss index d8f2c8c7..1a2b05cf 100644 --- a/src/assets/css/common.scss +++ b/src/assets/css/common.scss @@ -21,3 +21,10 @@ body { font-size: 14px; position: fixed; } +.icon { + width: 1em; + height: 1em; + vertical-align: -0.15em; + fill: currentColor; + overflow: hidden; +} diff --git a/src/assets/css/common/table-common.scss b/src/assets/css/common/table-common.scss index 027d7fd1..58bcd55d 100644 --- a/src/assets/css/common/table-common.scss +++ b/src/assets/css/common/table-common.scss @@ -178,9 +178,6 @@ .table-operation-items { display: flex; justify-content: center; - .table-operation-item--down { - margin-right: 16px; - } .table-operation-item { display: flex; height: 22px; @@ -250,7 +247,7 @@ box-shadow: 1px 0 $--right-box-border-color; } .el-table:not(.no-operation):not(.chart-table).el-table--border .el-table__header-wrapper th:nth-last-child(3) { - border-right: none !important; + //border-right: none !important; box-shadow: 1px 0 $--right-box-border-color; } .el-table__fixed-body-wrapper { diff --git a/src/assets/css/components/views/report/builtinReport.scss b/src/assets/css/components/views/report/builtinReport.scss index ec29a6d8..7e9edbf4 100644 --- a/src/assets/css/components/views/report/builtinReport.scss +++ b/src/assets/css/components/views/report/builtinReport.scss @@ -52,7 +52,8 @@ bottom: 17px; z-index: 2; left: 20px; - height: 22px; + line-height: 24px; + height: 24px; display: flex; .el-checkbox { width: 14px; @@ -65,34 +66,61 @@ } } .table-operation-all-span { - span:nth-of-type(1) { + height: 24px; + display: flex; + span { margin: 0 10px; font-size: 14px; color: #666666; letter-spacing: 0; font-weight: 400; } - span:nth-of-type(2) { - font-size: 12px; - color: #FFFFFF; + .table-operation-back-down { font-weight: 500; height: 24px; background: #D7D7D7; border-radius: 2px; - padding: 3px 8px; - line-height: 16px; + line-height: 21px; cursor: pointer; - margin-top: 2px; + position: relative; + span { + margin: 3px 8px; + font-size: 12px; + color: #FFFFFF; + } } - span:nth-of-type(2).table-operation-all-checkbox { + .table-operation-back-down div { + color: #FFFFFF; + height: 24px; + background: #D7D7D7; + border-radius: 2px; + i { + font-size: 25px; + top: calc(50% - 12px); + } + } + .table-operation-back-down.table-operation-all-checkbox { background: #0091ff; } + .table-operation-back-down.table-operation-all-loading { + background: #D7D7D7; + } } } .table-operation-items { .table-operation-item--down { + margin-right: 16px; cursor: pointer; } + .table-operation-item--down,.table-operation-item--preview { + display: flex; + justify-content: center; + flex-direction: column; + .icon { + height: 25px; + width: 25px; + } + } .table-operation-item--preview { cursor: pointer; } diff --git a/src/components/table/report/builtinReportTable.vue b/src/components/table/report/builtinReportTable.vue index aefe9eaa..81afb299 100644 --- a/src/components/table/report/builtinReportTable.vue +++ b/src/components/table/report/builtinReportTable.vue @@ -54,8 +54,16 @@ @@ -64,18 +72,22 @@
{{ $t('overall.all') }} - {{$t('report.batchDow')}} +
+ + {{$t('report.batchDow')}} +