补齐讲解字段映射并优先展示接口展厅图
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-07 01:31:06 +08:00
parent 0ce38b390e
commit 4b03cc281c
9 changed files with 199 additions and 17 deletions

View File

@@ -160,6 +160,9 @@ export interface ExplainGuideStopSelectItem {
hallId?: string
hallName?: string
floorId?: string
poiId?: string
mapX?: number
mapY?: number
coverImageUrl?: string
description?: string
hasAudio?: boolean
@@ -239,7 +242,7 @@ const emptyDescription = computed(() => {
})
const hallIconUrl = (hall: ExplainHallSelectItem) => {
return hallIconMap[hall.name.trim()] || hall.image || ''
return hall.image || hallIconMap[hall.name.trim()] || ''
}
const hallIconText = (name: string) => name.trim().slice(0, 1) || '讲'