Compare commits
No commits in common. "f82ef91f3ba545bbdaed7c12ca6b97a3b423b0b9" and "84d2434dd87e1ac014cc9b3d2f3e01a946c75729" have entirely different histories.
f82ef91f3b
...
84d2434dd8
@ -1,13 +1,13 @@
|
|||||||
from ahserver.serverenv import ServerEnv
|
from ahserver.serverenv import ServerEnv
|
||||||
|
|
||||||
def UiConform(title="请确认",message="请确认", binds=[]):
|
def UiComform(title="请确认",message="请确认", binds=[]):
|
||||||
return {
|
return {
|
||||||
"widgettype":"Conform",
|
"widgettype":"Conform",
|
||||||
"options":{
|
"options":{
|
||||||
"width":"50%",
|
"width":"50%",
|
||||||
"height":"50%",
|
"height":"50%",
|
||||||
"archor":"cc",
|
"archor":"cc",
|
||||||
"icon": entire_url('/bricks/imgs/question.svg'),
|
"icon": entire_url('/imgs/question.svg'),
|
||||||
"title":title,
|
"title":title,
|
||||||
"message":message
|
"message":message
|
||||||
},
|
},
|
||||||
@ -60,4 +60,4 @@ def load_pybricks():
|
|||||||
g.UiWindow = UiWindow
|
g.UiWindow = UiWindow
|
||||||
g.UiError = UiError
|
g.UiError = UiError
|
||||||
g.UiMessage = UiMessage
|
g.UiMessage = UiMessage
|
||||||
g.UiComform = UiComform
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user