@@ -134,8 +134,11 @@ const handleExplainGuideStopClick = (stop: ExplainGuideStopCatalogItem) => {
|
||||
? { targetType: stop.playTargetType, targetId: stop.playTargetId }
|
||||
: normalizeExplainDetailTargetFromGuideStop({ id: stop.id })
|
||||
const params = new URLSearchParams({ id: stop.id, tab: 'explain', targetType: target.targetType, targetId: target.targetId })
|
||||
if (stop.hallId) params.set('hallId', stop.hallId)
|
||||
if (stop.hallName) params.set('hallName', stop.hallName)
|
||||
// 分页对象可能未回填展厅字段,详情返回必须保留当前列表的展厅上下文。
|
||||
const hallId = stop.hallId || selectedExplainHallId.value
|
||||
const hallName = stop.hallName || selectedExplainHallName.value
|
||||
if (hallId) params.set('hallId', hallId)
|
||||
if (hallName) params.set('hallName', hallName)
|
||||
if (stop.floorId) params.set('floorId', stop.floorId)
|
||||
if (stop.poiId) params.set('poiId', stop.poiId)
|
||||
uni.navigateTo({ url: `/pages/exhibit/detail?${params.toString()}` })
|
||||
|
||||
Reference in New Issue
Block a user