fix: 请求添加error处理
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
.error-block {
|
||||
.error-component {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
.error-block-tooltip {
|
||||
.error-block {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
max-width: 350px;
|
||||
max-width: calc(100% - 24px);
|
||||
max-height: calc(100% - 24px);
|
||||
line-height: 24px;
|
||||
background: #FFE7E6;
|
||||
border: 1px solid rgba(226,97,84,0.42);
|
||||
border-radius: 4px;
|
||||
@@ -15,7 +19,31 @@
|
||||
font-weight: 400;
|
||||
padding: 10px 12px;
|
||||
margin: 12px;
|
||||
z-index: 3;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
//white-space: nowrap;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.error-block-info {
|
||||
position: absolute;
|
||||
width: calc(100% - 20px);
|
||||
height: calc(100% - 20px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 10px;
|
||||
font-size: 14px;
|
||||
color: #575757;
|
||||
line-height: 24px;
|
||||
font-weight: 400;
|
||||
font-family: NotoSansSChineseRegular, serif;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.new-error-icon {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
|
||||
@@ -13,6 +13,13 @@
|
||||
font-size: 14px;
|
||||
color: #046ECA;
|
||||
}
|
||||
.link-block-error {
|
||||
position: absolute;
|
||||
width: calc(100% - 20px);
|
||||
height: calc(100% - 60px);
|
||||
margin-left: -12px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.data-grid {
|
||||
height: 100px;
|
||||
.egress-row {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
.network-overview-apps-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
//justify-content: space-between;
|
||||
|
||||
.network-overview-apps-title {
|
||||
font-size: 14px;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
.cn-chart__map-title {
|
||||
display: flex;
|
||||
font-size: 14px;
|
||||
color: #353636;
|
||||
font-weight: 600;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
.npm-recent-title {
|
||||
display: flex;
|
||||
font-size: 14px;
|
||||
color: #353636;
|
||||
font-weight: 600;
|
||||
|
||||
Reference in New Issue
Block a user