官网开发 0805
This commit is contained in:
@@ -82,6 +82,8 @@ export type SectionLayout =
|
||||
| 'gallery'
|
||||
| 'stats'
|
||||
| 'video_showcase'
|
||||
| 'title_media'
|
||||
| 'mosaic'
|
||||
| 'scroll_narrative'
|
||||
| 'quote'
|
||||
| 'spec_table';
|
||||
@@ -136,11 +138,19 @@ export interface GalleryImage {
|
||||
caption_en: string;
|
||||
}
|
||||
|
||||
// 马赛克拼贴布局槽位素材(config.mosaic_items)
|
||||
export interface MosaicItem {
|
||||
type: 'image' | 'video';
|
||||
media_zh: string;
|
||||
media_en: string;
|
||||
}
|
||||
|
||||
export interface SectionConfig {
|
||||
features?: FeatureItem[];
|
||||
stats?: StatItem[];
|
||||
steps?: NarrativeStep[];
|
||||
images?: GalleryImage[];
|
||||
mosaic_items?: MosaicItem[];
|
||||
[key: string]: unknown;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user