|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 382 B |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 377 B |
@ -1,115 +1,225 @@
|
|||||||
.evaluation-report {
|
.Econtainer {
|
||||||
padding: 20px;
|
padding: 8px 6px 0px 6px;
|
||||||
|
height: 100%;
|
||||||
.ant-card {
|
display: flex;
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
flex-direction: column;
|
||||||
border-radius: 6px;
|
gap: 10px;
|
||||||
|
|
||||||
.ant-card-head {
|
// 第一个大块 - 高度16%
|
||||||
border-bottom: 1px solid #f0f0f0;
|
.EcontainerTop {
|
||||||
|
height: 16%;
|
||||||
.ant-card-head-title {
|
border-radius: 4px;
|
||||||
font-size: 16px;
|
display: flex;
|
||||||
font-weight: 600;
|
flex-direction: column;
|
||||||
color: #262626;
|
|
||||||
}
|
.sectionContent {
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
.blocksContainer {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
gap: 10px;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
.blockItem {
|
||||||
|
flex: 1;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
background: linear-gradient(170.5deg, #EBEFF4 6.87%, #FFFFFF 92.55%);
|
||||||
|
border-radius: 4px;
|
||||||
|
border: 2px solid #FFFFFF;
|
||||||
|
|
||||||
|
.blockLeft {
|
||||||
|
width: 60%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 15px;
|
||||||
|
padding-left: 20px;
|
||||||
|
gap: 8px;
|
||||||
|
|
||||||
|
.blockTitle {
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #666666;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blockNumber {
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 24px;
|
||||||
|
color: #333333;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blockChange {
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #1269FF;
|
||||||
|
line-height: 1.2;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
|
|
||||||
|
.arrow {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.checkIcon {
|
||||||
|
font-size: 16px;
|
||||||
|
color: #1269FF;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.blockRight {
|
||||||
|
flex: 1;
|
||||||
|
height: 100%;
|
||||||
|
background-color: transparent;
|
||||||
|
border-radius: 0 4px 4px 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
.blockImage {
|
||||||
|
height: 130%;
|
||||||
|
object-fit: contain;
|
||||||
|
margin-right: -10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-card-body {
|
// 第二个大块 - 三个图表块
|
||||||
padding: 20px;
|
.EcontainerMiddle {
|
||||||
}
|
height: 30%;
|
||||||
}
|
border-radius: 4px;
|
||||||
|
background-color: #fff;
|
||||||
.ant-table {
|
display: flex;
|
||||||
.ant-table-thead > tr > th {
|
flex-direction: column;
|
||||||
background-color: #fafafa;
|
|
||||||
font-weight: 600;
|
.sectionContent {
|
||||||
color: #262626;
|
height: 100%;
|
||||||
border-bottom: 1px solid #f0f0f0;
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
gap: 10px;
|
||||||
|
padding: 10px;
|
||||||
|
|
||||||
|
.chartBlock {
|
||||||
|
flex: 1;
|
||||||
|
height: 100%;
|
||||||
|
background: linear-gradient(170.5deg, #EBEFF4 6.87%, #FFFFFF 53.01%);
|
||||||
|
border: 2px solid #fff;
|
||||||
|
border-radius: 4px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #333333;
|
||||||
|
|
||||||
|
.chartTitle {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #333333;
|
||||||
|
padding: 10px 15px 5px 15px;
|
||||||
|
|
||||||
|
.titleIcon {
|
||||||
|
width: 3px;
|
||||||
|
height: 14px;
|
||||||
|
background-color: #2E4CD4;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.chartContainer {
|
||||||
|
flex: 1;
|
||||||
|
width: 100%;
|
||||||
|
height: 120%;
|
||||||
|
// // min-height: 200px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-table-tbody > tr > td {
|
// 第三大块 - 评估报告表格
|
||||||
border-bottom: 1px solid #f0f0f0;
|
.EcontainerBottom {
|
||||||
}
|
flex: 1;
|
||||||
|
background-color: #fff;
|
||||||
.ant-table-tbody > tr:hover > td {
|
border-radius: 4px;
|
||||||
background-color: #f5f5f5;
|
display: flex;
|
||||||
}
|
flex-direction: column;
|
||||||
}
|
padding: 10px;
|
||||||
|
|
||||||
.ant-btn {
|
.tableHeader {
|
||||||
border-radius: 4px;
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
&.ant-btn-primary {
|
align-items: center;
|
||||||
background-color: #1890ff;
|
margin-bottom: 10px;
|
||||||
border-color: #1890ff;
|
|
||||||
|
.tableTitle {
|
||||||
&:hover {
|
display: flex;
|
||||||
background-color: #40a9ff;
|
align-items: center;
|
||||||
border-color: #40a9ff;
|
gap: 8px;
|
||||||
}
|
font-weight: 500;
|
||||||
}
|
font-size: 14px;
|
||||||
|
color: #333333;
|
||||||
&.ant-btn-link {
|
|
||||||
padding: 4px 8px;
|
.titleIcon {
|
||||||
height: auto;
|
width: 3px;
|
||||||
|
height: 14px;
|
||||||
&:hover {
|
background-color: #2E4CD4;
|
||||||
background-color: #f5f5f5;
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
.tableContainer {
|
||||||
.ant-tag {
|
flex: 1;
|
||||||
border-radius: 4px;
|
overflow: hidden;
|
||||||
font-size: 12px;
|
|
||||||
padding: 2px 8px;
|
:global(.ant-table-wrapper) {
|
||||||
}
|
height: 100%;
|
||||||
|
}
|
||||||
.ant-modal {
|
|
||||||
.ant-modal-header {
|
:global(.ant-table) {
|
||||||
border-bottom: 1px solid #f0f0f0;
|
height: 100%;
|
||||||
|
}
|
||||||
.ant-modal-title {
|
|
||||||
font-size: 16px;
|
:global(.ant-table-container) {
|
||||||
font-weight: 600;
|
height: 100%;
|
||||||
color: #262626;
|
}
|
||||||
}
|
|
||||||
}
|
:global(.ant-table-body) {
|
||||||
|
height: calc(100% - 55px); // 减去表头高度
|
||||||
.ant-modal-body {
|
overflow-y: auto;
|
||||||
padding: 24px;
|
}
|
||||||
}
|
|
||||||
|
:global(.ant-table-tbody > tr > td) {
|
||||||
.ant-form-item-label > label {
|
padding: 8px 16px;
|
||||||
font-weight: 500;
|
font-size: 12px;
|
||||||
color: #262626;
|
}
|
||||||
}
|
|
||||||
|
:global(.ant-table-thead > tr > th) {
|
||||||
.ant-input,
|
padding: 8px 16px;
|
||||||
.ant-select-selector {
|
font-size: 12px;
|
||||||
border-radius: 4px;
|
font-weight: 500;
|
||||||
border: 1px solid #d9d9d9;
|
background-color: #fafafa;
|
||||||
|
}
|
||||||
&:hover {
|
|
||||||
border-color: #40a9ff;
|
:global(.ant-pagination) {
|
||||||
}
|
margin-top: 10px;
|
||||||
|
text-align: right;
|
||||||
&:focus,
|
}
|
||||||
&.ant-select-focused .ant-select-selector {
|
}
|
||||||
border-color: #40a9ff;
|
|
||||||
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-pagination {
|
|
||||||
margin-top: 16px;
|
|
||||||
text-align: right;
|
|
||||||
|
|
||||||
.ant-pagination-total-text {
|
|
||||||
color: #8c8c8c;
|
|
||||||
margin-right: 16px;
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,241 +1,418 @@
|
|||||||
.risk-assessment {
|
.Rcontainer {
|
||||||
padding: 20px;
|
padding: 8px 6px 0px 6px;
|
||||||
|
height: 100%;
|
||||||
.ant-card {
|
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
||||||
border-radius: 6px;
|
|
||||||
|
|
||||||
.ant-card-head {
|
|
||||||
border-bottom: 1px solid #f0f0f0;
|
|
||||||
|
|
||||||
.ant-card-head-title {
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 600;
|
|
||||||
color: #262626;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-card-body {
|
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-table {
|
|
||||||
.ant-table-thead > tr > th {
|
|
||||||
background-color: #fafafa;
|
|
||||||
font-weight: 600;
|
|
||||||
color: #262626;
|
|
||||||
border-bottom: 1px solid #f0f0f0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-table-tbody > tr > td {
|
|
||||||
border-bottom: 1px solid #f0f0f0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-table-tbody > tr:hover > td {
|
|
||||||
background-color: #f5f5f5;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-btn {
|
|
||||||
border-radius: 4px;
|
|
||||||
|
|
||||||
&.ant-btn-primary {
|
|
||||||
background-color: #1890ff;
|
|
||||||
border-color: #1890ff;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: #40a9ff;
|
|
||||||
border-color: #40a9ff;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.ant-btn-link {
|
|
||||||
padding: 4px 8px;
|
|
||||||
height: auto;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: #f5f5f5;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-tag {
|
|
||||||
border-radius: 4px;
|
|
||||||
font-size: 12px;
|
|
||||||
padding: 2px 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-rate {
|
|
||||||
font-size: 14px;
|
|
||||||
|
|
||||||
.ant-rate-star {
|
|
||||||
margin-right: 2px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-progress {
|
|
||||||
.ant-progress-bg {
|
|
||||||
border-radius: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.ant-progress-small {
|
|
||||||
.ant-progress-text {
|
|
||||||
font-size: 10px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-modal {
|
|
||||||
.ant-modal-header {
|
|
||||||
border-bottom: 1px solid #f0f0f0;
|
|
||||||
|
|
||||||
.ant-modal-title {
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 600;
|
|
||||||
color: #262626;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-modal-body {
|
|
||||||
padding: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-form-item-label > label {
|
|
||||||
font-weight: 500;
|
|
||||||
color: #262626;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-input,
|
|
||||||
.ant-select-selector {
|
|
||||||
border-radius: 4px;
|
|
||||||
border: 1px solid #d9d9d9;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
border-color: #40a9ff;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:focus,
|
|
||||||
&.ant-select-focused .ant-select-selector {
|
|
||||||
border-color: #40a9ff;
|
|
||||||
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-pagination {
|
|
||||||
margin-top: 16px;
|
|
||||||
text-align: right;
|
|
||||||
|
|
||||||
.ant-pagination-total-text {
|
|
||||||
color: #8c8c8c;
|
|
||||||
margin-right: 16px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 风险等级颜色
|
|
||||||
.risk-level-high {
|
|
||||||
color: #ff4d4f;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
.risk-level-medium {
|
|
||||||
color: #faad14;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
.risk-level-low {
|
|
||||||
color: #52c41a;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 状态指示器
|
|
||||||
.status-indicator {
|
|
||||||
display: inline-flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 4px;
|
|
||||||
|
|
||||||
&.processed {
|
|
||||||
color: #52c41a;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.pending {
|
|
||||||
color: #ff4d4f;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.monitoring {
|
|
||||||
color: #1890ff;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 评分显示
|
|
||||||
.score-display {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
gap: 10px;
|
||||||
gap: 4px;
|
|
||||||
|
// 第一个div - 高度20%
|
||||||
.score-value {
|
.RcontainerTop {
|
||||||
font-weight: 600;
|
height: 16%;
|
||||||
font-size: 14px;
|
// background-color: #fff;
|
||||||
|
border-radius: 4px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
.sectionContent {
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
// padding: 15px;
|
||||||
|
|
||||||
|
.blocksContainer {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
gap: 10px;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
.blockItem {
|
||||||
|
flex: 1;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
background: linear-gradient(170.5deg, #EBEFF4 6.87%, #FFFFFF 92.55%);
|
||||||
|
border-radius: 4px;
|
||||||
|
border: 2px solid #FFFFFF;
|
||||||
|
|
||||||
|
.blockLeft {
|
||||||
|
width: 60%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 15px;
|
||||||
|
padding-left: 20px;
|
||||||
|
gap: 8px;
|
||||||
|
|
||||||
|
.blockTitle {
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #666666;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blockNumber {
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 24px;
|
||||||
|
color: #333333;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blockChange {
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #1269FF;
|
||||||
|
line-height: 1.2;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
|
|
||||||
|
.arrow {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.checkIcon {
|
||||||
|
font-size: 16px;
|
||||||
|
color: #1269FF;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.blockRight {
|
||||||
|
flex: 1;
|
||||||
|
height: 100%;
|
||||||
|
background-color: transparent;
|
||||||
|
border-radius: 0 4px 4px 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
.blockImage {
|
||||||
|
// width: 80%;
|
||||||
|
height: 130%;
|
||||||
|
// height: 80%;
|
||||||
|
object-fit: contain;
|
||||||
|
margin-right: -10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.score-label {
|
// 第二个div - 高度30%
|
||||||
font-size: 12px;
|
.RcontainerMiddle {
|
||||||
color: #8c8c8c;
|
height: 30%;
|
||||||
|
border-radius: 4px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
.sectionContent {
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
display: flex;
|
||||||
|
gap: 10px;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.middleBlock1 {
|
||||||
|
flex: 1;
|
||||||
|
height: 100%;
|
||||||
|
background: linear-gradient(170.5deg, #EBEFF4 6.87%, #FFFFFF 53.01%);
|
||||||
|
|
||||||
|
border: 2px solid #fff;
|
||||||
|
border-radius: 4px;
|
||||||
|
position: relative;
|
||||||
|
padding: 0px 10px 10px 2px;
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #333333;
|
||||||
|
|
||||||
|
.block1Header {
|
||||||
|
position: absolute;
|
||||||
|
top: 5px;
|
||||||
|
left: 10px;
|
||||||
|
right: 10px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
z-index: 10;
|
||||||
|
|
||||||
|
.block1Title {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #333333;
|
||||||
|
|
||||||
|
.titleIcon {
|
||||||
|
width: 3px;
|
||||||
|
height: 14px;
|
||||||
|
background-color: #2E4CD4;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.block1Select {
|
||||||
|
width: 100px;
|
||||||
|
|
||||||
|
:global(.ant-select-selector) {
|
||||||
|
height: 28px !important;
|
||||||
|
font-size: 12px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
:global(.ant-select-selection-item) {
|
||||||
|
line-height: 26px !important;
|
||||||
|
font-size: 12px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.riskLegend {
|
||||||
|
position: absolute;
|
||||||
|
Top: 18px;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
z-index: 10;
|
||||||
|
|
||||||
|
.legendItem {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 5px;
|
||||||
|
|
||||||
|
.legendDot {
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.legendText {
|
||||||
|
font-size: 12px;
|
||||||
|
color: #333;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.block1Chart {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
margin-top: 20px;
|
||||||
|
|
||||||
|
.mapImage {
|
||||||
|
margin-top: 7%;
|
||||||
|
width: 90%;
|
||||||
|
height: 77%;
|
||||||
|
object-fit: cover;
|
||||||
|
border-radius: 4px;
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.middleBlock2 {
|
||||||
|
flex: 1;
|
||||||
|
height: 100%;
|
||||||
|
// background: linear-gradient(170.5deg, #EBEFF4 6.87%, #FFFFFF 53.01%);
|
||||||
|
// border: 2px solid #fff;
|
||||||
|
background-color: #fff;
|
||||||
|
// border-radius: 4px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #333333;
|
||||||
|
padding: 5px 10px 5px 10px;
|
||||||
|
|
||||||
|
.middleBlock2Title {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
// margin-bottom: 10px;
|
||||||
|
|
||||||
|
.titleLeft {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #333333;
|
||||||
|
|
||||||
|
.titleIcon {
|
||||||
|
width: 3px;
|
||||||
|
height: 14px;
|
||||||
|
background-color: #2E4CD4;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.titleRight {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.middleBlock2Chart {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
// min-height: 200px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// 概率和影响程度显示
|
// 第三个div - 占满剩余位置
|
||||||
.rate-display {
|
.RcontainerBottom {
|
||||||
display: flex;
|
flex: 1; // 占满剩余空间
|
||||||
flex-direction: column;
|
display: flex;
|
||||||
align-items: center;
|
flex-direction: column;
|
||||||
gap: 4px;
|
|
||||||
|
.sectionContent {
|
||||||
.rate-stars {
|
display: flex;
|
||||||
display: flex;
|
flex-direction: row;
|
||||||
align-items: center;
|
gap: 10px;
|
||||||
gap: 2px;
|
padding: 0;
|
||||||
}
|
|
||||||
|
.leftBlock {
|
||||||
.rate-text {
|
width: 30%;
|
||||||
font-size: 12px;
|
height: 100%;
|
||||||
color: #8c8c8c;
|
background: url('@/assets/safe_majorHazard/online_monitoring/risk3.png') no-repeat center center;
|
||||||
}
|
background-size: cover;
|
||||||
}
|
padding: 0;
|
||||||
|
display: flex;
|
||||||
// 风险矩阵样式
|
flex-direction: column;
|
||||||
.risk-matrix {
|
gap: 10px;
|
||||||
display: grid;
|
padding: 15px;
|
||||||
grid-template-columns: repeat(5, 1fr);
|
|
||||||
gap: 8px;
|
.leftBlockTitle {
|
||||||
margin: 16px 0;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
.matrix-cell {
|
gap: 8px;
|
||||||
padding: 8px;
|
font-family: PingFang SC;
|
||||||
text-align: center;
|
font-weight: 500;
|
||||||
border: 1px solid #d9d9d9;
|
font-size: 14px;
|
||||||
border-radius: 4px;
|
color: #333333;
|
||||||
font-size: 12px;
|
|
||||||
|
.titleIcon {
|
||||||
&.high-risk {
|
width: 3px;
|
||||||
background-color: #fff2f0;
|
height: 16px;
|
||||||
border-color: #ff4d4f;
|
background-color: #2E4CD4;
|
||||||
color: #ff4d4f;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.medium-risk {
|
.leftBlockImage {
|
||||||
background-color: #fffbe6;
|
height: 40%;
|
||||||
border-color: #faad14;
|
width: 100%;
|
||||||
color: #faad14;
|
border-radius: 4px;
|
||||||
}
|
overflow: hidden;
|
||||||
|
display: flex;
|
||||||
&.low-risk {
|
justify-content: center;
|
||||||
background-color: #f6ffed;
|
align-items: center;
|
||||||
border-color: #52c41a;
|
height: 80%;
|
||||||
color: #52c41a;
|
}
|
||||||
}
|
|
||||||
|
.leftBlockItem {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 10px;
|
||||||
|
// background-color: #f5f5f5;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-family: PingFang SC;
|
||||||
|
|
||||||
|
.itemTitle {
|
||||||
|
font-size: 12px;
|
||||||
|
color: #666666;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.itemValue {
|
||||||
|
font-size: 14px;
|
||||||
|
color: #333333;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.rightBlock {
|
||||||
|
width: 68%;
|
||||||
|
height: 100%;
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
.tableHeader {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
padding: 8px 15px 5px 15px;
|
||||||
|
|
||||||
|
.tableTitle {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #333333;
|
||||||
|
|
||||||
|
.titleIcon {
|
||||||
|
width: 3px;
|
||||||
|
height: 16px;
|
||||||
|
background-color: #2E4CD4;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.tableContainer {
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||