CTL/res/cfg.json
CSSC-WORK\murmur 2cf8bfaea2 init version
2024-06-21 17:05:50 +08:00

418 lines
11 KiB
JSON

{
"type": "page",
"title": "Hello world",
"body": [
{
"type": "tpl",
"tpl": "初始页面",
"wrapperComponent": "",
"inline": false,
"id": "u:f439a8330e02"
},
{
"type": "grid",
"columns": [
{
"body": [],
"id": "u:39c97acec8cc"
},
{
"body": [
{
"type": "collapse-group",
"activeKey": [
"1"
],
"body": [
{
"type": "collapse",
"key": "1",
"active": true,
"header": "通用",
"body": [
{
"type": "button-toolbar",
"label": "按钮工具栏",
"buttons": [
{
"type": "button",
"label": "按钮1",
"onEvent": {
"click": {
"actions": [
{ "api": {
"url": "/sendData",
"method": "post",
"requestAdaptor": "",
"adaptor": "",
"messages": {},
"dataType": "json"
}}]
}
},
"id": "u:d5479075ff42"
},
{
"type": "button",
"label": "按钮2",
"onEvent": {
"click": {
"actions": [
{
"ignoreError": false,
"outputVar": "responseResult",
"actionType": "ajax",
"options": {},
"api": {
"url": "/sendData",
"method": "post",
"requestAdaptor": "",
"adaptor": "",
"messages": {},
"data":{"&": "$$","sel":"${this.label}"}
}
}
]
}
},
"id": "u:8eae2c306cc5"
},
{
"type": "button",
"label": "按钮",
"id": "u:c440483f217b"
},
{
"type": "button",
"label": "按钮",
"id": "u:5eb80129858e"
},
{
"type": "button",
"label": "按钮",
"id": "u:92b3fbb4a8e5"
},
{
"type": "button",
"label": "按钮",
"id": "u:fcec0c70c54c"
},
{
"type": "button",
"label": "按钮",
"id": "u:68b551bbf8cb"
},
{
"type": "button",
"label": "按钮",
"id": "u:5bb6c2e1889e"
}
],
"id": "u:b6649c1b1585"
},
{
"type": "input-number",
"label": "数字输入",
"name": "number",
"keyboard": true,
"id": "u:d10a773ce8ee",
"step": 1,
"displayMode": "base",
"size": "full",
"mode": "inline",
"hint": "比如输入 a-xxxx-xxx"
},
{
"type": "button",
"label": "按钮",
"onEvent": {
"click": {
"actions": []
}
},
"id": "u:c72878bb1458",
"size": "md",
"block": false
},
{
"type": "button-group-select",
"name": "buttonGroupSelect",
"label": "单选",
"inline": false,
"options": [
{
"label": "选项1",
"value": "a"
},
{
"label": "选项2",
"value": "b"
}
],
"id": "u:5112d83e3943",
"multiple": false,
"value": "a"
}
],
"id": "u:53511e674086"
},
{
"type": "collapse",
"key": "2",
"header": "超短波",
"body": [
{
"type": "button-toolbar",
"label": "按钮工具栏",
"buttons": [
{
"type": "button",
"label": "按钮1",
"onEvent": {
"click": {
"actions": []
}
},
"id": "u:d5479075ff42"
},
{
"type": "button",
"label": "按钮2",
"onEvent": {
"click": {
"actions": []
}
},
"id": "u:8eae2c306cc5"
},
{
"type": "button",
"label": "按钮",
"id": "u:c440483f217b"
},
{
"type": "button",
"label": "按钮",
"id": "u:5eb80129858e"
},
{
"type": "button",
"label": "按钮",
"id": "u:92b3fbb4a8e5"
},
{
"type": "button",
"label": "按钮",
"id": "u:fcec0c70c54c"
},
{
"type": "button",
"label": "按钮",
"id": "u:68b551bbf8cb"
},
{
"type": "button",
"label": "按钮",
"id": "u:5bb6c2e1889e"
}
],
"id": "u:b6649c1b1585"
}
],
"id": "u:b4de28d2cd49",
"active": false
},
{
"type": "collapse",
"header": "北斗",
"body": [
{
"type": "button-toolbar",
"label": "按钮工具栏",
"buttons": [
{
"type": "button",
"label": "按钮1",
"onEvent": {
"click": {
"actions": []
}
},
"id": "u:d5479075ff42"
},
{
"type": "button",
"label": "按钮2",
"onEvent": {
"click": {
"actions": []
}
},
"id": "u:8eae2c306cc5"
},
{
"type": "button",
"label": "按钮",
"id": "u:c440483f217b"
},
{
"type": "button",
"label": "按钮",
"id": "u:5eb80129858e"
},
{
"type": "button",
"label": "按钮",
"id": "u:92b3fbb4a8e5"
},
{
"type": "button",
"label": "按钮",
"id": "u:fcec0c70c54c"
},
{
"type": "button",
"label": "按钮",
"id": "u:68b551bbf8cb"
},
{
"type": "button",
"label": "按钮",
"id": "u:5bb6c2e1889e"
}
],
"id": "u:b6649c1b1585"
},
{
"type": "input-number",
"label": "数字输入",
"name": "number",
"keyboard": true,
"id": "u:d10a773ce8ee",
"step": 1,
"displayMode": "base",
"size": "full",
"mode": "inline"
},
{
"type": "button",
"label": "按钮",
"onEvent": {
"click": {
"actions": []
}
},
"id": "u:c72878bb1458",
"size": "md",
"block": false
},
{
"type": "button-group-select",
"name": "buttonGroupSelect",
"label": "单选",
"inline": false,
"options": [
{
"label": "选项1",
"value": "a"
},
{
"label": "选项2",
"value": "b"
}
],
"id": "u:5112d83e3943",
"multiple": false,
"value": "a"
},
{
"type": "button-group-select",
"name": "buttonGroupSelect2",
"label": "单选",
"inline": false,
"options": [
{
"label": "选项1",
"value": "a"
},
{
"label": "选项2",
"value": "b"
}
],
"id": "u:03b1b5d4011e",
"multiple": false,
"value": "b",
"size": "md",
"tiled": false
}
],
"key": "3",
"id": "u:3a8ad47cac52"
},
{
"type": "collapse",
"header": "数据链",
"body": [
{
"type": "tpl",
"tpl": "内容",
"wrapperComponent": "",
"inline": false,
"id": "u:ac3d89c9a857"
}
],
"key": "4",
"id": "u:4ed37447dabf"
},
{
"type": "collapse",
"header": "密码",
"body": [
{
"type": "tpl",
"tpl": "内容",
"wrapperComponent": "",
"inline": false,
"id": "u:2721f190d07b"
}
],
"key": "5",
"id": "u:5bf93a5153cf"
},
{
"type": "collapse",
"header": "天通",
"body": [
{
"type": "tpl",
"tpl": "内容",
"wrapperComponent": "",
"inline": false,
"id": "u:6f92531bd161"
}
],
"key": "6",
"id": "u:4ad528b09137"
}
],
"id": "u:8035637b2ce6"
}
],
"id": "u:63b382ec7d2f"
}
],
"id": "u:a9f37a6134a4"
}
],
"id": "u:ddf6e6d384e7",
"asideResizor": false,
"pullRefresh": {
"disabled": true
},
"regions": [
"body"
]
}