feat: entity列表(部分)、css架构更改

This commit is contained in:
chenjinsong
2021-12-14 16:42:45 +08:00
parent 4ef3ec5a84
commit 6623f6df65
204 changed files with 17245 additions and 1841 deletions

View File

@@ -0,0 +1,110 @@
.entity-explorer {
display: flex;
flex-direction: column;
background-color: white;
margin: 20px;
height: calc(100% - 40px) !important;
justify-content: center;
transition: all linear .2s;
&.entity-explorer--show-list {
background-color: unset;
justify-content: flex-start;
}
.explorer-top-tools {
display: flex;
justify-content: flex-end;
align-items: center;
padding-bottom: 18px;
&>div {
padding: 0 0 0 10px;
}
.el-button--mini{
padding: 4px 6px !important;
min-height: 26px !important;
&.active i {
color: $--color-primary;
}
i {
font-size: 14px;
}
}
}
.explorer-container {
display: flex;
height: 100%;
}
.explorer-foot {
display: flex;
justify-content: center;
align-items: flex-start;
height: 17vh;
&>div {
width: 100%;
max-width: 1200px;
display: flex;
justify-content: space-between;
align-items: center;
}
.el-divider {
width: 2px;
height: 40px;
background-color: #cecece;
}
.entity-overview {
display: flex;
.overview-left {
display: flex;
flex-direction: column;
align-items: center;
padding: 0 30px;
span:first-of-type {
font-size: 30px;
color: #333333;
font-weight: bold;
}
span:last-of-type {
font-size: 16px;
color: #666666;
}
}
.overview-right {
display: flex;
flex-direction: column;
padding: 0 30px;
.right-row {
display: flex;
height: 30px;
align-items: center;
.right-label {
width: 55px;
font-size: 14px;
color: #666666;
}
.right-value {
font-size: 14px;
color: #333333;
font-weight: bold;
}
i {
padding-right: 10px;
font-size: 18px;
}
.cn-icon-increase {
color: #23BF9A;
}
.cn-icon-active {
color: #0091FF;
}
}
}
}
}
}

View File

@@ -0,0 +1,62 @@
.entity-filter-case {
display: flex;
flex-direction: column;
width: 280px;
padding-top: 10px;
margin-right: 10px;
.filter-case__header {
background-color: #E1E6ED;
margin-bottom: 10px;
padding-left: 8px;
height: 36px;
line-height: 36px;
color: #666;
font-size: 14px;
}
.entity-filter {
display: flex;
flex-direction: column;
border: 1px solid #E7EAED;
margin-bottom: 10px;
padding: 0 15px;
background-color: white;
.filter__header {
height: 46px;
line-height: 46px;
border-bottom: 1px solid #EFF2F5;
font-size: 14px;
color: #333;
}
.filter__body {
padding: 11px 0 21px 0;
.filter__row {
display: flex;
justify-content: space-between;
height: 26px;
align-items: center;
cursor: pointer;
transition: all linear .2s;
&:hover, &.filter__row--active {
background-color: #F3F7FA;
}
.row__label {
font-size: 14px;
i {
color: #8FA1BE;
}
span {
padding-left: 6px;
color: #333;
}
}
.row__value {
color: #666;
}
}
}
}
}

View File

