style: 网络概况 部分图表 文字样式调整

This commit is contained in:
@changcode
2022-07-15 10:04:22 +08:00
parent d1eec1aa72
commit 2c51f6c363
5 changed files with 22 additions and 15 deletions

View File

@@ -4,6 +4,9 @@
border-radius: 4px; border-radius: 4px;
background: rgba(113,113,113,0.06); background: rgba(113,113,113,0.06);
.ddos-detection-title { .ddos-detection-title {
font-size: 14px;
color: #353636;
font-weight: 600;
margin-top: 15px; margin-top: 15px;
i { i {
font-size: 16px; font-size: 16px;
@@ -36,7 +39,7 @@
font-size: 18px; font-size: 18px;
color: #E26154; color: #E26154;
line-height: 12px; line-height: 12px;
font-weight: 500; font-weight: 700;
} }
} }
} }

View File

@@ -7,18 +7,16 @@
.chart-drawing { .chart-drawing {
height: 100%; height: 100%;
width: 100%; width: 100%;
div:nth-of-type(2) { .echarts-tooltip.echarts-tooltip-dark {
.cn-chart-tooltip { .cn-chart-tooltip {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.cn-chart-tooltip-box { .cn-chart-tooltip-value.cn-chart-tooltip__color {
.cn-chart-tooltip__color.cn-chart-tooltip-value { font-family: NotoSansHans-Medium;
font-family: NotoSansHans-Medium; font-size: 12px;
font-size: 12px; color: #353636;
color: #353636; line-height: 12px;
line-height: 12px; font-weight: 600;
font-weight: 500;
}
} }
} }
} }
@@ -116,7 +114,7 @@
display: flex; display: flex;
.mpackets-name { .mpackets-name {
flex: 1; flex: 1;
padding-left: 17px; padding-left: 19px;
} }
.total,.inbound,.outbound,.internal,.other { .total,.inbound,.outbound,.internal,.other {
width: 14px; width: 14px;

View File

@@ -5,6 +5,9 @@
background: rgba(113,113,113,0.06); background: rgba(113,113,113,0.06);
.performance-event-title { .performance-event-title {
margin-top: 15px; margin-top: 15px;
font-size: 14px;
color: #353636;
font-weight: 600;
i { i {
font-size: 16px; font-size: 16px;
width: 16px; width: 16px;

View File

@@ -7,7 +7,7 @@
<div :class="item.class"></div> <div :class="item.class"></div>
<div class="mpackets-name">{{$t(item.name)}}</div> <div class="mpackets-name">{{$t(item.name)}}</div>
</div> </div>
<div><span>{{unitConvert(item.number, unitTypes.number)[0]}}</span>{{unitConvert(item.number, unitTypes.number)[1]}}<span>packets/s</span></div> <div><span>{{unitConvert(item.number, unitTypes.number)[0]}}</span><span>{{unitConvert(item.number, unitTypes.number)[1]}}packets/s</span></div>
</div> </div>
</div> </div>
<div class="line-select"> <div class="line-select">

View File

@@ -16,7 +16,8 @@ export const pieChartOption1 = {
rich: { rich: {
a: { a: {
width: 35, width: 35,
align: 'left' align: 'left',
fontWeight: 'bold'
}, },
b: { b: {
width: 6, width: 6,
@@ -68,7 +69,8 @@ export const pieChartOption2 = {
rich: { rich: {
a: { a: {
width: 35, width: 35,
align: 'left' align: 'left',
fontWeight: 'bold'
}, },
b: { b: {
width: 6, width: 6,
@@ -112,7 +114,8 @@ const sizes = [3, 6, 8, 9, 10]
export const stackedLineChartOption = { export const stackedLineChartOption = {
color: chartColor3, color: chartColor3,
tooltip: { tooltip: {
trigger: 'axis' trigger: 'axis',
className: 'echarts-tooltip echarts-tooltip-dark'
}, },
legend: { legend: {
show: false show: false