feat:对接消息相关接口

This commit is contained in:
zjc
2025-01-08 18:05:12 +08:00
parent ab1ab210a9
commit 9ee304c8c2
39 changed files with 2081 additions and 1926 deletions

View File

@@ -1,6 +1,6 @@
<template>
<box1 />
<box2 />
<box2 @switch-spot="switchSpot" />
<box3 />
</template>
@@ -22,10 +22,20 @@
JSON.stringify({
action: 'start',
type: 'index',
scenitspot: 'index'
scenicSpot: '4'
})
)
}
}
)
const switchSpot = (e) => {
sendMessage(
JSON.stringify({
action: 'start',
type: 'index',
scenicSpot: e
})
)
}
</script>