feat:完善地图上车船图标

This commit is contained in:
zjc
2025-03-10 16:21:02 +08:00
parent e31a1bc2f4
commit 8c985befd7
8 changed files with 30 additions and 7 deletions

View File

@@ -173,19 +173,23 @@
router.push(item.path)
} else {
if (current.value === item.id) return
otherLeftLabel.value = '其他酒店'
otherRightLabel.value = '其他场馆'
current.value = item.id
switch (router.currentRoute.value.path) {
case '/scenic':
title.value = item.name
otherLeftLabel.value = '其他景区'
otherRightLabel.value = ''
pubSub.publish('scenicChange', item)
break
case '/monitor':
title.value = item.name
otherLeftLabel.value = '其他景区'
otherRightLabel.value = ''
pubSub.publish('monitorChange', item)
break
case '/hotel':
otherLeftLabel.value = '其他酒店'
otherRightLabel.value = '其他场馆'
pubSub.publish('hotelChange', item)
break
}