修复导览与讲解位置预览逻辑
This commit is contained in:
@@ -37,6 +37,7 @@ export interface ExplainDetailPageViewModel {
|
||||
subtitle?: string
|
||||
contentType: ExplainContentType
|
||||
coverImages: string[]
|
||||
hallId?: string
|
||||
hallName?: string
|
||||
floorLabel?: string
|
||||
summary: string
|
||||
@@ -144,6 +145,7 @@ export const toExplainDetailPageViewModel = (exhibit: MuseumExhibit): ExplainDet
|
||||
subtitle: buildSubtitle(exhibit),
|
||||
contentType: contentTypeFor(exhibit),
|
||||
coverImages: [exhibit.image || '/static/exhibit-placeholder.jpg'].filter(Boolean),
|
||||
hallId: exhibit.hallId,
|
||||
hallName: exhibit.hallName,
|
||||
floorLabel: exhibit.floorLabel,
|
||||
summary: exhibit.guideText || exhibit.description || '该展项暂无讲解文稿。',
|
||||
|
||||
Reference in New Issue
Block a user