- Replace invalid 'Page' and 'Card' components with valid bricks components (VBox, HBox, Filler, etc.) - Add comprehensive examples for all major bricks components in examples/ directory - Update hermes-web-cli UI files to use correct component hierarchy - Include examples for: VBox, HBox, Filler, ResponsableBox, Form, Button, Text, Modal, TabPanel, DataViewer, Tree, Image, VideoPlayer, Input, LLMOut - Follow proper bricks-framework JSON structure with widgettype, options, subwidgets - Ensure all examples are production-ready and follow module development specifications
31 lines
479 B
XML
31 lines
479 B
XML
{
|
|
"widgettype": "HBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"height": "100px"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"text": "HBox水平布局: ",
|
|
"fontSize": "18px"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Button",
|
|
"options": {
|
|
"text": "按钮1"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Button",
|
|
"options": {
|
|
"text": "按钮2"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Filler"
|
|
}
|
|
]
|
|
} |