增加 3d 展示区块

This commit is contained in:
eafonyang
2026-08-17 14:58:02 +08:00
parent 160307087d
commit 952b8bb76e
6 changed files with 293 additions and 5 deletions
+8 -1
View File
@@ -86,7 +86,8 @@ export type SectionLayout =
| 'title_media'
| 'mosaic'
| 'marquee'
| 'spec_table';
| 'spec_table'
| 'model3d';
export interface SpecItem {
id: number;
@@ -163,6 +164,12 @@ export interface SectionConfig {
marquee_items?: MarqueeItem[];
/** 跑马灯切换间隔(秒) */
marquee_interval?: number;
/** 3D 模型文件路径(model3d 布局,素材库上传的 .glb/.gltf */
model_url?: string;
/** 3D 展示区高度 px(默认 480 */
model_height?: number;
/** 3D 模型是否自动旋转(默认开) */
auto_rotate?: boolean;
[key: string]: unknown;
}