|  | @@ -1,5 +1,5 @@
 | 
	
		
			
				|  |  |  <script lang="ts" setup>
 | 
	
		
			
				|  |  | -import {onMounted, reactive, ref} from 'vue'
 | 
	
		
			
				|  |  | +import {computed, onMounted, reactive, ref} from 'vue'
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import {AppMain, Navbar} from '@/layout/components/index.js'
 | 
	
		
			
				|  |  |  import AntvMap from '@/components/AntvMap/index.vue'
 | 
	
	
		
			
				|  | @@ -13,9 +13,12 @@ import Chat from "@/components/chat.vue";
 | 
	
		
			
				|  |  |  import {Operate} from "@/utils/tdInstruction";
 | 
	
		
			
				|  |  |  import TimeScrollbar from "@/components/TimeScrollbar.vue";
 | 
	
		
			
				|  |  |  import {useStationStore} from "@/stores/station"
 | 
	
		
			
				|  |  | +import {useTyphoonStore} from "@/stores/typhoon";
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const appStore = useAppStore()
 | 
	
		
			
				|  |  |  const stationStore = useStationStore()
 | 
	
		
			
				|  |  | +const typhoonStore = useTyphoonStore()
 | 
	
		
			
				|  |  |  const timeScrollbarStore = useTimeScrollbarStore()
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  // 告警信息
 | 
	
	
		
			
				|  | @@ -25,6 +28,10 @@ const dialog = reactive({visible: false, title: '视频'})
 | 
	
		
			
				|  |  |  const videoList: any[] = []
 | 
	
		
			
				|  |  |  const videoCodeOptions = ref([])
 | 
	
		
			
				|  |  |  const videoCode = ref(undefined)
 | 
	
		
			
				|  |  | +const radarState = computed({
 | 
	
		
			
				|  |  | +  get: () => typhoonStore.isRadar,
 | 
	
		
			
				|  |  | +  set: (value) => typhoonStore.setRadar(value)
 | 
	
		
			
				|  |  | +})
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  /**
 | 
	
		
			
				|  |  |   * 根据id获取视频监控
 | 
	
	
		
			
				|  | @@ -121,7 +128,6 @@ window.addEventListener("message", (event) => {
 | 
	
		
			
				|  |  |        <!-- 展示页 -->
 | 
	
		
			
				|  |  |        <app-main/>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |        <div v-if="timeScrollbarStore.timeScrollbarShow" class="custom-time-scrollbar">
 | 
	
		
			
				|  |  |          <time-scrollbar :formatTooltip="timeScrollbarStore.sliderlTooltip" :marks="timeScrollbarStore.marks"
 | 
	
		
			
				|  |  |                          :max="timeScrollbarStore.max" :step="timeScrollbarStore.step"></time-scrollbar>
 | 
	
	
		
			
				|  | @@ -138,6 +144,14 @@ window.addEventListener("message", (event) => {
 | 
	
		
			
				|  |  |        </el-dialog>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        <chat></chat>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +      <div v-if="typhoonStore.isTyphoon" class="typhoon-legend">
 | 
	
		
			
				|  |  | +        <div class="typhoon-item">
 | 
	
		
			
				|  |  | +          <div class="typhoon-item-title">
 | 
	
		
			
				|  |  | +            <el-checkbox v-model="radarState" :value="true" label="雷达"/>
 | 
	
		
			
				|  |  | +          </div>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +      </div>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |    </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
	
		
			
				|  | @@ -183,7 +197,6 @@ $base-background-color2: rgba(10, 117, 195, 1);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |      .header-container {
 | 
	
		
			
				|  |  |        width: 100%;
 | 
	
		
			
				|  |  |        background-image: linear-gradient(132deg, #4791f8 0%, #2d3bdb 100%);
 | 
	
	
		
			
				|  | @@ -196,6 +209,25 @@ $base-background-color2: rgba(10, 117, 195, 1);
 | 
	
		
			
				|  |  |        width: 100%;
 | 
	
		
			
				|  |  |        height: 92vh;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    .typhoon-legend {
 | 
	
		
			
				|  |  | +      pointer-events: auto;
 | 
	
		
			
				|  |  | +      position: absolute;
 | 
	
		
			
				|  |  | +      bottom: 10px;
 | 
	
		
			
				|  |  | +      right: 10px;
 | 
	
		
			
				|  |  | +      border: #2399f8 1px solid;
 | 
	
		
			
				|  |  | +      border-radius: 10px;
 | 
	
		
			
				|  |  | +      width: 120px;
 | 
	
		
			
				|  |  | +      max-height: 300px;
 | 
	
		
			
				|  |  | +      background-color: rgba(18, 72, 124, 0.5);
 | 
	
		
			
				|  |  | +      color: #fff;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +      .typhoon-item {
 | 
	
		
			
				|  |  | +        padding: 5px 10px;
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    .floor-container {
 |