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

@@ -368,12 +368,16 @@
} }
.error { .error {
color: #F15A25; color: #F15A25;
color:#DCBB48;
} }
.success { .success {
color: #02F9FA; color: #02F9FA;
// color:#E21B1B;
} }
.type3{ .type3{
color:#E21B1B; color: #02F9FA;
} }
} }
} }

View File

@@ -692,7 +692,7 @@
transform: rotate(180deg); transform: rotate(180deg);
} }
&__name { &__name {
padding: 0 vw(20); padding: 0 vw(10);
display: block; display: block;
font-weight: 400; font-weight: 400;
font-size: vw(15); font-size: vw(15);

View File

@@ -259,12 +259,17 @@ let tabsIndex = ref(0)
} }
if (item.status == '静止') { if (item.status == '静止') {
if(item.type==1){ if(item.type==1){
addMarker(shipStopIcon, [item.lng, item.lat], [36, 50]) addMarker(shipIcon, [item.lng, item.lat], [36, 50])
}else{ }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> <div class="label">{{ item.name }}</div>
<countup :end-val="item.value" /> <countup :end-val="item.value" />
</div> </div>
</div> </div>
<div> <div>
<div v-for="(item, index) in scenicStore.scenicSpotData.infoList" :key="index"> <div v-for="(item, index) in scenicStore.scenicSpotData.infoList" :key="index">

View File

@@ -249,13 +249,18 @@ import PubSub from 'pubsub-js'
} }
if (item.status == '静止') { if (item.status == '静止') {
if(item.type==1){ if(item.type==1){
addMarker(shipStopIcon, [item.lng, item.lat], [36, 50]) addMarker(shipIcon, [item.lng, item.lat], [36, 50])
}else{ }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])
// }
} }
} }
marker.value.addEventListener('click', (e) => { marker.value.addEventListener('click', (e) => {