This commit is contained in:
duanliang
2025-04-26 16:32:45 +08:00
parent 5abd7e222e
commit 2bd06ab811
5 changed files with 23 additions and 8 deletions

View File

@@ -259,12 +259,17 @@ let tabsIndex = ref(0)
}
if (item.status == '静止') {
if(item.type==1){
addMarker(shipStopIcon, [item.lng, item.lat], [36, 50])
addMarker(shipIcon, [item.lng, item.lat], [36, 50])
}else{
addMarker(carStopIcon, [item.lng, item.lat], [36, 50])
addMarker(carIcon, [item.lng, item.lat], [36, 50])
}
// if(item.type==1){
// addMarker(shipStopIcon, [item.lng, item.lat], [36, 50])
// }else{
// addMarker(carStopIcon, [item.lng, item.lat], [36, 50])
// }
}
}

View File

@@ -11,6 +11,7 @@
<div class="label">{{ item.name }}</div>
<countup :end-val="item.value" />
</div>
</div>
<div>
<div v-for="(item, index) in scenicStore.scenicSpotData.infoList" :key="index">