CTL/res/bar.json

91 lines
2.8 KiB
JSON
Raw Permalink Normal View History

{
"type": "table-view",
"trs": [
{
"background": "#F7F7F7",
"tds": [
{
"body": {
"type": "tpl",
"wrapperComponent": "",
"tpl": "模块",
"id": "u:19f87144bbea"
},
"id": "u:fddabc45cb59",
"align": "center",
"valign": "middle"
},
{
"body": {
"type": "tpl",
"wrapperComponent": "",
"tpl": "最后一分钟状态",
"id": "u:420e9a9f9353"
},
"id": "u:6ffa039534e7",
"align": "center",
"valign": "middle"
},
{
"body": {
"type": "tpl",
"wrapperComponent": "",
"tpl": "最近一次状态",
"id": "u:2dfafcf526f9"
},
"id": "u:fe0dab630536",
"align": "center",
"valign": "middle"
}
],
"id": "u:37a706fd866d"
},
{
"tds": [
{
"body": {
"type": "tpl",
"wrapperComponent": "",
"tpl": "TT",
"id": "u:518882ea6114"
},
"id": "u:897aee319eb4",
"align": "center",
"valign": "middle"
},
{
"body": {
"type": "each",
"name": "items",
"items": {
"type": "tpl",
"tpl": "<div style='width: ${width}; height: ${height}; border-radius: 2px; background-color: ${color[0]}; box-shadow: 0 0 5px ${color[0]}, 0 0 10px ${color[0]} inset'></div>",
"style": {
"display": "inline-block",
"marginRight": "5px",
"marginBottom": "-5px"
}
}
},
"id": "u:4804d1216011",
"width": "80%",
"align": "center",
"valign": "middle"
},
{
"body": {
"type": "tpl",
"wrapperComponent": "",
"tpl": "<div style='width: ${height}; height: ${height}; border-radius: 2px; background-color: ${items[59].color[0]}; box-shadow: 0 0 5px ${items[59].color[0]}, 0 0 10px ${items[59].color[0]} inset'></div>",
"id": "u:20d501a115fc"
},
"id": "u:ba272dd0e407",
"align": "center",
"valign": "middle"
}
],
"id": "u:42c47c152e5f"
}
],
"id": "u:18e5f253165a"
}