feat:新增物料

This commit is contained in:
2026-10-13 04:16:00 -07:00
parent b117f21e3a
commit a80727b7a0
15 changed files with 174 additions and 54 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ from app.services.thumbnails import ThumbnailStorage
SCRIPT_MAX_CHARS = 64 * 1024
COPY_SUFFIX = " 副本"
EMPTY_PAGE = {
"canvas": {"width": 1920, "height": 1080, "backgroundColor": "#ffffff10"},
# 不设背景色:用主题的背景色,组件颜色也跟着主题走
"canvas": {"width": 1920, "height": 1080, "theme": "light"},
"nodes": [],
"dataSource": [],
}