feat: 优化任务页面 UI 展示

This commit is contained in:
meijiali
2026-07-06 14:41:13 +08:00
parent da69819b56
commit 78cc5df73d
6 changed files with 158 additions and 42 deletions
+116 -14
View File
@@ -1,16 +1,63 @@
body {
background: #f5f7fb;
color: #172033;
background:
linear-gradient(180deg, #f4f7fb 0%, #eef3f8 42%, #f8fafc 100%);
color: #182235;
min-height: 100vh;
}
.app-navbar {
background: rgba(255, 255, 255, 0.94) !important;
border-bottom: 1px solid #dfe7f1;
box-shadow: 0 10px 30px rgba(19, 34, 56, 0.04);
}
.navbar-brand {
color: #102033;
}
.nav-link {
color: #526173;
}
.tool-card,
.card {
background: rgba(255, 255, 255, 0.96);
border-radius: 8px;
border: 1px solid #dfe5ef;
box-shadow: 0 10px 28px rgba(31, 42, 68, 0.06);
border: 1px solid #dbe4ef;
box-shadow: 0 16px 42px rgba(31, 42, 68, 0.07);
overflow: hidden;
}
.navbar {
background: #fff !important;
.card-header,
.section-heading {
background: linear-gradient(180deg, #ffffff, #f8fafc);
border-bottom: 1px solid #e4ebf3;
padding: 18px 20px;
}
.section-heading {
align-items: center;
display: flex;
justify-content: space-between;
gap: 16px;
}
.section-heading h2,
.page-heading h1 {
font-size: 22px;
font-weight: 700;
letter-spacing: 0;
margin: 0;
}
.section-kicker,
.eyebrow {
color: #0e766e;
font-size: 12px;
font-weight: 700;
letter-spacing: 0;
margin: 0 0 4px;
text-transform: uppercase;
}
.hero-band {
@@ -20,7 +67,9 @@ body {
url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1600&q=80");
background-position: center;
background-size: cover;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 8px;
box-shadow: 0 24px 60px rgba(15, 36, 62, 0.18);
color: #fff;
display: flex;
justify-content: space-between;
@@ -52,20 +101,67 @@ body {
gap: 12px;
}
.eyebrow {
color: #71d4c7;
font-size: 13px;
font-weight: 700;
letter-spacing: 0;
text-transform: uppercase;
.page-heading {
align-items: center;
display: flex;
justify-content: space-between;
gap: 16px;
}
.metric-box {
background: #f8fafc;
background: linear-gradient(180deg, #f9fbfd, #f3f7fb);
border: 1px solid #e3e9f2;
border-radius: 8px;
height: 100%;
padding: 14px;
padding: 16px;
}
.metric-box strong {
color: #132033;
display: block;
font-size: 18px;
margin: 4px 0;
}
.app-table thead th {
background: #f8fafc;
color: #536174;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
white-space: nowrap;
}
.app-table tbody tr {
border-color: #e8eef5;
}
.app-table tbody tr:hover {
background: #f7fbff;
}
.task-number {
align-items: center;
background: #e7f0ff;
border: 1px solid #cfe0ff;
border-radius: 999px;
color: #0b5ed7;
display: inline-flex;
font-weight: 700;
height: 32px;
justify-content: center;
min-width: 32px;
padding: 0 10px;
}
.task-overview {
border-top: 3px solid #0d6efd;
}
.hotspot-item {
border-color: #e3eaf2;
margin-bottom: 10px;
overflow: hidden;
}
.status-panel {
@@ -98,4 +194,10 @@ body {
.hero-copy h1 {
font-size: 36px;
}
.section-heading,
.page-heading {
align-items: flex-start;
flex-direction: column;
}
}