Per bricks-framework spec: - Text/Title: use 'text' for non-i18n, 'otext'+'i18n:true' for i18n - Button: use 'label' for button text
211 lines
7.9 KiB
XML
211 lines
7.9 KiB
XML
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"height": "100%",
|
|
"padding": "20px",
|
|
"backgroundColor": "#F9FAFB"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"fontSize": "24px",
|
|
"fontWeight": "bold",
|
|
"color": "#1E40AF",
|
|
"marginBottom": "20px",
|
|
"text": "客户管理"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "ResponsableBox",
|
|
"options": {
|
|
"gap": "16px",
|
|
"minWidth": "250px"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"backgroundColor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.customer_content",
|
|
"options": {
|
|
"url": "{{entire_url('customer_list.ui')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"fontSize": "18px",
|
|
"fontWeight": "bold",
|
|
"color": "#1E40AF",
|
|
"text": "客户列表"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"fontSize": "14px",
|
|
"color": "#6B7280",
|
|
"marginTop": "8px",
|
|
"text": "查看所有客户信息,支持搜索和筛选"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"backgroundColor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.customer_content",
|
|
"options": {
|
|
"url": "{{entire_url('customer_edit.ui')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"fontSize": "18px",
|
|
"fontWeight": "bold",
|
|
"color": "#059669",
|
|
"text": "新建客户"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"fontSize": "14px",
|
|
"color": "#6B7280",
|
|
"marginTop": "8px",
|
|
"text": "创建新的客户档案"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"backgroundColor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.customer_content",
|
|
"options": {
|
|
"url": "{{entire_url('customer_pool.ui')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"fontSize": "18px",
|
|
"fontWeight": "bold",
|
|
"color": "#D97706",
|
|
"text": "客户池"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"fontSize": "14px",
|
|
"color": "#6B7280",
|
|
"marginTop": "8px",
|
|
"text": "公海客户池,领取和管理公共客户资源"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"backgroundColor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.customer_content",
|
|
"options": {
|
|
"url": "{{entire_url('handover_list.ui')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"fontSize": "18px",
|
|
"fontWeight": "bold",
|
|
"color": "#7C3AED",
|
|
"text": "客户交接"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"fontSize": "14px",
|
|
"color": "#6B7280",
|
|
"marginTop": "8px",
|
|
"text": "管理客户交接流程和记录"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"id": "customer_content",
|
|
"options": {
|
|
"width": "100%",
|
|
"flex": "1",
|
|
"marginTop": "20px",
|
|
"backgroundColor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)"
|
|
}
|
|
}
|
|
]
|
|
} |