完善原生内容卡与H5详情分工

This commit is contained in:
2026-03-27 21:03:55 +08:00
parent 0e0a724025
commit 0703fd47a2
21 changed files with 903 additions and 83 deletions

View File

@@ -1,5 +1,6 @@
import { type LonLatPoint } from '../../utils/projection'
import { type GameAudioConfig } from '../audio/audioConfig'
import { type H5ExperiencePresentation } from '../experience/h5Experience'
export type GameMode = 'classic-sequential' | 'score-o'
export type GameControlKind = 'start' | 'control' | 'finish'
@@ -10,6 +11,7 @@ export interface GameContentExperienceConfig {
url: string | null
bridge: string
fallback: 'native'
presentation: H5ExperiencePresentation
}
export interface GameContentExperienceConfigOverride {
@@ -17,9 +19,11 @@ export interface GameContentExperienceConfigOverride {
url?: string
bridge?: string
fallback?: 'native'
presentation?: H5ExperiencePresentation
}
export interface GameControlDisplayContent {
template: 'minimal' | 'story' | 'focus'
title: string
body: string
autoPopup: boolean
@@ -32,6 +36,7 @@ export interface GameControlDisplayContent {
}
export interface GameControlDisplayContentOverride {
template?: 'minimal' | 'story' | 'focus'
title?: string
body?: string
autoPopup?: boolean