官网开发 0805

This commit is contained in:
eafonyang
2026-08-05 18:36:01 +08:00
parent 816281bf2d
commit c9a1d9c576
23 changed files with 1367 additions and 231 deletions
+10
View File
@@ -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;
}