更新UI。增加时间和IP显示
This commit is contained in:
@@ -202,6 +202,22 @@
|
||||
"defaultValue": "\"\"",
|
||||
"persistent": false,
|
||||
"native": true
|
||||
},
|
||||
{
|
||||
"objID": "376c753c-093e-480e-a273-55f2119848e2",
|
||||
"name": "local_time",
|
||||
"type": "string",
|
||||
"defaultValue": "\"\"",
|
||||
"persistent": false,
|
||||
"native": true
|
||||
},
|
||||
{
|
||||
"objID": "565feb50-b7b4-46ef-c59b-96b0a8b5f84a",
|
||||
"name": "system_ip",
|
||||
"type": "string",
|
||||
"defaultValue": "\"\"",
|
||||
"persistent": false,
|
||||
"native": true
|
||||
}
|
||||
],
|
||||
"structures": [],
|
||||
@@ -287,8 +303,8 @@
|
||||
{
|
||||
"objID": "041562cd-dcc8-49a4-d648-ab2d210b9a7c",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 24,
|
||||
"top": 12,
|
||||
"left": 15,
|
||||
"top": 22,
|
||||
"width": 96,
|
||||
"height": 28,
|
||||
"customInputs": [],
|
||||
@@ -337,7 +353,7 @@
|
||||
"objID": "4f69b57c-ff11-4e5d-fa09-b563ea68491f",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 15,
|
||||
"top": 49,
|
||||
"top": 55,
|
||||
"width": 32,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -386,7 +402,7 @@
|
||||
"objID": "6ea91851-a909-40ad-ee4b-a8e9e7118d59",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 15,
|
||||
"top": 83,
|
||||
"top": 88,
|
||||
"width": 32,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -434,8 +450,8 @@
|
||||
{
|
||||
"objID": "b166cfa5-9b71-4387-a06d-c5cb3cdfedd2",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 162,
|
||||
"top": 40,
|
||||
"left": 159,
|
||||
"top": 55,
|
||||
"width": 64,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -483,8 +499,8 @@
|
||||
{
|
||||
"objID": "4bfdea3c-8b85-4cff-d0aa-ab9c54491f65",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 15,
|
||||
"top": 67,
|
||||
"left": 17,
|
||||
"top": 72,
|
||||
"width": 32,
|
||||
"height": 16,
|
||||
"customInputs": [],
|
||||
@@ -534,8 +550,8 @@
|
||||
{
|
||||
"objID": "fd31f72c-094b-4f3f-ad7b-763109337319",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 166,
|
||||
"top": 59,
|
||||
"left": 167,
|
||||
"top": 73,
|
||||
"width": 56,
|
||||
"height": 16,
|
||||
"customInputs": [],
|
||||
@@ -585,8 +601,8 @@
|
||||
{
|
||||
"objID": "6aeac5ad-d4d0-4efa-c563-7913b67e0aab",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 16,
|
||||
"top": 101,
|
||||
"left": 17,
|
||||
"top": 107,
|
||||
"width": 32,
|
||||
"height": 16,
|
||||
"customInputs": [],
|
||||
@@ -636,8 +652,8 @@
|
||||
{
|
||||
"objID": "1bcab9f8-f491-4418-cd50-5fff4f615687",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 171,
|
||||
"top": 109,
|
||||
"left": 151,
|
||||
"top": 122,
|
||||
"width": 48,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -685,8 +701,8 @@
|
||||
{
|
||||
"objID": "3037d501-9168-4ab4-c5ee-86a85189cb6d",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 171,
|
||||
"top": 127,
|
||||
"left": 163,
|
||||
"top": 140,
|
||||
"width": 32,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -736,8 +752,8 @@
|
||||
{
|
||||
"objID": "f21d6d10-f8c1-4004-bcaa-75ba69db3f9d",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 16,
|
||||
"top": 120,
|
||||
"left": 14,
|
||||
"top": 124,
|
||||
"width": 64,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -786,7 +802,7 @@
|
||||
"objID": "205b106e-7021-4b5d-da25-f20fa01f5ca1",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 17,
|
||||
"top": 138,
|
||||
"top": 142,
|
||||
"width": 56,
|
||||
"height": 16,
|
||||
"customInputs": [],
|
||||
@@ -836,8 +852,8 @@
|
||||
{
|
||||
"objID": "5cfff600-2aa1-473b-ffbf-8cad89b35c9a",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 15,
|
||||
"top": 154,
|
||||
"left": 14,
|
||||
"top": 158,
|
||||
"width": 64,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -885,8 +901,8 @@
|
||||
{
|
||||
"objID": "640a3e04-8f18-4527-dc2b-33003ac5959a",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 16,
|
||||
"top": 172,
|
||||
"left": 14,
|
||||
"top": 176,
|
||||
"width": 32,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -936,8 +952,8 @@
|
||||
{
|
||||
"objID": "f0ede4e4-add3-4677-bc54-a2fb8f1ba93c",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 163,
|
||||
"top": 75,
|
||||
"left": 160,
|
||||
"top": 88,
|
||||
"width": 64,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -985,8 +1001,8 @@
|
||||
{
|
||||
"objID": "bca0d5da-84d5-40e5-8e0b-7cb45e5bf9bd",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 164,
|
||||
"top": 93,
|
||||
"left": 167,
|
||||
"top": 106,
|
||||
"width": 56,
|
||||
"height": 16,
|
||||
"customInputs": [],
|
||||
@@ -1036,8 +1052,8 @@
|
||||
{
|
||||
"objID": "82818512-2a20-4b2e-82e2-fbbd2f4bf62f",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 138,
|
||||
"top": 146,
|
||||
"left": 135,
|
||||
"top": 158,
|
||||
"width": 80,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -1086,7 +1102,7 @@
|
||||
"objID": "1a4506d3-c156-4b63-f585-647302058a3e",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 139,
|
||||
"top": 164,
|
||||
"top": 176,
|
||||
"width": 32,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -1136,8 +1152,8 @@
|
||||
{
|
||||
"objID": "11f2c7cb-27a2-4035-f2ba-b1ad5874a114",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 22,
|
||||
"top": 190,
|
||||
"left": 17,
|
||||
"top": 206,
|
||||
"width": 32,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -1185,8 +1201,8 @@
|
||||
{
|
||||
"objID": "33d63452-b670-4c53-e413-172d385eed06",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 74,
|
||||
"top": 189,
|
||||
"left": 63,
|
||||
"top": 206,
|
||||
"width": 32,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -1234,8 +1250,8 @@
|
||||
{
|
||||
"objID": "8bc337a3-9881-4bfd-f549-d27df6ecbaaa",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 122,
|
||||
"top": 188,
|
||||
"left": 111,
|
||||
"top": 206,
|
||||
"width": 32,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -1283,8 +1299,8 @@
|
||||
{
|
||||
"objID": "fecfbc3f-aec4-4116-bca5-e0de7289d391",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 178,
|
||||
"top": 188,
|
||||
"left": 159,
|
||||
"top": 206,
|
||||
"width": 32,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -1332,7 +1348,7 @@
|
||||
{
|
||||
"objID": "4acc78cd-5170-44de-86a5-aef9f1dc4530",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 29,
|
||||
"left": 49,
|
||||
"top": 206,
|
||||
"width": 16,
|
||||
"height": 18,
|
||||
@@ -1383,8 +1399,8 @@
|
||||
{
|
||||
"objID": "2bcfed35-7528-416f-9f99-240f4e27e77e",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 81,
|
||||
"top": 207,
|
||||
"left": 95,
|
||||
"top": 206,
|
||||
"width": 16,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -1434,7 +1450,7 @@
|
||||
{
|
||||
"objID": "c0524720-444a-4e88-9249-ca756097d391",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 131,
|
||||
"left": 143,
|
||||
"top": 206,
|
||||
"width": 16,
|
||||
"height": 18,
|
||||
@@ -1485,8 +1501,8 @@
|
||||
{
|
||||
"objID": "c6c702f4-1010-41ef-8133-c3fe12d2692b",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 187,
|
||||
"top": 207,
|
||||
"left": 192,
|
||||
"top": 206,
|
||||
"width": 16,
|
||||
"height": 18,
|
||||
"customInputs": [],
|
||||
@@ -1532,6 +1548,108 @@
|
||||
"longMode": "WRAP",
|
||||
"recolor": false,
|
||||
"previewValue": "开"
|
||||
},
|
||||
{
|
||||
"objID": "94c14770-4f62-4b30-f0a2-a6f432feeda1",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 88,
|
||||
"top": 8,
|
||||
"width": 143,
|
||||
"height": 14,
|
||||
"customInputs": [],
|
||||
"customOutputs": [],
|
||||
"style": {
|
||||
"objID": "26bec3ce-780b-4d32-a63c-ba8486213c85",
|
||||
"useStyle": "default",
|
||||
"conditionalStyles": [],
|
||||
"childStyles": []
|
||||
},
|
||||
"timeline": [],
|
||||
"eventHandlers": [],
|
||||
"leftUnit": "px",
|
||||
"topUnit": "px",
|
||||
"widthUnit": "content",
|
||||
"heightUnit": "content",
|
||||
"children": [],
|
||||
"widgetFlags": "CLICK_FOCUSABLE|GESTURE_BUBBLE|PRESS_LOCK|SCROLLABLE|SCROLL_CHAIN_HOR|SCROLL_CHAIN_VER|SCROLL_ELASTIC|SCROLL_MOMENTUM|SCROLL_WITH_ARROW|SNAPPABLE",
|
||||
"hiddenFlagType": "literal",
|
||||
"clickableFlagType": "literal",
|
||||
"flagScrollbarMode": "",
|
||||
"flagScrollDirection": "",
|
||||
"scrollSnapX": "",
|
||||
"scrollSnapY": "",
|
||||
"checkedStateType": "literal",
|
||||
"disabledStateType": "literal",
|
||||
"states": "",
|
||||
"localStyles": {
|
||||
"objID": "68d4ed32-8eca-4476-89d7-4455f357efb3",
|
||||
"definition": {
|
||||
"MAIN": {
|
||||
"DEFAULT": {
|
||||
"text_font": "number_14",
|
||||
"text_color": "#000000"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"group": "",
|
||||
"groupIndex": 0,
|
||||
"text": "local_time",
|
||||
"textType": "expression",
|
||||
"longMode": "WRAP",
|
||||
"recolor": false,
|
||||
"previewValue": "2026-04-20 22:50:42"
|
||||
},
|
||||
{
|
||||
"objID": "e90319ea-674c-4f41-ca0b-595c4d3f13f5",
|
||||
"type": "LVGLLabelWidget",
|
||||
"left": 124,
|
||||
"top": 28,
|
||||
"width": 92,
|
||||
"height": 16,
|
||||
"customInputs": [],
|
||||
"customOutputs": [],
|
||||
"style": {
|
||||
"objID": "3f04db13-166b-43d6-cb27-61ae794b5b73",
|
||||
"useStyle": "default",
|
||||
"conditionalStyles": [],
|
||||
"childStyles": []
|
||||
},
|
||||
"timeline": [],
|
||||
"eventHandlers": [],
|
||||
"leftUnit": "px",
|
||||
"topUnit": "px",
|
||||
"widthUnit": "content",
|
||||
"heightUnit": "content",
|
||||
"children": [],
|
||||
"widgetFlags": "CLICK_FOCUSABLE|GESTURE_BUBBLE|PRESS_LOCK|SCROLLABLE|SCROLL_CHAIN_HOR|SCROLL_CHAIN_VER|SCROLL_ELASTIC|SCROLL_MOMENTUM|SCROLL_WITH_ARROW|SNAPPABLE",
|
||||
"hiddenFlagType": "literal",
|
||||
"clickableFlagType": "literal",
|
||||
"flagScrollbarMode": "",
|
||||
"flagScrollDirection": "",
|
||||
"scrollSnapX": "",
|
||||
"scrollSnapY": "",
|
||||
"checkedStateType": "literal",
|
||||
"disabledStateType": "literal",
|
||||
"states": "",
|
||||
"localStyles": {
|
||||
"objID": "746701d0-405c-4e29-be03-2146d7af7ad8",
|
||||
"definition": {
|
||||
"MAIN": {
|
||||
"DEFAULT": {
|
||||
"text_font": "number_16",
|
||||
"text_color": "#000000"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"group": "",
|
||||
"groupIndex": 0,
|
||||
"text": "system_ip",
|
||||
"textType": "expression",
|
||||
"longMode": "WRAP",
|
||||
"recolor": false,
|
||||
"previewValue": "192.168.1.169"
|
||||
}
|
||||
],
|
||||
"widgetFlags": "CLICKABLE|PRESS_LOCK|CLICK_FOCUSABLE|GESTURE_BUBBLE|SNAPPABLE|SCROLLABLE|SCROLL_ELASTIC|SCROLL_MOMENTUM|SCROLL_CHAIN_HOR|SCROLL_CHAIN_VER",
|
||||
@@ -1689,6 +1807,34 @@
|
||||
],
|
||||
"symbols": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"objID": "d394c0c9-7f54-45e9-abf2-aeb94611d782",
|
||||
"name": "number_14",
|
||||
"renderingEngine": "LVGL",
|
||||
"source": {
|
||||
"objID": "a08a2c7d-69b2-47ab-e2ef-274468c49670",
|
||||
"filePath": "..\\ZhengQingKeShuMaTi\\ZhengQingKeShuMaTi-2.ttf",
|
||||
"size": 14
|
||||
},
|
||||
"bpp": 8,
|
||||
"threshold": 128,
|
||||
"height": 14,
|
||||
"ascent": 11,
|
||||
"descent": 3,
|
||||
"glyphs": [],
|
||||
"lvglRanges": "32-127",
|
||||
"lvglSymbols": "",
|
||||
"lvglGlyphs": {
|
||||
"encodings": [
|
||||
{
|
||||
"from": 32,
|
||||
"to": 127
|
||||
}
|
||||
],
|
||||
"symbols": ""
|
||||
},
|
||||
"embeddedFontFileIndex": 3
|
||||
}
|
||||
],
|
||||
"bitmaps": [
|
||||
|
||||
Reference in New Issue
Block a user