From c10a91f2d151ee9da11ff505902f22b0a03e0dd1 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 10 Feb 2026 13:59:46 +0800
Subject: [PATCH] feat:数据驾驶舱微调
---
applications/drone-command/src/views/dataCockpit/components/SceneDeployment.vue | 23 ++++++++++++++++++-----
1 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/applications/drone-command/src/views/dataCockpit/components/SceneDeployment.vue b/applications/drone-command/src/views/dataCockpit/components/SceneDeployment.vue
index 3b0fff4..40d8162 100644
--- a/applications/drone-command/src/views/dataCockpit/components/SceneDeployment.vue
+++ b/applications/drone-command/src/views/dataCockpit/components/SceneDeployment.vue
@@ -59,6 +59,8 @@
</div>
<div class="row">
<span class="label">有效时间</span>
+ </div>
+ <div class="row">
<span class="value">{{ formatTimeRange(item.effectiveDateStart, item.effectiveDateEnd) }}</span>
</div>
</div>
@@ -70,8 +72,8 @@
<script setup>
import { ref, onMounted } from 'vue'
import dayjs from 'dayjs'
-import zcsbLogo from '@/assets/images/dataCockpit/zcsb.png'
-import fzsbLogo from '@/assets/images/dataCockpit/fzsb.png'
+import sceneLogo from '@/assets/images/dataCockpit/scene.png'
+import areaLogo from '@/assets/images/dataCockpit/area.png'
import EmptyState from './EmptyState.vue'
import { newDefenseSceneManageList, sceneManageStatisticsApi } from '@/api/dataCockpit'
import { getDictionaryByCode } from '@/api/system/dictbiz'
@@ -84,12 +86,12 @@
{
name: '场景',
val: 0,
- logo: zcsbLogo // 暂时复用
+ logo: sceneLogo // 暂时复用
},
{
name: '区域',
val: 0,
- logo: fzsbLogo // 暂时复用
+ logo: areaLogo // 暂时复用
}
])
@@ -290,7 +292,6 @@
margin-top: 10px;
display: flex;
flex-direction: column;
- gap: 10px;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
@@ -301,15 +302,27 @@
text-transform: none;
.row {
+ margin-top: 10px;
+
line-height: 22px;
.label {
margin-right: 10px;
color: #D4D5D7;
}
+
+ &:first-child {
+ margin-top: 0;
+ }
+
+ &:last-child {
+ margin-top: 0;
+ }
}
.rows {
+ margin-top: 10px;
+
display: flex;
.col {
--
Gitblit v1.9.3