fix: Button widgets + tap events, app.rag_main_content target for bricks convention
This commit is contained in:
parent
16fa189959
commit
cac9a2d823
@ -26,8 +26,9 @@
|
|||||||
{
|
{
|
||||||
"widgettype": "VBox",
|
"widgettype": "VBox",
|
||||||
"options": {
|
"options": {
|
||||||
"css": "rag-sidebar",
|
"bgcolor": "#2c2c2c",
|
||||||
"cwidth": 13
|
"cwidth": 13,
|
||||||
|
"color": "#ccc"
|
||||||
},
|
},
|
||||||
"subwidgets": [
|
"subwidgets": [
|
||||||
{
|
{
|
||||||
@ -38,15 +39,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"widgettype": "Text",
|
"widgettype": "Button",
|
||||||
"options": {
|
"options": {
|
||||||
"text": "知识库",
|
"label": "知识库",
|
||||||
"css": "menu-item"
|
"bgcolor": "transparent",
|
||||||
|
"color": "#ccc"
|
||||||
},
|
},
|
||||||
"binds": [
|
"binds": [
|
||||||
{
|
{
|
||||||
"wid": "self",
|
"wid": "self",
|
||||||
"event": "click",
|
"event": "tap",
|
||||||
"actiontype": "urlwidget",
|
"actiontype": "urlwidget",
|
||||||
"target": "app.rag_main_content",
|
"target": "app.rag_main_content",
|
||||||
"mode": "replace",
|
"mode": "replace",
|
||||||
@ -57,15 +59,16 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"widgettype": "Text",
|
"widgettype": "Button",
|
||||||
"options": {
|
"options": {
|
||||||
"text": "文档管理",
|
"label": "文档管理",
|
||||||
"css": "menu-item"
|
"bgcolor": "transparent",
|
||||||
|
"color": "#ccc"
|
||||||
},
|
},
|
||||||
"binds": [
|
"binds": [
|
||||||
{
|
{
|
||||||
"wid": "self",
|
"wid": "self",
|
||||||
"event": "click",
|
"event": "tap",
|
||||||
"actiontype": "urlwidget",
|
"actiontype": "urlwidget",
|
||||||
"target": "app.rag_main_content",
|
"target": "app.rag_main_content",
|
||||||
"mode": "replace",
|
"mode": "replace",
|
||||||
@ -76,15 +79,16 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"widgettype": "Text",
|
"widgettype": "Button",
|
||||||
"options": {
|
"options": {
|
||||||
"text": "引擎配置",
|
"label": "引擎配置",
|
||||||
"css": "menu-item"
|
"bgcolor": "transparent",
|
||||||
|
"color": "#ccc"
|
||||||
},
|
},
|
||||||
"binds": [
|
"binds": [
|
||||||
{
|
{
|
||||||
"wid": "self",
|
"wid": "self",
|
||||||
"event": "click",
|
"event": "tap",
|
||||||
"actiontype": "urlwidget",
|
"actiontype": "urlwidget",
|
||||||
"target": "app.rag_main_content",
|
"target": "app.rag_main_content",
|
||||||
"mode": "replace",
|
"mode": "replace",
|
||||||
@ -95,15 +99,16 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"widgettype": "Text",
|
"widgettype": "Button",
|
||||||
"options": {
|
"options": {
|
||||||
"text": "订阅管理",
|
"label": "订阅管理",
|
||||||
"css": "menu-item"
|
"bgcolor": "transparent",
|
||||||
|
"color": "#ccc"
|
||||||
},
|
},
|
||||||
"binds": [
|
"binds": [
|
||||||
{
|
{
|
||||||
"wid": "self",
|
"wid": "self",
|
||||||
"event": "click",
|
"event": "tap",
|
||||||
"actiontype": "urlwidget",
|
"actiontype": "urlwidget",
|
||||||
"target": "app.rag_main_content",
|
"target": "app.rag_main_content",
|
||||||
"mode": "replace",
|
"mode": "replace",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user