类型:开发

描述:
This commit is contained in:
2025-04-15 09:40:00 +08:00
parent 612f67869b
commit 44e612361c
3 changed files with 12 additions and 14 deletions

View File

@@ -71,7 +71,7 @@
</div>
</div>
<div class="desc-box">
<title2 title="酒店简介" />
<title2 title="简介" />
<div class="desc-content" v-html="info?.introduction"></div>
<div class="desc-container">
<div>

View File

@@ -29,6 +29,13 @@
(val) => {
if (val[0] && val[1]) {
sendMessage(JSON.stringify({ action: 'start', type: '', scenicSpotId: scenicSpotId.value }))
sendMessage(
JSON.stringify({
action: 'start',
type: 'secureData',
scenicSpotId: scenicSpotId.value
})
)
}
},
{ immediate: true }
@@ -56,7 +63,6 @@
scenicStore.setScenicBearData(val)
break
case 'stopCarData':
console.log(val,'valvalvalvalvalvalval')
scenicStore.setStopCarData(val)
break
case 'secureData':
@@ -100,7 +106,6 @@
}, 20000)
}
const sendCarShip = (e) => {
timer = setInterval(() => {
if (isConnected.value) {
//车船数据
@@ -111,13 +116,7 @@
scenicSpotId: scenicSpotId.value
})
) //车窗数据
sendMessage(
JSON.stringify({
action: 'start',
type: 'secureData',
scenicSpotId: scenicSpotId.value
})
)
}
}, 5000)
}