Compare commits

...

2 Commits

Author SHA1 Message Date
b77e33f001 Merge branch 'main' of http://10.0.0.99:4000/Ren/airport-qingdao-vue3 2025-07-16 15:46:52 +08:00
6aa4169371 UI图片 2025-07-16 15:46:47 +08:00

View File

@ -5,7 +5,7 @@
<script setup> <script setup>
import { ref, onMounted, onUnmounted, watch } from 'vue'; import { ref, onMounted, onUnmounted, watch } from 'vue';
import { Overlay } from 'ol'; import { Overlay } from 'ol';
import selectIcon from '@/assets/images/select_icon.png';
// props // props
const props = defineProps({ const props = defineProps({
map: Object, map: Object,
@ -155,7 +155,7 @@ function createLabelContent(vehicleId, speed, alertInfo = {}) {
activeTabContent = ` activeTabContent = `
<div class="tab-pane ${!activeTabFound ? 'active' : ''}" data-tab-content="warning" data-vehicle="${vehicleId}"> <div class="tab-pane ${!activeTabFound ? 'active' : ''}" data-tab-content="warning" data-vehicle="${vehicleId}">
<div class="alert"> <div class="alert">
<img src="../../../assets/images/select_icon.png"> <img src="${selectIcon}" />
<span>冲突预警</span> <span>冲突预警</span>
</div> </div>
<div class="alert-message">${warningMessage}</div> <div class="alert-message">${warningMessage}</div>