fix:entity实体列表样式调整

This commit is contained in:
晶晶 张
2021-08-04 15:14:38 +08:00
parent 6ec137f08a
commit ce717f45db
2 changed files with 12 additions and 6 deletions

View File

@@ -13,7 +13,7 @@
</div> </div>
</div> </div>
<div class="cn-entity__body" style="position: relative;"> <div class="cn-entity__body" style="position: relative;">
<div class="content__desc" v-if="entityType !== 'ip'" style="color: #999999; width: 200px; position: absolute; top: 24px;right: -3px ;font-size: 12px;"> <div class="content__desc" v-if="entityType !== 'ip'" style="color: #999999; width: 200px; position: absolute; top: 33px;right: -9px ;font-size: 12px;">
<template v-if="entityType === 'domain'" style="color: #999999; width: 200px;"> <template v-if="entityType === 'domain'" style="color: #999999; width: 200px;">
<span class="desc__label">{{$t('entities.reputationLevel')}}:</span> <span class="desc__label">{{$t('entities.reputationLevel')}}:</span>
<span>{{d.reputationLevel || '-'}}</span> <span>{{d.reputationLevel || '-'}}</span>

View File

@@ -117,14 +117,17 @@
} }
.cn-entity__body { .cn-entity__body {
overflow: hidden; overflow: hidden;
padding-top:43px; padding-top:65px;
font-size: 14px; font-size: 14px;
.body__row { .body__row {
display: flex; display: flex;
align-items: center;
width: 200px; width: 200px;
margin:19px auto; margin: auto;
border-bottom: 1px solid #EFF2F5; border-bottom: 1px solid #EFF2F5;
color: #666666; color: #666666;
padding: 7px 0px;
justify-content: center;
} }
.body__row-label { .body__row-label {
@@ -143,11 +146,10 @@
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 14px; font-size: 14px;
color: #666666; color: #666666;
line-height: 16px;
font-weight: 400; font-weight: 400;
} }
.body__detail { .body__detail {
padding: 1px 0 0 156px; padding: 9px 0 0 156px;
cursor: pointer; cursor: pointer;
font-family: Roboto-Regular; font-family: Roboto-Regular;
font-size: 14px; font-size: 14px;
@@ -207,6 +209,10 @@
padding: 5.5px; padding: 5.5px;
font-size: 12px; font-size: 12px;
} }
.cn-entity>ip{
width: 340px;
height: 290px;
}