43 lines
891 B
XML
43 lines
891 B
XML
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"maxWidth": "400px",
|
|
"margin": "100px auto",
|
|
"padding": "30px",
|
|
"border": "1px solid #ddd",
|
|
"borderRadius": "8px",
|
|
"backgroundColor": "#fff"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"text": "集成CRM管理系统",
|
|
"fontSize": "24px",
|
|
"fontWeight": "bold",
|
|
"textAlign": "center",
|
|
"marginBottom": "30px"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Form",
|
|
"options": {
|
|
"fields": [
|
|
{
|
|
"name": "username",
|
|
"label": "用户名",
|
|
"type": "text",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "password",
|
|
"label": "密码",
|
|
"type": "password",
|
|
"required": true
|
|
}
|
|
],
|
|
"onSubmit": "login_user"
|
|
}
|
|
}
|
|
]
|
|
} |