完善原生内容卡与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,4 +1,5 @@
export type H5ExperienceKind = 'content' | 'result'
export type H5ExperiencePresentation = 'sheet' | 'dialog' | 'fullscreen'
export interface H5ExperienceFallbackPayload {
title: string
@@ -13,8 +14,10 @@ export interface H5ExperienceFallbackPayload {
export interface H5ExperienceRequest {
kind: H5ExperienceKind
title: string
subtitle?: string
url: string
bridgeVersion: string
presentation: H5ExperiencePresentation
context: Record<string, unknown>
fallback: H5ExperienceFallbackPayload
}