消防检测页面
parent
a1cd33dbf0
commit
b67427b18d
@ -0,0 +1,3 @@
|
||||
<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M8.50181 1C4.80395 1 1.77592 3.86737 1.51953 7.5H15.4841C15.2277 3.86737 12.1997 1 8.50181 1ZM10.5018 8.5H6.50181C6.50181 9.60456 7.39725 10.5 8.50181 10.5C9.60637 10.5 10.5018 9.60456 10.5018 8.5ZM5.57083 10.7216L5.57069 10.7218C5.47942 10.6238 5.34938 10.5625 5.20494 10.5625C4.9288 10.5625 4.70494 10.7864 4.70494 11.0625C4.70494 11.1966 4.75781 11.3182 4.84373 11.408C5.7565 12.3873 7.05748 13 8.50181 13C9.94611 13 11.2471 12.3873 12.1599 11.4081C12.2458 11.3183 12.2987 11.1966 12.2987 11.0625C12.2987 10.7864 12.0748 10.5625 11.7987 10.5625C11.6542 10.5625 11.5242 10.6238 11.4329 10.7218L11.4328 10.7216C10.7024 11.5079 9.65964 12 8.50181 12C7.34398 12 6.30127 11.5079 5.57083 10.7216ZM13.2674 11.9219C13.1163 11.9219 12.981 11.989 12.8893 12.095L12.8881 12.0939C11.793 13.2667 10.233 14 8.50181 14C6.77058 14 5.21062 13.2667 4.1155 12.0939L4.11434 12.095C4.02266 11.989 3.88731 11.9219 3.73619 11.9219C3.46005 11.9219 3.23619 12.1457 3.23619 12.4219C3.23619 12.5654 3.29673 12.6947 3.39355 12.7858C4.67073 14.1485 6.4868 15 8.50181 15C10.5168 15 12.3329 14.1485 13.6101 12.7858C13.7069 12.6947 13.7674 12.5654 13.7674 12.4219C13.7674 12.1457 13.5436 11.9219 13.2674 11.9219Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
@ -0,0 +1,48 @@
|
||||
import React, { useState } from 'react';
|
||||
import { Button } from 'antd';
|
||||
import styles from './FireWarning.less';
|
||||
import RealtimeMonitoring from './components/RealtimeMonitoring';
|
||||
import DataAnalysisWarning from './components/DataAnalysisWarning';
|
||||
|
||||
const Firewarning = () => {
|
||||
const [activeModule, setActiveModule] = useState('realtime');
|
||||
|
||||
const handleModuleClick = (module) => {
|
||||
setActiveModule(module);
|
||||
};
|
||||
|
||||
const renderModule = () => {
|
||||
switch (activeModule) {
|
||||
case 'realtime':
|
||||
return <RealtimeMonitoring />;
|
||||
case 'analysis':
|
||||
return <DataAnalysisWarning />;
|
||||
default:
|
||||
return <RealtimeMonitoring />;
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={styles.firewarningContainer}>
|
||||
<div className={styles.firewarningTopButton}>
|
||||
<Button
|
||||
className={`${styles.firewarningTopButtonItem} ${activeModule === "realtime" ? styles.active : ""}`}
|
||||
onClick={() => handleModuleClick("realtime")}
|
||||
>
|
||||
实时状态监测
|
||||
</Button>
|
||||
<Button
|
||||
className={`${styles.firewarningTopButtonItem} ${activeModule === "analysis" ? styles.active : ""}`}
|
||||
onClick={() => handleModuleClick("analysis")}
|
||||
>
|
||||
数据分析与预警
|
||||
</Button>
|
||||
</div>
|
||||
<div className={styles.firewarningContent}>
|
||||
{renderModule()}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Firewarning;
|
||||
@ -0,0 +1,66 @@
|
||||
.firewarningContainer {
|
||||
background-color: transparent;
|
||||
width: 100%;
|
||||
height: 89vh;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.firewarningTopButton {
|
||||
background-color: white;
|
||||
width: 100%;
|
||||
padding: 10px 30px;
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
margin-left: 6px;
|
||||
|
||||
.firewarningTopButtonItem {
|
||||
background-color: transparent !important;
|
||||
color: #333333 !important;
|
||||
font-family: 'PingFang SC', sans-serif !important;
|
||||
font-weight: 500 !important;
|
||||
font-size: 14px !important;
|
||||
line-height: 100% !important;
|
||||
border-radius: 8px !important;
|
||||
padding: 6px 10px !important;
|
||||
height: auto !important;
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
position: relative !important;
|
||||
|
||||
&:hover {
|
||||
color: #333333 !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
color: #2E4CD4 !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
&.active {
|
||||
color: #2E4CD4 !important;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -10px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
height: 4px;
|
||||
background-color: #2E4CD4;
|
||||
border-radius: 0;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.firewarningContent {
|
||||
// ======== 内容区域样式 ========
|
||||
flex: 1; // ======== 占据剩余空间 ========
|
||||
overflow-y: auto; // ======== 允许垂直滚动 ========
|
||||
padding: 0; // ======== 无内边距 ========
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,919 @@
|
||||
.realtimeContainer {
|
||||
padding: 8px 6px 0px 6px;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.realtimeContainerTop {
|
||||
display: flex;
|
||||
|
||||
height: 50%;
|
||||
margin-bottom: 5px;
|
||||
|
||||
.realtimeContainerTopLeft {
|
||||
width: 72%;
|
||||
height: 100%;
|
||||
// background-color: pink;
|
||||
margin-right: 10px;
|
||||
// display: flex;
|
||||
|
||||
.realtimeContainerTopLeftTop {
|
||||
width: 100%;
|
||||
height: 35%;
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
|
||||
.realtimeAlarmO {
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
background-color: #F4F7FF;
|
||||
border: 1px solid #AED3FF;
|
||||
border-bottom: 0px solid #AED3FF;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 2px 31px 0px #5382FE33 inset;
|
||||
display: flex;
|
||||
|
||||
.realtimeAlarmOLeft {
|
||||
width: 35%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.realtimeAlarmORight {
|
||||
flex: 1;
|
||||
width: 35%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left: 2px;
|
||||
gap: 18px;
|
||||
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-style: Regular;
|
||||
font-size: 12px;
|
||||
line-height: 100%;
|
||||
letter-spacing: 0%;
|
||||
color: #333333;
|
||||
|
||||
.realtimeAlarmORightText1 {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
|
||||
.realtimeAlarmORightText2 {
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.realtimeAlarmORightText3 {
|
||||
display: flex;
|
||||
gap: 22px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
.realtimeAlarmTw {
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
background-color: #FFF5f4;
|
||||
border: 1px solid #FFC5BC;
|
||||
border-bottom: 0px solid #FFC5BC;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 2px 31px 0px #FE5F4C33 inset;
|
||||
display: flex;
|
||||
|
||||
.realtimeAlarmTwLeft {
|
||||
width: 35%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.realtimeAlarmTwRight {
|
||||
flex: 1;
|
||||
width: 35%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left: 2px;
|
||||
gap: 18px;
|
||||
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-style: Regular;
|
||||
font-size: 12px;
|
||||
line-height: 100%;
|
||||
letter-spacing: 0%;
|
||||
color: #333333;
|
||||
|
||||
.realtimeAlarmTwRightText1 {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.realtimeAlarmTwRightText2 {
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.realtimeAlarmTwRightText3 {
|
||||
display: flex;
|
||||
gap: 22px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeAlarmTh {
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
background-color: #FFF7F2;
|
||||
border: 1px solid #FFD9B2;
|
||||
border-bottom: 0px solid #FFD9B2;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 2px 31px 0px #FD883C33 inset;
|
||||
display: flex;
|
||||
|
||||
.realtimeAlarmThLeft {
|
||||
width: 35%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.realtimeAlarmThRight {
|
||||
flex: 1;
|
||||
width: 35%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left: 2px;
|
||||
gap: 18px;
|
||||
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-style: Regular;
|
||||
font-size: 12px;
|
||||
line-height: 100%;
|
||||
letter-spacing: 0%;
|
||||
color: #333333;
|
||||
|
||||
.realtimeAlarmThRightText1 {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.realtimeAlarmThRightText2 {
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.realtimeAlarmThRightText3 {
|
||||
display: flex;
|
||||
gap: 22px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeAlarmF {
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
background-color: #EFF9FF;
|
||||
border: 1px solid #89E1FF;
|
||||
border-bottom: 0px solid #89E1FF;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0px 2px 31px 0px #22A4FD33 inset;
|
||||
display: flex;
|
||||
|
||||
.realtimeAlarmFLeft {
|
||||
width: 35%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.realtimeAlarmFRight {
|
||||
flex: 1;
|
||||
width: 35%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left: 2px;
|
||||
gap: 18px;
|
||||
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-style: Regular;
|
||||
font-size: 12px;
|
||||
line-height: 100%;
|
||||
letter-spacing: 0%;
|
||||
color: #333333;
|
||||
|
||||
.realtimeAlarmFRightText1 {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.realtimeAlarmFRightText2 {
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.realtimeAlarmFRightText3 {
|
||||
display: flex;
|
||||
gap: 22px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeContainerTopLeftBottom {
|
||||
margin-top: 12px;
|
||||
background-color: #fff;
|
||||
width: 100%;
|
||||
height: 60%;
|
||||
|
||||
.realtimeContainerTopLeftBottomTitle {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
// padding: 8px 15px;
|
||||
padding: 8px 15px 0px 15px;
|
||||
|
||||
.realtimeTitleLeft {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
font-style: Medium;
|
||||
font-size: 14px;
|
||||
line-height: 100%;
|
||||
letter-spacing: 0%;
|
||||
|
||||
|
||||
.realtimeTitleIcon {
|
||||
width: 3px;
|
||||
height: 16px;
|
||||
background-color: #2E4CD4;
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeTitleRight {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
|
||||
font-family: PingFang SC;
|
||||
font-style: Medium;
|
||||
font-size: 13px;
|
||||
line-height: 100%;
|
||||
letter-spacing: 0%;
|
||||
|
||||
|
||||
.selectBox {
|
||||
padding: 4px 8px;
|
||||
border: 1px solid #d9d9d9;
|
||||
border-radius: 4px;
|
||||
background-color: #fff;
|
||||
font-size: 12px;
|
||||
color: #333;
|
||||
outline: none;
|
||||
|
||||
&:focus {
|
||||
border-color: #2E4CD4;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeContainerTopLeftBottomChart {
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
height: 75%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeContainerTopRight {
|
||||
flex: 1;
|
||||
height: calc(100% - 3.3px);
|
||||
background-color: #fff;
|
||||
background-image: url('@/assets/safe_majorHazard/online_monitoring/backTopRight.png');
|
||||
background-size: 100% auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-y: auto;
|
||||
|
||||
.realtimeDataHeader {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 8px 15px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
.realtimeTitleLeft {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
font-style: Medium;
|
||||
font-size: 14px;
|
||||
line-height: 100%;
|
||||
letter-spacing: 0%;
|
||||
|
||||
.realtimeTitleIcon {
|
||||
width: 3px;
|
||||
height: 16px;
|
||||
background-color: #2E4CD4;
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeTotalCount {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 13px;
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeDataItem {
|
||||
height: 23%;
|
||||
flex-shrink: 0;
|
||||
border: 1px solid #89E1FF;
|
||||
border-radius: 2px;
|
||||
margin: 0 15px;
|
||||
margin-bottom: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: PingFang SC;
|
||||
font-size: 14px;
|
||||
// color: #666;
|
||||
background-color: #EFF9FF;
|
||||
|
||||
&:last-child {
|
||||
// margin-bottom: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeDataItem1 {
|
||||
height: 25%;
|
||||
flex-shrink: 0;
|
||||
border: 1px solid #89E1FF;
|
||||
border-radius: 4px;
|
||||
margin: 0 15px;
|
||||
margin-bottom: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0px 15px;
|
||||
background-color: #EFF9FF;
|
||||
|
||||
.realtimeDataItemLeft {
|
||||
width: 65%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
||||
.realtimeAreaName {
|
||||
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 13px;
|
||||
color: #333333;
|
||||
line-height: 2.2;
|
||||
}
|
||||
|
||||
.realtimeRValue {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
line-height: 0.2;
|
||||
}
|
||||
|
||||
.realtimeCodeNumber {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeDataItemRight {
|
||||
width: 35%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.realtimeCircleContainer {
|
||||
position: relative;
|
||||
height: 80%;
|
||||
aspect-ratio: 1; // 强制宽高比1:1
|
||||
|
||||
.realtimeOuterCircle {
|
||||
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(51, 176, 253, 0.3);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.realtimeInnerCircle {
|
||||
width: 70%;
|
||||
height: 70%;
|
||||
background-color: rgba(4, 128, 251, 0.8);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.realtimeLevelText {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
font-size: 11px;
|
||||
color: #FFFFFF;
|
||||
line-height: 1.4;
|
||||
margin-top: -4px;
|
||||
}
|
||||
|
||||
.realtimeRiskText {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 300;
|
||||
font-size: 8px;
|
||||
color: #FFFFFF;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeDataItem2 {
|
||||
height: 25%;
|
||||
flex-shrink: 0;
|
||||
border: 1px solid rgba(255, 197, 188, 1);
|
||||
border-radius: 4px;
|
||||
margin: 0 15px;
|
||||
margin-bottom: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0px 15px;
|
||||
background-color: #fff5f4;
|
||||
|
||||
.realtimeDataItemLeft {
|
||||
width: 65%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
||||
.realtimeAreaName {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 13px;
|
||||
color: #333333;
|
||||
line-height: 2.2;
|
||||
}
|
||||
|
||||
.realtimeRValue {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
line-height: 0.2;
|
||||
}
|
||||
|
||||
.realtimeCodeNumber {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeDataItemRight {
|
||||
width: 35%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.realtimeCircleContainer {
|
||||
position: relative;
|
||||
height: 80%;
|
||||
aspect-ratio: 1;
|
||||
|
||||
.realtimeOuterCircle {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(254, 214, 209, 1);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.realtimeInnerCircle {
|
||||
width: 70%;
|
||||
height: 70%;
|
||||
background-color: rgba(253, 41, 14, 1);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.realtimeLevelText {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
font-size: 11px;
|
||||
color: #FFFFFF;
|
||||
line-height: 1.4;
|
||||
margin-top: -4px;
|
||||
}
|
||||
|
||||
.realtimeRiskText {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 300;
|
||||
font-size: 8px;
|
||||
color: #FFFFFF;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeDataItem3 {
|
||||
height: 25%;
|
||||
flex-shrink: 0;
|
||||
border: 1px solid rgba(255, 217, 178, 1);
|
||||
border-radius: 4px;
|
||||
margin: 0 15px;
|
||||
margin-bottom: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0px 15px;
|
||||
background-color: #fef6f1;
|
||||
|
||||
.realtimeDataItemLeft {
|
||||
width: 65%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
||||
.realtimeAreaName {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 13px;
|
||||
color: #333333;
|
||||
line-height: 2.2;
|
||||
}
|
||||
|
||||
.realtimeRValue {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
line-height: 0.2;
|
||||
}
|
||||
|
||||
.realtimeCodeNumber {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeDataItemRight {
|
||||
width: 35%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.realtimeCircleContainer {
|
||||
position: relative;
|
||||
height: 80%;
|
||||
aspect-ratio: 1;
|
||||
|
||||
.realtimeOuterCircle {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(255, 234, 218, 1);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.realtimeInnerCircle {
|
||||
width: 70%;
|
||||
height: 70%;
|
||||
background-color: rgba(252, 103, 18, 1);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.realtimeLevelText {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
font-size: 11px;
|
||||
color: #FFFFFF;
|
||||
line-height: 1.4;
|
||||
margin-top: -4px;
|
||||
}
|
||||
|
||||
.realtimeRiskText {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 300;
|
||||
font-size: 8px;
|
||||
color: #FFFFFF;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeDataItem4 {
|
||||
height: 25%;
|
||||
flex-shrink: 0;
|
||||
border: 1px solid #89E1FF;
|
||||
border-radius: 4px;
|
||||
margin: 0 15px;
|
||||
margin-bottom: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0px 15px;
|
||||
background-color: #EFF9FF;
|
||||
|
||||
.realtimeDataItemLeft {
|
||||
width: 65%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
||||
.realtimeAreaName {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 13px;
|
||||
color: #333333;
|
||||
line-height: 2.2;
|
||||
}
|
||||
|
||||
.realtimeRValue {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
line-height: 0.2;
|
||||
}
|
||||
|
||||
.realtimeCodeNumber {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeDataItemRight {
|
||||
width: 35%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.realtimeCircleContainer {
|
||||
position: relative;
|
||||
height: 80%;
|
||||
aspect-ratio: 1;
|
||||
|
||||
.realtimeOuterCircle {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(51, 176, 253, 0.3);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.realtimeInnerCircle {
|
||||
width: 70%;
|
||||
height: 70%;
|
||||
background-color: rgba(4, 128, 251, 0.8);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.realtimeLevelText {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
font-size: 11px;
|
||||
color: #FFFFFF;
|
||||
line-height: 1.4;
|
||||
margin-top: -4px;
|
||||
}
|
||||
|
||||
.realtimeRiskText {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 300;
|
||||
font-size: 8px;
|
||||
color: #FFFFFF;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.realtimeContainerBottom {
|
||||
background-color: #fff;
|
||||
flex: 1;
|
||||
padding: 8px 15px 5px 15px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.realtimeTableHeader {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
// margin-bottom: 15px;
|
||||
padding-bottom: 5px;
|
||||
// border-bottom: 1px solid #f0f0f0;
|
||||
|
||||
.realtimeTableTitle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
|
||||
.realtimeTitleIcon {
|
||||
width: 3px;
|
||||
height: 16px;
|
||||
background-color: #2E4CD4;
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeTableActions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
|
||||
// 自定义按钮样式
|
||||
:global(.ant-btn) {
|
||||
background-color: #ffffff !important;
|
||||
border-color: #DFE4F6 !important;
|
||||
color: #333333 !important;
|
||||
box-shadow: none !important;
|
||||
|
||||
&:hover {
|
||||
background-color: #f5f5f5 !important;
|
||||
border-color: #DFE4F6 !important;
|
||||
color: #333333 !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
background-color: #ffffff !important;
|
||||
border-color: #DFE4F6 !important;
|
||||
color: #333333 !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: #e6e6e6 !important;
|
||||
border-color: #DFE4F6 !important;
|
||||
color: #333333 !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
// 主要按钮样式
|
||||
&.ant-btn-primary {
|
||||
background-color: #ffffff !important;
|
||||
border-color: #DFE4F6 !important;
|
||||
color: #333333 !important;
|
||||
box-shadow: none !important;
|
||||
|
||||
&:hover {
|
||||
background-color: #f5f5f5 !important;
|
||||
border-color: #DFE4F6 !important;
|
||||
color: #333333 !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
background-color: #ffffff !important;
|
||||
border-color: #DFE4F6 !important;
|
||||
color: #333333 !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: #e6e6e6 !important;
|
||||
border-color: #DFE4F6 !important;
|
||||
color: #333333 !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
// 危险按钮样式
|
||||
&.ant-btn-dangerous {
|
||||
background-color: #ffffff !important;
|
||||
border-color: #DFE4F6 !important;
|
||||
color: #333333 !important;
|
||||
box-shadow: none !important;
|
||||
|
||||
&:hover {
|
||||
background-color: #f5f5f5 !important;
|
||||
border-color: #DFE4F6 !important;
|
||||
color: #333333 !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
background-color: #ffffff !important;
|
||||
border-color: #DFE4F6 !important;
|
||||
color: #333333 !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: #e6e6e6 !important;
|
||||
border-color: #DFE4F6 !important;
|
||||
color: #333333 !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
// 禁用状态
|
||||
&:disabled {
|
||||
background-color: #f5f5f5 !important;
|
||||
border-color: #d9d9d9 !important;
|
||||
color: #bfbfbf !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.realtimeTableContainer {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
|
||||
:global(.ant-table) {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
:global(.ant-table-thead > tr > th) {
|
||||
background-color: #f5f5fa;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
padding: 8px 12px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
:global(.ant-table-tbody > tr > td) {
|
||||
padding: 8px 12px;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
:global(.ant-table-tbody > tr:hover > td) {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
:global(.ant-pagination) {
|
||||
margin-top: 16px;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue