feat: 可视化大屏展示

This commit is contained in:
2025-12-30 17:14:17 +08:00
parent 02f9b46b22
commit fb40fce9cd
15 changed files with 2195 additions and 44 deletions
@@ -293,6 +293,13 @@
background: rgba(19, 26, 61, 0.42);
backdrop-filter: blur(8px);
.filter-divider {
width: 1px;
height: 24px;
background: rgba(0, 212, 255, 0.25);
margin: 0 4px;
}
.dashboard-filter__label {
color: rgba(255, 255, 255, 0.72);
font-size: 12px;
@@ -351,6 +358,233 @@
100% { transform: translateX(520%) skewX(-18deg); opacity: 0; }
}
/* 海事智慧监控平台 Header 样式 - 深海蓝主题 */
.blank-header--maritime {
height: 88px;
line-height: 88px;
padding: 0 24px;
background: linear-gradient(180deg,
rgba(2, 12, 27, 0.98) 0%,
rgba(8, 25, 45, 0.95) 50%,
rgba(12, 35, 60, 0.92) 100%) !important;
border-bottom: none;
overflow: hidden;
box-shadow:
0 4px 24px rgba(0, 0, 0, 0.5),
inset 0 -2px 0 rgba(0, 150, 200, 0.3),
inset 0 1px 0 rgba(0, 200, 255, 0.15);
position: sticky;
/* 顶部海洋蓝光线 - 更亮更粗 */
&::before {
content: '';
position: absolute;
left: 0;
right: 0;
top: 0;
height: 3px;
background: linear-gradient(90deg,
transparent 5%,
rgba(0, 180, 230, 0.4) 20%,
rgba(0, 220, 255, 0.9) 50%,
rgba(0, 180, 230, 0.4) 80%,
transparent 95%);
opacity: 0.9;
pointer-events: none;
animation: headerGlow 3s ease-in-out infinite;
}
/* 海洋波纹光扫效果 - 更明显 */
&::after {
content: '';
position: absolute;
top: 0;
left: -40%;
width: 40%;
height: 100%;
background: linear-gradient(90deg,
transparent,
rgba(0, 180, 230, 0.08),
rgba(0, 220, 255, 0.15),
rgba(0, 180, 230, 0.08),
transparent);
transform: skewX(-20deg);
animation: maritimeSweep 5s ease-in-out infinite;
opacity: 0.8;
pointer-events: none;
}
.header-left {
flex: 1.3;
display: flex;
align-items: center;
justify-content: flex-start;
}
.header-center {
flex: 1.4;
display: flex;
align-items: center;
justify-content: center;
padding: 0 16px;
}
.header-right {
flex: 1.3;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 14px;
}
/* 海事标题样式 - 更大更醒目 */
.dashboard-title--maritime {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
max-width: 900px;
padding: 0 24px;
&::before,
&::after {
content: '';
flex: 1;
height: 2px;
opacity: 0.7;
}
&::before {
background: linear-gradient(90deg, transparent, rgba(0, 180, 230, 0.8));
}
&::after {
background: linear-gradient(90deg, rgba(0, 180, 230, 0.8), transparent);
}
.dashboard-title__text {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 36px;
margin: 0 18px;
border-radius: 999px;
border: 2px solid rgba(0, 180, 230, 0.4);
background: linear-gradient(135deg, rgba(8, 30, 55, 0.8) 0%, rgba(15, 45, 75, 0.6) 100%);
font-size: 32px;
font-weight: 800;
letter-spacing: 10px;
line-height: 1.1;
font-family: 'DIN Alternate', 'HarmonyOS Sans', 'Microsoft YaHei', 'PingFang SC', sans-serif;
color: #fff;
text-shadow:
0 0 20px rgba(0, 200, 255, 0.6),
0 0 40px rgba(0, 150, 200, 0.4),
0 2px 4px rgba(0, 0, 0, 0.3);
background-image: linear-gradient(180deg, #ffffff 0%, #7dd3fc 50%, #0ea5e9 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
position: relative;
/* 发光边框效果 */
box-shadow:
0 0 20px rgba(0, 180, 230, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.dashboard-title__deco--maritime {
position: absolute;
bottom: 8px;
left: 50%;
transform: translateX(-50%);
width: 280px;
height: 3px;
background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 1), transparent);
filter: drop-shadow(0 0 12px rgba(0, 200, 255, 0.6));
opacity: 0.9;
animation: decoGlow 2s ease-in-out infinite alternate;
}
}
/* 海事风格筛选器 - 调整垂直居中 */
.dashboard-filter {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 16px;
border-radius: 12px;
border: 1px solid rgba(0, 180, 230, 0.35);
background: linear-gradient(135deg, rgba(8, 25, 45, 0.7) 0%, rgba(12, 35, 60, 0.5) 100%);
backdrop-filter: blur(12px);
box-shadow:
0 2px 12px rgba(0, 0, 0, 0.2),
inset 0 1px 0 rgba(0, 200, 255, 0.1);
.filter-divider {
width: 1px;
height: 28px;
background: linear-gradient(180deg, transparent, rgba(0, 180, 230, 0.5), transparent);
margin: 0 6px;
}
:global(.ant-tree-select) {
min-width: 240px;
}
:global(.ant-select-selector) {
background: rgba(0, 150, 200, 0.1) !important;
border: 1px solid rgba(0, 180, 230, 0.3) !important;
border-radius: 8px !important;
}
:global(.ant-checkbox-wrapper) {
color: rgba(200, 230, 255, 0.75) !important;
}
}
/* 海事风格用户区域 */
.dashboard-user--dashboard {
padding: 8px 14px;
border-radius: 999px;
border: 1px solid rgba(0, 180, 230, 0.35);
background: linear-gradient(135deg, rgba(8, 25, 45, 0.7) 0%, rgba(12, 35, 60, 0.5) 100%);
backdrop-filter: blur(12px);
.user-name {
color: rgba(200, 230, 255, 0.9);
}
}
}
.blank-content--maritime {
height: calc(100vh - 88px);
overflow: hidden;
background: linear-gradient(180deg,
#020c1b 0%,
#071a2f 30%,
#0c2340 60%,
#0f2847 100%);
}
@keyframes maritimeSweep {
0% { transform: translateX(0) skewX(-20deg); opacity: 0; }
15% { opacity: 0.8; }
50% { opacity: 0.4; }
100% { transform: translateX(450%) skewX(-20deg); opacity: 0; }
}
@keyframes headerGlow {
0%, 100% { opacity: 0.7; }
50% { opacity: 1; }
}
@keyframes decoGlow {
0% { opacity: 0.7; width: 260px; }
100% { opacity: 1; width: 300px; }
}
@media (max-width: 768px) {
.blank-header {
padding: 0 12px;