|
|
@ -1,5 +1,39 @@ |
|
|
|
<template> |
|
|
|
<div></div> |
|
|
|
<div class="inspection-card"> |
|
|
|
<div class="sy-water-cart-title">监管检查总览</div> |
|
|
|
<div class="card-item"> |
|
|
|
<div class="left"> |
|
|
|
<div class="name">今日告警</div> |
|
|
|
<div class="count">142</div> |
|
|
|
</div> |
|
|
|
<div class="right"> |
|
|
|
<div class="ok"> |
|
|
|
<span class="name">已处理</span> |
|
|
|
<span class="count">15</span> |
|
|
|
</div> |
|
|
|
<div class="wait"> |
|
|
|
<span class="name">待处理</span> |
|
|
|
<span class="count">47</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="card-item"> |
|
|
|
<div class="left"> |
|
|
|
<div class="name">本月告警</div> |
|
|
|
<div class="count">3250</div> |
|
|
|
</div> |
|
|
|
<div class="right"> |
|
|
|
<div class="ok"> |
|
|
|
<span class="name">已处理</span> |
|
|
|
<span class="count">156</span> |
|
|
|
</div> |
|
|
|
<div class="wait"> |
|
|
|
<span class="name">待处理</span> |
|
|
|
<span class="count">975</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
@ -8,4 +42,90 @@ defineOptions({ |
|
|
|
}); |
|
|
|
</script> |
|
|
|
|
|
|
|
<style scoped></style> |
|
|
|
<style scoped lang="less"> |
|
|
|
.inspection-card { |
|
|
|
width: 100%; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
gap: 16px; |
|
|
|
.card-item { |
|
|
|
width: 100%; |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
gap: 12px; |
|
|
|
.left { |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
align-items: center; |
|
|
|
justify-content: center; |
|
|
|
background: rgba(54, 178, 158, 0.1); |
|
|
|
border: 2px solid rgba(54, 178, 158, 0.6); |
|
|
|
width: 160px; |
|
|
|
.name { |
|
|
|
font-family: 思源黑体; |
|
|
|
font-size: 14px; |
|
|
|
font-weight: normal; |
|
|
|
line-height: normal; |
|
|
|
letter-spacing: 0em; |
|
|
|
|
|
|
|
color: rgba(0, 0, 0, 0.9); |
|
|
|
} |
|
|
|
.count { |
|
|
|
font-family: DIN; |
|
|
|
font-size: 32px; |
|
|
|
font-weight: bold; |
|
|
|
line-height: 40px; |
|
|
|
letter-spacing: 0em; |
|
|
|
|
|
|
|
font-variation-settings: "opsz" auto; |
|
|
|
color: #36b29e; |
|
|
|
} |
|
|
|
} |
|
|
|
.right { |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
align-items: center; |
|
|
|
gap: 12px; |
|
|
|
.ok, |
|
|
|
.wait { |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
width: 238px; |
|
|
|
padding: 8px 16px; |
|
|
|
justify-content: space-between; |
|
|
|
align-items: center; |
|
|
|
.name { |
|
|
|
font-family: 思源黑体; |
|
|
|
font-size: 14px; |
|
|
|
font-weight: normal; |
|
|
|
line-height: normal; |
|
|
|
letter-spacing: 0em; |
|
|
|
|
|
|
|
color: rgba(0, 0, 0, 0.9); |
|
|
|
} |
|
|
|
.count { |
|
|
|
font-family: 思源黑体; |
|
|
|
font-size: 24px; |
|
|
|
font-weight: 500; |
|
|
|
line-height: normal; |
|
|
|
letter-spacing: 0em; |
|
|
|
} |
|
|
|
} |
|
|
|
.ok { |
|
|
|
background: rgba(40, 206, 142, 0.15); |
|
|
|
border: 1px solid #28ce8e; |
|
|
|
.count { |
|
|
|
color: #28ce8e; |
|
|
|
} |
|
|
|
} |
|
|
|
.wait { |
|
|
|
background: rgba(250, 173, 16, 0.1); |
|
|
|
border: 1px solid #faad10; |
|
|
|
.count { |
|
|
|
color: #ff9a23; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|