@@ -0,0 +1,170 @@
.cn-entity--block {
box-sizing: border-box;
margin: 0 10px 10px 0;
width: 321px;
height: 329px;
background: #FFFFFF;
border-radius: 2px;
transition: all .2s;
&:hover .cn-entity__header .header__content {
}
.cn-entity__header {
position: relative;
background-color: #FFFFFF;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
width: 100%;
height: 89px;
box-sizing: border-box;
transition: all .2s;
.header__bottom__line {
width:288px;
height:1px;
border-top:solid 1px #eff2f5;
position: absolute;
top: 88px;
}
.header__icon {
overflow: hidden;
position: absolute;
top: 20px;
left: 20px;
display: flex;
justify-content: center;
justify-items: center;
align-items: center;
width: 52px;
height: 52px;
border-radius: 50%;
background: #e8fbf9;
border: 2px solid #e8fbf9;
i {
font-size: 22px;
color: #23bf9a;
}
}
.header__content {
font-size: 22px;
color: #333333;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
.content__desc{
color: #999999;
width: 200px;
font-size: 12px;
margin-top: 3px;
position: absolute;
top: 50px;
left: 82px;
}
.content__name {
position: absolute;
top: 21px;
left: 82px;
overflow: hidden;
max-width: 200px;
text-overflow: ellipsis;
}
}
}
.cn-entity__body {
overflow: hidden;
padding-top: 10px;
font-size: 14px;
position: relative;
height:240px;
.body__row {
display: flex;
align-items: center;
margin: 0 30px;
color: #666666;
padding: 4px 0;
justify-content: left;
}
.body__drawing-box {
position: relative;
height: 100px;
.chart__loading {
top: 0;
height: 100%;
}
}
.body__drawing {
position: absolute;
padding: 10px 30px;
height: 100px;
width: 100%;
}
.body__row-label {
padding-right: 0px;
color: #999999;
font-size: 14px;
font-weight: 400;
white-space: nowrap;
line-height: 16px;
i {
font-size: 13px;
color:#8FA1BE;
margin-right: 9px;
}
}
.body__row-value {
width: calc(100% - 69px);
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
font-size: 14px;
color: #666666;
font-weight: 400;
}
.body__statics {
position: absolute;
bottom: 20px;
display: flex;
width: 100%;
padding: 0 30px;
font-size: 14px;
color: #666666;
.entity-statics-down{
padding-right: 20px;
min-width: 80px;
i {
color:#5881B7;
font-size:14px;
padding-right:6px;
}
}
.entity-statics-up{
padding-right: 20px;
min-width: 80px;;
i {
color: #62B16C;
font-size: 14px;
padding-right: 6px;
}
}
.body__detail {
cursor: pointer;
font-size: 14px;
color: #8FA1BE;
position: absolute;
right: 30px;
}
}
}
}

View File

@@ -0,0 +1,21 @@
.entity-list {
width: calc(100% - 290px);
height: 100%;
padding-top: 10px;
.entity-list__content {
height: 100%;
width: 100%;
.entity-list--block {
display: flex;
flex-wrap: wrap;
display: -webkit-flex;
justify-content: flex-start;
border-radius: 2px;
height: calc(100% - 67px);
width: calc(100% - 10px);
overflow: hidden auto;
}
}
}

View File

@@ -0,0 +1,72 @@
.explorer-search {
display: flex;
flex-direction: column;
justify-content: center;
flex: 1;
background-image: url('~@/assets/img/cn-explore-bg.svg');
background-repeat: no-repeat;
background-position: 0 100%;
&.explorer-search--show-list {
flex: 0 0 40px;
background-image: none;
}
.explorer-search__title {
height: 112px;
text-align: center;
font-size: 42px;
color: #3976CB;
}
.explorer-search__input-case {
display: flex;
flex-direction: column;
align-items: center;
padding: 0 20px;
&.explorer-search__input-case--question-mark-in-line {
flex-direction: row;
padding: 0;
.explorer-search__input {
height: 40px;
max-width: unset;
}
}
.search-symbol-inline {
display: flex;
align-items: center;
justify-content: center;
color: #666;
font-size: 16px;
padding: 0 10px;
cursor: pointer;
}
.explorer-search__input {
width: 100%;
max-width: 1200px;
height: 66px;
}
.explorer-search__foot {
display: flex;
padding-top: 18px;
width: 100%;
max-width: 1200px;
justify-content: space-between;
font-weight: bold;
.foot__item {
font-size: 14px;
color: #3976CB;
.el-divider {
background-color: #3976CB;
}
span {
cursor: pointer;
}
}
}
}
}