diff --git a/src/views/mapTest/allTrajectories.vue b/src/views/mapTest/allTrajectories.vue index de530f7..35286e4 100644 --- a/src/views/mapTest/allTrajectories.vue +++ b/src/views/mapTest/allTrajectories.vue @@ -36,6 +36,11 @@
+ +总点位数: {{ points.length }}
@@ -494,6 +500,30 @@ onBeforeUnmount(() => { height: 100%; } + // 系统名称样式 + .system-title { + position: absolute; + top: 20px; + left: 20px; + z-index: 100; + background: linear-gradient(135deg, rgba(91, 143, 249, 0.95) 0%, rgba(123, 163, 255, 0.95) 100%); + padding: 16px 28px; + border-radius: 12px; + box-shadow: 0 4px 16px rgba(91, 143, 249, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15); + backdrop-filter: blur(10px); + border: 1px solid rgba(255, 255, 255, 0.2); + + h1 { + margin: 0; + font-size: 20px; + font-weight: 700; + color: #fff; + letter-spacing: 1px; + text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); + white-space: nowrap; + } + } + .info-panel { position: absolute; top: 20px; diff --git a/src/views/mapTest/trajectory.vue b/src/views/mapTest/trajectory.vue index 17aec7f..6be7f2d 100644 --- a/src/views/mapTest/trajectory.vue +++ b/src/views/mapTest/trajectory.vue @@ -37,6 +37,11 @@ + +轨迹点数: {{ trajectoryPoints.length }}
@@ -590,6 +595,30 @@ onBeforeUnmount(() => { width: 100%; } + // 系统名称样式 + .system-title { + position: absolute; + top: 80px; + left: 20px; + z-index: 100; + background: linear-gradient(135deg, rgba(91, 143, 249, 0.95) 0%, rgba(123, 163, 255, 0.95) 100%); + padding: 16px 28px; + border-radius: 12px; + box-shadow: 0 4px 16px rgba(91, 143, 249, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15); + backdrop-filter: blur(10px); + border: 1px solid rgba(255, 255, 255, 0.2); + + h1 { + margin: 0; + font-size: 20px; + font-weight: 700; + color: #fff; + letter-spacing: 1px; + text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); + white-space: nowrap; + } + } + .info-panel { position: absolute; top: 80px; @@ -628,6 +657,19 @@ onBeforeUnmount(() => { // 移动端适配 @media (max-width: 768px) { .trajectory-container { + // 系统名称移动端样式 + .system-title { + top: 70px; + left: 10px; + right: 10px; + padding: 12px 16px; + + h1 { + font-size: 14px; + letter-spacing: 0.5px; + } + } + .header-bar { padding: 12px; gap: 8px;