官网开发 0811
This commit is contained in:
+13
-3
@@ -83,11 +83,9 @@ export type SectionLayout =
|
||||
| 'split_content'
|
||||
| 'gallery'
|
||||
| 'stats'
|
||||
| 'video_showcase'
|
||||
| 'title_media'
|
||||
| 'mosaic'
|
||||
| 'scroll_narrative'
|
||||
| 'quote'
|
||||
| 'marquee'
|
||||
| 'spec_table';
|
||||
|
||||
export interface SpecItem {
|
||||
@@ -147,12 +145,24 @@ export interface MosaicItem {
|
||||
media_en: string;
|
||||
}
|
||||
|
||||
// 跑马灯布局轮播素材(config.marquee_items):图片/视频,最多 5 个
|
||||
export interface MarqueeItem {
|
||||
type: 'image' | 'video';
|
||||
media_zh: string;
|
||||
media_en: string;
|
||||
/** 可选跳转链接 */
|
||||
link?: string;
|
||||
}
|
||||
|
||||
export interface SectionConfig {
|
||||
features?: FeatureItem[];
|
||||
stats?: StatItem[];
|
||||
steps?: NarrativeStep[];
|
||||
images?: GalleryImage[];
|
||||
mosaic_items?: MosaicItem[];
|
||||
marquee_items?: MarqueeItem[];
|
||||
/** 跑马灯切换间隔(秒) */
|
||||
marquee_interval?: number;
|
||||
[key: string]: unknown;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user