类型:开发

描述:
This commit is contained in:
2025-04-23 04:12:08 +08:00
parent 29d193ae8c
commit d8c4c1a87f
6 changed files with 48 additions and 24 deletions

View File

@@ -134,7 +134,7 @@ import pubSub from 'pubsub-js'
// let spotRes = await getSpotListApi()
// return false;
pubSub.publish('navToChange',hrefItem.value)
router.push('/monitor')
}
let src = ref('')
@@ -193,7 +193,7 @@ import pubSub from 'pubsub-js'
&__left {
display: flex;
align-items: center;
> img {
width: vw(74);
height: auto;
@@ -201,7 +201,7 @@ import pubSub from 'pubsub-js'
}
&__left-item {
position: relative;
width: vw(120);
width: vw(180);
height: vh(58);
padding-left: vw(10);
display: flex;

View File

@@ -128,14 +128,38 @@
scenicSpotId: scenicSpotId.value
})
) //车窗数据2
sendMessage(
JSON.stringify({
action: 'start',
type: 'gpsData',
keyword:keyword.value,
scenicSpotId: scenicSpotId.value
})
) //车窗数据
sendMessage(
JSON.stringify({
action: 'start',
type: 'gpsData',
keyword:keyword.value,
scenicSpotId: scenicSpotId.value
})
)
sendMessage(
JSON.stringify({
action: 'start',
type: 'scenicSppotLoad',
keyword:keyword.value,
scenicSpotId: scenicSpotId.value
})
)
sendMessage(
JSON.stringify({
action: 'start',
type: 'scenicSppotLineUp',
keyword:keyword.value,
scenicSpotId: scenicSpotId.value
})
)
sendMessage(
JSON.stringify({
action: 'start',
type: 'scenicSpotData',
keyword:keyword.value,
scenicSpotId: scenicSpotId.value
})
)
}
}, 5000)
}