新增主页,优化评查点结果一致性的显示效果

This commit is contained in:
2025-05-28 17:37:23 +08:00
parent 690d369f57
commit 08fb737cbf
10 changed files with 2596 additions and 458 deletions
+27 -25
View File
@@ -2,8 +2,9 @@
.home-page {
display: flex;
flex-direction: column;
min-height: 100vh;
background-color: #f0f7f4;
height: 100vh;
/* height: 100%; */
background-color: #ffffff;
}
/* 头部样式 */
@@ -11,7 +12,7 @@
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem 2rem;
padding: 0.75rem 1rem;
background-color: white;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
@@ -22,19 +23,19 @@
}
.logo {
height: 36px;
margin-right: 0.75rem;
height: 60px;
margin-right: 0.15rem;
}
.logo-text {
font-size: 1.125rem;
font-weight: 600;
font-size: 1.8rem;
font-weight: 800;
color: #333;
margin-right: 0.5rem;
}
.logo-text-en {
font-size: 0.75rem;
margin-top: -0.2rem;
font-size: 0.85rem;
color: #666;
font-weight: 500;
text-transform: uppercase;
@@ -48,7 +49,7 @@
}
.datetime {
font-size: 0.875rem;
font-size:1rem;
color: #666;
}
@@ -72,13 +73,18 @@
}
/* 主要内容区域 */
.main-content {
.index-main-content {
border-radius: 0.5rem 0.5rem 0 0;
height: 100%;
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
padding: 3rem 1.5rem;
justify-content: center;
margin: 1rem;
padding-bottom: 0;
margin-bottom: 0;
background-color: #f0f7f4;
}
.welcome-text {
@@ -98,11 +104,10 @@
.module-card {
display: flex;
flex-direction: column;
align-items: center;
width: 250px;
padding: 2rem 1.5rem;
background-color: white;
background: linear-gradient(to bottom, #ebebeb, #ffffff);
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
transition: transform 0.2s, box-shadow 0.2s;
@@ -111,19 +116,11 @@
.module-card:hover {
transform: translateY(-5px);
border: 1px solid #269b6c;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.module-icon {
width: 64px;
height: 64px;
margin-bottom: 1.5rem;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
.contract-icon {
/* .contract-icon {
background-image: url('/images/contract-icon.svg');
}
@@ -133,9 +130,10 @@
.ai-icon {
background-image: url('/images/ai-icon.svg');
}
} */
.module-name {
margin-left: 1rem;
font-size: 1.125rem;
font-weight: 500;
color: #333;
@@ -144,8 +142,12 @@
/* 底部山水背景 */
.footer {
height: 200px;
margin: 1rem;
margin-top: 0;
overflow: hidden;
position: relative;
background-color: #f0f7f4;
border-radius: 0 0 0.5rem 0.5rem;
}
.mountains-bg {