feat: CN-1592 UI 新增Tag检索界面

This commit is contained in:
hanyuxia
2024-04-01 15:00:14 +08:00
parent 247c3ae7ef
commit 45ad8d15b5
7 changed files with 1465 additions and 2 deletions

View File

@@ -44,6 +44,7 @@
@import './views/charts/chartMap';
@import 'views/charts/chartRelationShipList';
@import 'views/report/report';
@import 'views/tag/tag';
@import 'components/rightBox/report/reportBox';
@import './views/charts2/panel';

View File

@@ -0,0 +1,261 @@
.cn-tag {
background: #fff;
margin: 10px;
height: calc(100% - 20px) !important;
display: flex;
flex-direction: row;
.cn-tag-right {
flex: 1;
.list-page .main-container {
padding: 0;
.cn-table {
height: calc(100% - 62px) !important;
.el-table--fit.el-table--border {
height: calc(100% - 55px) !important;
}
.el-table__header th:first-of-type {
border-right: none;
}
.has-gutter .el-table-column--selection .el-checkbox {
border-left: none;
display: none;
}
.el-scrollbar__bar.is-vertical {
z-index: 1000;
}
.el-table__row .el-table-column--selection .cell {
padding: 0;
}
.el-table__row.expanded {
td {
border-bottom: none;
}
}
.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: calc(100% - 32px);
background: #fff; //盖住fixed产生的阴影
:deep .is-leaf {
color: #1b2e3b;
background: #ebeef5;
}
.el-range-editor--small.el-input__wrapper {
height: 32px;
line-height: 32px;
}
.cn-detection__footer {
text-align: center;
display: flex;
justify-content: center;
.el-pagination__jump {
margin-left: 3px;
}
.el-pagination__goto {
display: none;
}
.el-input--small {
width: 46px !important;
.el-input__wrapper {
height: 22px;
}
}
.el-pagination--small {
.btn-prev {
margin-right: 10px;
}
.btn-next {
margin-left: 10px;
}
&span {
color: $--color-text-primary;
}
}
}
}
.block.drop-down-time {
margin: 15px 0 14px 0;
.el-date-editor {
justify-content: center;
.el-range-separator {
width: 24px;
}
.el-input__icon.el-range__close-icon {
display: none;
}
}
}
.expand {
min-height: 95px;
display: flex;
flex-wrap: wrap;
position: relative;
.panel-chart__no-data {
line-height: 95px;
}
.expand-cell {
display: flex;
background: #FFFFFF;
border: 1px solid #E7EAED;
border-radius: 2px;
margin: 0 12px 16px 0;
width: 300px;
height: 97px;
.expand-right {
background: #F9F9F9;
border-radius: 2px;
width: 97px;
height: 94px;
position: relative;
.demo-progress {
position: absolute;
top: 21px;
left: 18.5px;
}
.demo-progress,.demo-progress .el-progress-circle {
width: 57px !important;
height: 57px !important;
}
}
.expand-left {
text-align: center;
width: calc(100% - 97px);
display: flex;
flex-direction: column;
justify-content: center;
.expand-name {
font-size: 12px;
color: #666666;
font-weight: 400;
margin-bottom: 4px;
display: flex;
align-items: center;
justify-content: center;
i {
padding: 2px 3px 0 0;
}
}
.expand-time {
font-size: 12px;
color: #666666;
margin-bottom: 4px;
div:nth-of-type(1) {
font-size: 12px;
color: #999999;
}
}
.expand-icon {
display: flex;
justify-content: space-evenly;
margin: 0 8px;
font-size: 14px;
.table-operation-item--no-border {
cursor: pointer;
position: relative;
font-size: 16px;
}
.table-operation-item--disabled {
cursor: not-allowed;
filter: grayscale(1);
opacity: .6;
}
}
}
}
}
}
}
}
.table-operation-all {
width: 300px;
position: absolute;
bottom: 17px;
z-index: 2;
left: 20px;
line-height: 24px;
height: 24px;
display: flex;
.el-checkbox {
width: 14px;
height: 14px;
padding: 0;
.el-checkbox__input,.el-checkbox__inner {
width: 100%;
height: 100%;
min-width: unset;
}
}
.table-operation-all-span {
height: 24px;
display: flex;
span {
margin: 0 10px;
font-size: 14px;
color: #666666;
letter-spacing: 0;
font-weight: 400;
}
.table-operation-back-down {
font-weight: 500;
height: 24px;
background: #D7D7D7;
border-radius: 2px;
cursor: not-allowed;
span {
margin: 3px 8px;
font-size: 12px;
color: #FFFFFF;
}
}
.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;
cursor: pointer;
}
.table-operation-back-down.table-operation-all-loading {
background: #D7D7D7;
}
}
}
.table-operation-items {
.table-operation-item--no-border {
margin-right: 16px;
cursor: pointer;
position: relative;
font-size: 16px;
}
.table-operation-item--no-border:last-of-type {
margin-right: 0;
}
.table-operation-item--no-border {
display: flex;
justify-content: center;
flex-direction: column;
position: relative;
}
}
}
}