178 lines
6.7 KiB
XML
178 lines
6.7 KiB
XML
{
|
|
"id": "app",
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"css": "filler",
|
|
"width": "100%",
|
|
"height": "100%",
|
|
"spacing": 0
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "urlwidget",
|
|
"options": {
|
|
"cheight": 2.5,
|
|
"url": "{{entire_url('/top.ui')}}"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "HBox",
|
|
"options": {
|
|
"css": "filler",
|
|
"width": "100%",
|
|
"spacing": 0
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"bgcolor": "#2c2c2c",
|
|
"cwidth": 13,
|
|
"color": "#ccc"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"text": "RAG Server",
|
|
"css": "menu-title"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Button",
|
|
"options": {
|
|
"label": "知识库",
|
|
"bgcolor": "transparent",
|
|
"color": "#ccc"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "tap",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.rag_main_content",
|
|
"mode": "replace",
|
|
"options": {
|
|
"url": "{{entire_url('/knowledge_bases_list/index.ui')}}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "Button",
|
|
"options": {
|
|
"label": "文档管理",
|
|
"bgcolor": "transparent",
|
|
"color": "#ccc"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "tap",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.rag_main_content",
|
|
"mode": "replace",
|
|
"options": {
|
|
"url": "{{entire_url('/documents_list/index.ui')}}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "Button",
|
|
"options": {
|
|
"label": "引擎配置",
|
|
"bgcolor": "transparent",
|
|
"color": "#ccc"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "tap",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.rag_main_content",
|
|
"mode": "replace",
|
|
"options": {
|
|
"url": "{{entire_url('/engine_configs_list/index.ui')}}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "Button",
|
|
"options": {
|
|
"label": "订阅管理",
|
|
"bgcolor": "transparent",
|
|
"color": "#ccc"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "tap",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.rag_main_content",
|
|
"mode": "replace",
|
|
"options": {
|
|
"url": "{{entire_url('/subscriptions_list/index.ui')}}"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"id": "rag_main_content",
|
|
"css": "filler",
|
|
"padding": "8px"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"text": "欢迎使用 RAG Server — 多媒体知识库平台",
|
|
"i18n": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "HBox",
|
|
"options": {
|
|
"css": "rag-bottom",
|
|
"justifyContent": "center",
|
|
"alignItems": "center",
|
|
"spacing": "8px",
|
|
"padding": "8px 16px"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"text": "© 2026 开元云(北京)科技有限公司",
|
|
"css": "rag-bottom-text"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"text": "京ICP备2022001945号-2",
|
|
"css": "rag-bottom-icp"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "script",
|
|
"script": "window.open('https://beian.miit.gov.cn/#/Integrated/index','_blank');"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|