|
@ -1,4 +1,8 @@ |
|
|
<template> |
|
|
<template> |
|
|
|
|
|
<!-- 头部 --> |
|
|
|
|
|
<el-header class="header"> |
|
|
|
|
|
<div class="title">数据总览</div> |
|
|
|
|
|
</el-header> |
|
|
<div style="height: 100vh; overflow: hidden;"> |
|
|
<div style="height: 100vh; overflow: hidden;"> |
|
|
<el-row class="cards" > |
|
|
<el-row class="cards" > |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
@ -99,4 +103,35 @@ onMounted(async () => { |
|
|
|
|
|
|
|
|
<style scoped> |
|
|
<style scoped> |
|
|
|
|
|
|
|
|
|
|
|
.header { |
|
|
|
|
|
/* 将纯色背景替换为线性渐变 */ |
|
|
|
|
|
background: linear-gradient( |
|
|
|
|
|
90deg, |
|
|
|
|
|
rgba(228, 240, 252, 1) 20%, |
|
|
|
|
|
rgba(190, 218, 247, 1) 50%, |
|
|
|
|
|
rgba(228, 240, 252, 1) 100% |
|
|
|
|
|
); |
|
|
|
|
|
height: 6vh; |
|
|
|
|
|
border-radius: 12px; |
|
|
|
|
|
margin-bottom: 4px; |
|
|
|
|
|
box-shadow: 0 2px 5px rgba(8, 4, 4, 0.1); |
|
|
|
|
|
/* 添加阴影增强层次感 */ |
|
|
|
|
|
z-index: 80; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.title { |
|
|
|
|
|
width: 136px; |
|
|
|
|
|
color: #040a2d; |
|
|
|
|
|
font-family: "PingFang SC"; |
|
|
|
|
|
font-size: 34px; |
|
|
|
|
|
font-style: normal; |
|
|
|
|
|
font-weight: 900; |
|
|
|
|
|
line-height: 31.79px; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</style> |
|
|
</style> |