|
|
@@ -81,20 +81,10 @@
|
|
|
>
|
|
|
返回全球
|
|
|
</button>
|
|
|
- <!-- 票 04:配置三态 + 数据源,顶栏可演示;data-* 供走查断言。
|
|
|
- 票 32:这是开发期的诊断读数,生产形态不占顶栏(状态退到底部小字)。 -->
|
|
|
- <span
|
|
|
- v-if="configLoaded && uiDebug"
|
|
|
- class="cockpit-shell__config"
|
|
|
- :data-config-state="configView.state"
|
|
|
- :data-data-source="configView.dataSource"
|
|
|
- :data-source="configState.source"
|
|
|
- >
|
|
|
- <StatusTag :tone="configView.tone" :label="configView.label" />
|
|
|
- </span>
|
|
|
- <span class="cockpit-shell__chip">只读视图</span>
|
|
|
+ <!-- 票 102:顶栏只留在用的按钮(归位 / 返回全球)与时钟。
|
|
|
+ 维护者 2026-11-02:配置三态、只读标记、模式读数三个诊断读数下屏 ——
|
|
|
+ 它们既占走查视线,又把右侧状态区撑宽,挤得中列菜单左右晃动。 -->
|
|
|
<span class="cockpit-shell__clock">{{ clockText }}</span>
|
|
|
- <p v-if="uiDebug" class="cockpit-shell__meta">当前模式 {{ mode }}</p>
|
|
|
</div>
|
|
|
</header>
|
|
|
|
|
|
@@ -569,11 +559,9 @@ import EventListPane from './components/EventListPane.vue'
|
|
|
import EventDetailCard from './components/EventDetailCard.vue'
|
|
|
import EntityDetailDrawer from './components/EntityDetailDrawer.vue'
|
|
|
import WarningResponsePane from './components/WarningResponsePane.vue'
|
|
|
-import StatusTag from './components/StatusTag.vue'
|
|
|
import CockpitIntro from './components/CockpitIntro.vue'
|
|
|
import SectionStateTag from './components/SectionStateTag.vue'
|
|
|
import PointDetailCard from './components/PointDetailCard.vue'
|
|
|
-import { configStatusView } from './domain/configStatus.js'
|
|
|
import { DETAIL_LEVEL } from './domain/detailFlow.js'
|
|
|
import { homeLabel } from './domain/viewPresets.js'
|
|
|
import { ensureCockpitMocks } from './mocks/index.js'
|
|
|
@@ -1584,10 +1572,9 @@ async function refreshModePanels() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// ---- 配置状态(票 04):载入前不渲染标签,避免先闪一下「缺失」再变「就绪」 ----
|
|
|
-const configLoaded = ref(false)
|
|
|
+// ---- 配置状态(票 04):票 102 起顶栏不再显示配置读数,这里只留判定结果,
|
|
|
+// 供地图配置(mapConfig / uiDebug)与降级说明使用。----
|
|
|
const configState = ref(null)
|
|
|
-const configView = computed(() => configStatusView(configState.value))
|
|
|
|
|
|
/**
|
|
|
* 票 17:字体授权门禁的宿主读数(走查断言接缝)。
|
|
|
@@ -1871,7 +1858,6 @@ onMounted(() => {
|
|
|
// 票 04:配置只在这个入口载入一次(服务内部有缓存),地图服务按需 await 同一份。
|
|
|
loadCockpitConfig().then((result) => {
|
|
|
configState.value = result
|
|
|
- configLoaded.value = true
|
|
|
// 配置到手才知道引导开关与预设坐标,重新取一次。
|
|
|
intro.value = getIntroConfig()
|
|
|
introVisible.value = intro.value.enabled
|
|
|
@@ -2500,12 +2486,6 @@ const mapDataSourceCredits = computed(() => getDataSourceCredits())
|
|
|
text-shadow: 0 0 12px rgba(1, 171, 234, 0.55);
|
|
|
}
|
|
|
|
|
|
-.cockpit-shell__meta {
|
|
|
- margin: 0;
|
|
|
- color: var(--muted);
|
|
|
- font-size: var(--fs-caption, 11.5px);
|
|
|
- letter-spacing: 0.06em;
|
|
|
-}
|
|
|
|
|
|
/* ============================================================
|
|
|
全局筛选条(压矮:38 设计像素)
|