66 lines
2.3 KiB
XML
66 lines
2.3 KiB
XML
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"cheight": 40,
|
|
"width": "100%",
|
|
"padding": "16px",
|
|
"spacing": "12px"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "HBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"justifyContent": "space-between",
|
|
"alignItems": "center"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {"spacing": "4px"},
|
|
"subwidgets": [
|
|
{"widgettype": "Text", "options": {"text": "文档管理", "cfontsize": 22, "fontWeight": "bold", "color": "#333"}},
|
|
{"widgettype": "Text", "options": {"text": "上传文本、图片、音频、视频文件", "cfontsize": 14, "color": "#888"}}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "Button",
|
|
"options": {
|
|
"label": "📁 上传文件",
|
|
"bgcolor": "#50b86c",
|
|
"color": "#fff"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"cheight": 8,
|
|
"bgcolor": "#f8f9fa",
|
|
"padding": "24px",
|
|
"css": "card",
|
|
"border": "2px dashed #d0d0d0",
|
|
"alignItems": "center",
|
|
"justifyContent": "center"
|
|
},
|
|
"subwidgets": [
|
|
{"widgettype": "Text", "options": {"text": "📂", "cfontsize": 32}},
|
|
{"widgettype": "Text", "options": {"text": "拖拽文件到此处上传", "cfontsize": 16, "color": "#888"}},
|
|
{"widgettype": "Text", "options": {"text": "支持: TXT, PDF, JPG, PNG, MP3, WAV, MP4, AVI", "cfontsize": 12, "color": "#aaa"}},
|
|
{"widgettype": "Text", "options": {"text": "单个文件最大 500MB · 自动向量化入库", "cfontsize": 12, "color": "#aaa"}}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"text": "暂无文档",
|
|
"color": "#aaa",
|
|
"cfontsize": 14,
|
|
"halign": "center"
|
|
}
|
|
}
|
|
]
|
|
}
|