Zzc 157bae2ea0 feat(situational-awareness): 添加场景标签和调度加载动画
- 添加SceneLabel组件,用于在对比模式下标记灾害场景
- 更新页面标题为“渝路智管-应急保通事件处置”
- 修改面板标题,并添加强制调度的事件处理
- 使用条件图标增强地图标记,用于应急中心
- 更新3D模型配置URL,并在调度开始时添加加载动画
- 替换面板和工具提示的背景图片
- 添加新的图片素材,包括危险图标和加载GIF
2025-11-19 14:04:48 +08:00

64 lines
1.3 KiB
Vue

<template>
<div class="panel-header">
<div class="panel-header__content">
<span class="panel-header__title">{{ title }}</span>
<span v-if="subtitle" class="panel-header__subtitle">{{ subtitle }}</span>
</div>
<slot name="extra"></slot>
</div>
</template>
<script setup>
defineProps({
title: {
type: String,
required: true
},
subtitle: {
type: String,
default: ''
}
})
</script>
<style scoped lang="scss">
@use '@/styles/mixins.scss' as *;
@use '../../assets/styles/common.scss' as *;
.panel-header {
display: flex;
align-items: center;
justify-content: space-between;
width: vw(400);
height: vh(43);
background-image: url('../../assets/images/标题栏bg1.png');
background-position: 0 -1px;
background-repeat: no-repeat;
background-size: vw(400) vh(45);
padding: 0 vw(20);
margin-bottom: vw(10);
&__content {
display: flex;
align-items: baseline;
gap: vw(8);
}
&__title {
color: var(--text-white);
font-size: fs(20);
font-family: SourceHanSansCN-Bold, sans-serif;
font-weight: 700;
white-space: nowrap;
}
&__subtitle {
color: var(--text-white);
font-size: fs(14);
font-family: SourceHanSansCN-Bold, sans-serif;
font-weight: 700;
white-space: nowrap;
}
}
</style>