为讲解业务单元接入预览封面

This commit is contained in:
lyf
2026-07-03 02:31:27 +08:00
parent c146beba9e
commit db7a14329f
44 changed files with 1254 additions and 17 deletions

View File

@@ -15,6 +15,9 @@ import {
import {
normalizeSameOriginPublicUrl
} from '@/utils/publicUrl'
import {
getExplainUnitPreviewImage
} from '@/utils/explainUnitPreviews'
import type {
GuideStaticContentPayload,
GuideStaticDataset,
@@ -298,6 +301,7 @@ const toExplainBusinessUnitsByHallId = (
id: unitId,
name: unitNameByKey.get(`${hallId}:${unitId}`) || '其他讲解',
hallId,
previewImageUrl: getExplainUnitPreviewImage(unitId),
guideStopCount: groupStops.length,
stops: groupStops
}))