Before Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 7.2 KiB |
After Width: | Height: | Size: 64 MiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
After Width: | Height: | Size: 2.4 MiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 8.7 KiB |
After Width: | Height: | Size: 3.9 KiB |
@ -0,0 +1,19 @@ |
|||||
|
import React, { useEffect, useState } from 'react' |
||||
|
import './style.less' |
||||
|
|
||||
|
function CenterTop(props) { |
||||
|
|
||||
|
|
||||
|
return <div className='_top'> |
||||
|
<div className='center_top_data'> |
||||
|
<div className='_center_card1'>共享交换</div> |
||||
|
<div className='_center_card2'>数据监控</div> |
||||
|
<div className='_center_card3'>数据治理</div> |
||||
|
<div className='_center_card4'>数据采集</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
} |
||||
|
|
||||
|
export default CenterTop; |
||||
|
|
||||
|
|
@ -0,0 +1,19 @@ |
|||||
|
/* 公共模块暂无数据组件 */ |
||||
|
import React from 'react'; |
||||
|
import { Empty } from 'antd'; |
||||
|
|
||||
|
function NoData({ height = 180, marginTop = 0 }) { |
||||
|
return ( |
||||
|
<Empty |
||||
|
image="/assets/images/homepage/bigscreen/empty.png" |
||||
|
imageStyle={{ |
||||
|
height, |
||||
|
marginTop |
||||
|
}} |
||||
|
description={false} |
||||
|
/> |
||||
|
|
||||
|
); |
||||
|
} |
||||
|
|
||||
|
export default NoData; |
@ -0,0 +1,373 @@ |
|||||
|
@card-height: calc(100% - 42px - 13px); //左右卡片内容高度定义 目前卡片为等高 |
||||
|
|
||||
|
//节点资源 |
||||
|
.node-resource-container { |
||||
|
display: flex; |
||||
|
height: @card-height; |
||||
|
width: 100%; |
||||
|
align-items: center; |
||||
|
|
||||
|
._item { |
||||
|
width: 33%; |
||||
|
display: flex; |
||||
|
flex-direction: column; |
||||
|
align-items: center; |
||||
|
|
||||
|
._noderesource_data { |
||||
|
font-family: D-DINExp-Bold; |
||||
|
font-weight: 600; |
||||
|
font-size: 24px; |
||||
|
color: #FFFFFF; |
||||
|
line-height: 43.2px; |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
|
||||
|
._percent { |
||||
|
opacity: 0.8; |
||||
|
font-family: PingFangSC-Regular; |
||||
|
font-weight: 400; |
||||
|
font-size: 12px; |
||||
|
color: #C8F0FF; |
||||
|
text-align: left; |
||||
|
line-height: 24px; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
._noderesource_title { |
||||
|
font-family: YouSheBiaoTiHei; |
||||
|
font-size: 20px; |
||||
|
color: #D8F0FF; |
||||
|
letter-spacing: 1.54px; |
||||
|
text-align: center; |
||||
|
text-shadow: 0 0 10px rgba(0, 145, 255, 0.5); |
||||
|
margin-bottom: 17px; |
||||
|
} |
||||
|
|
||||
|
.disk_icon { |
||||
|
width: 68.73px; |
||||
|
height: 62.77px; |
||||
|
background: url('/assets/images/homePage/bigscreen/disk.png'); |
||||
|
background-repeat: no-repeat; |
||||
|
background-size: 100% 100%; |
||||
|
} |
||||
|
|
||||
|
.cpu_icon { |
||||
|
width: 68.73px; |
||||
|
height: 62.77px; |
||||
|
background: url('/assets/images/homePage/bigscreen/cpu.png'); |
||||
|
background-repeat: no-repeat; |
||||
|
background-size: 100% 100%; |
||||
|
} |
||||
|
|
||||
|
.memory_icon { |
||||
|
width: 68.73px; |
||||
|
height: 62.77px; |
||||
|
background: url('/assets/images/homePage/bigscreen/memory.png'); |
||||
|
background-repeat: no-repeat; |
||||
|
background-size: 100% 100%; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
//接入数据统计 |
||||
|
.access_data { |
||||
|
display: flex; |
||||
|
height: @card-height; |
||||
|
width: 100%; |
||||
|
justify-content: center; |
||||
|
|
||||
|
font-family: PingFangSC-Regular; |
||||
|
font-weight: 400; |
||||
|
font-size: 14px; |
||||
|
color: #FFFFFF; |
||||
|
|
||||
|
._img { |
||||
|
width: 230px; |
||||
|
height: 95%; |
||||
|
background: url('/assets/images/homePage/bigscreen/accessdata.png'); |
||||
|
background-repeat: no-repeat; |
||||
|
background-size: 100% 100%; |
||||
|
} |
||||
|
|
||||
|
.data_unit { |
||||
|
position: absolute; |
||||
|
top: 27%; |
||||
|
right: 21%; |
||||
|
|
||||
|
.data_number { |
||||
|
line-height: 25px; |
||||
|
font-family: D-DINExp-Bold; |
||||
|
font-weight: 700; |
||||
|
font-size: 20px; |
||||
|
color: #3E86FF; |
||||
|
letter-spacing: 0; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
.data_today { |
||||
|
position: absolute; |
||||
|
bottom: 13%; |
||||
|
right: 79%; |
||||
|
text-align: right; |
||||
|
|
||||
|
.data_number { |
||||
|
line-height: 25px; |
||||
|
font-family: D-DINExp-Bold; |
||||
|
font-weight: 700; |
||||
|
font-size: 20px; |
||||
|
color: #00F6E4; |
||||
|
letter-spacing: 0; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
.data_total { |
||||
|
position: absolute; |
||||
|
bottom: 13%; |
||||
|
right: 7%; |
||||
|
|
||||
|
.data_number { |
||||
|
line-height: 25px; |
||||
|
font-family: D-DINExp-Bold; |
||||
|
font-weight: 700; |
||||
|
font-size: 20px; |
||||
|
color: #FFDC4E; |
||||
|
letter-spacing: 0; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
.data_top5_unit { |
||||
|
position: absolute; |
||||
|
right: 4%; |
||||
|
top: 18%; |
||||
|
font-family: PingFangSC-Regular; |
||||
|
font-weight: 400; |
||||
|
font-size: 12px; |
||||
|
color: #C8F0FF; |
||||
|
} |
||||
|
|
||||
|
.hotspot_data_container { |
||||
|
display: flex; |
||||
|
height: @card-height; |
||||
|
width: 100%; |
||||
|
justify-content: center; |
||||
|
|
||||
|
font-family: PingFangSC-Regular; |
||||
|
font-weight: 400; |
||||
|
font-size: 14px; |
||||
|
color: #FFFFFF; |
||||
|
|
||||
|
._img { |
||||
|
width: 203px; |
||||
|
height: 80%; |
||||
|
background: url('/assets/images/homePage/bigscreen/hotspotdatabg.png'); |
||||
|
background-repeat: no-repeat; |
||||
|
background-size: 100% 100%; |
||||
|
} |
||||
|
|
||||
|
.hotspot_title { |
||||
|
padding: 2px; |
||||
|
padding-left: 6px; |
||||
|
padding-right: 6px; |
||||
|
background: rgba(77, 241, 227, 0.08); |
||||
|
border: 1px solid rgba(77, 241, 227, 0.1); |
||||
|
box-shadow: inset 0 0 20px 0 rgba(28, 185, 196, 0.23); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
.hotspot_data_number { |
||||
|
font-family: D-DINExp-Bold; |
||||
|
font-weight: 700; |
||||
|
font-size: 18px; |
||||
|
color: #FFFFFF; |
||||
|
} |
||||
|
|
||||
|
._top1 { |
||||
|
position: absolute; |
||||
|
top: 25%; |
||||
|
right: 63%; |
||||
|
text-align: right; |
||||
|
} |
||||
|
|
||||
|
._top2 { |
||||
|
position: absolute; |
||||
|
bottom: 22%; |
||||
|
right: 67%; |
||||
|
text-align: center; |
||||
|
} |
||||
|
|
||||
|
._top3 { |
||||
|
position: absolute; |
||||
|
bottom: 34%; |
||||
|
right: 2%; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
//数据共享 |
||||
|
.data_share { |
||||
|
display: flex; |
||||
|
height: @card-height; |
||||
|
|
||||
|
._left_content { |
||||
|
width: 50%; |
||||
|
height: 90%; |
||||
|
padding-left: 30px; |
||||
|
display: flex; |
||||
|
flex-direction: column; |
||||
|
justify-content: space-between; |
||||
|
} |
||||
|
|
||||
|
._right_content { |
||||
|
._today_text { |
||||
|
font-family: YouSheBiaoTiHei; |
||||
|
font-size: 24px; |
||||
|
color: #FFFFFF; |
||||
|
letter-spacing: 0.5px; |
||||
|
position: absolute; |
||||
|
right: 6%; |
||||
|
top: 21%; |
||||
|
} |
||||
|
|
||||
|
padding-top: 23px; |
||||
|
display: flex; |
||||
|
flex-direction: column; |
||||
|
width: 47%; |
||||
|
height: 95%; |
||||
|
background: url(/assets/images/homePage/bigscreen/todaybg.png); |
||||
|
background-repeat: no-repeat; |
||||
|
background-size: 100% 100%; |
||||
|
justify-content: space-evenly; |
||||
|
align-items: center; |
||||
|
|
||||
|
} |
||||
|
|
||||
|
._item_content { |
||||
|
display: flex; |
||||
|
|
||||
|
|
||||
|
._item_icon1 { |
||||
|
width: 52px; |
||||
|
height: 52px; |
||||
|
background: url('/assets/images/homePage/bigscreen/1.png'); |
||||
|
background-repeat: no-repeat; |
||||
|
background-size: 100% 100%; |
||||
|
} |
||||
|
|
||||
|
._item_icon2 { |
||||
|
width: 52px; |
||||
|
height: 52px; |
||||
|
background: url('/assets/images/homePage/bigscreen/2.png'); |
||||
|
background-repeat: no-repeat; |
||||
|
background-size: 100% 100%; |
||||
|
} |
||||
|
|
||||
|
._item_icon3 { |
||||
|
width: 52px; |
||||
|
height: 52px; |
||||
|
background: url('/assets/images/homePage/bigscreen/3.png'); |
||||
|
background-repeat: no-repeat; |
||||
|
background-size: 100% 100%; |
||||
|
} |
||||
|
|
||||
|
._item_text { |
||||
|
color: #C8F0FF; |
||||
|
padding-left: 6px; |
||||
|
|
||||
|
.number_container { |
||||
|
._number { |
||||
|
font-family: D-DINExp-Bold; |
||||
|
font-weight: 700; |
||||
|
font-size: 22px; |
||||
|
color: #FFFFFF; |
||||
|
} |
||||
|
|
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
justify-content: space-evenly; |
||||
|
width: 112px; |
||||
|
height: 28px; |
||||
|
background-image: linear-gradient(227deg, #3196AB 0%, #2091cd00 100%); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
//大屏中间上部分 |
||||
|
.center_top_data { |
||||
|
|
||||
|
._center_card1 { |
||||
|
width: 353px; |
||||
|
height: 74px; |
||||
|
font-family: YouSheBiaoTiHei; |
||||
|
font-size: 22px; |
||||
|
color: #FFFFFF; |
||||
|
letter-spacing: 0.46px; |
||||
|
text-align: center; |
||||
|
position: absolute; |
||||
|
top: 2%; |
||||
|
left: 32%; |
||||
|
background: url(/assets/images/homePage/bigscreen/centerdatabg1.png); |
||||
|
background-repeat: no-repeat; |
||||
|
background-size: 100% 100%; |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
justify-content: center; |
||||
|
} |
||||
|
|
||||
|
._center_card2 { |
||||
|
width: 146px; |
||||
|
height: 35px; |
||||
|
font-family: YouSheBiaoTiHei; |
||||
|
font-size: 16px; |
||||
|
color: #35D0FF; |
||||
|
letter-spacing: 0.46px; |
||||
|
text-align: center; |
||||
|
position: absolute; |
||||
|
top: 25%; |
||||
|
left: 42%; |
||||
|
background: url(/assets/images/homePage/bigscreen/centerdatabg2.png); |
||||
|
background-repeat: no-repeat; |
||||
|
background-size: 100% 100%; |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
justify-content: center; |
||||
|
} |
||||
|
|
||||
|
._center_card3 { |
||||
|
width: 146px; |
||||
|
height: 35px; |
||||
|
font-family: YouSheBiaoTiHei; |
||||
|
font-size: 16px; |
||||
|
color: #35D0FF; |
||||
|
letter-spacing: 0.46px; |
||||
|
text-align: center; |
||||
|
position: absolute; |
||||
|
top: 45%; |
||||
|
left: 42%; |
||||
|
background: url(/assets/images/homePage/bigscreen/centerdatabg2.png); |
||||
|
background-repeat: no-repeat; |
||||
|
background-size: 100% 100%; |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
justify-content: center; |
||||
|
} |
||||
|
|
||||
|
._center_card4 { |
||||
|
width: 146px; |
||||
|
height: 35px; |
||||
|
font-family: YouSheBiaoTiHei; |
||||
|
font-size: 16px; |
||||
|
color: #35D0FF; |
||||
|
letter-spacing: 0.46px; |
||||
|
text-align: center; |
||||
|
position: absolute; |
||||
|
top: 62%; |
||||
|
left: 42%; |
||||
|
background: url(/assets/images/homePage/bigscreen/centerdatabg2.png); |
||||
|
background-repeat: no-repeat; |
||||
|
background-size: 100% 100%; |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
justify-content: center; |
||||
|
} |
||||
|
} |