bugfix
This commit is contained in:
parent
326b732827
commit
84d2434dd8
@ -1,5 +1,19 @@
|
||||
from ahserver.serverenv import ServerEnv
|
||||
|
||||
def UiComform(title="请确认",message="请确认", binds=[]):
|
||||
return {
|
||||
"widgettype":"Conform",
|
||||
"options":{
|
||||
"width":"50%",
|
||||
"height":"50%",
|
||||
"archor":"cc",
|
||||
"icon": entire_url('/imgs/question.svg'),
|
||||
"title":title,
|
||||
"message":message
|
||||
},
|
||||
binds:json.dump(binds, indent=4, ensure_ascii=False)
|
||||
}
|
||||
|
||||
def UiWindow(title, icon, content, cheight=10, cwidth=15):
|
||||
return {
|
||||
"widgettype":"PopupWindow",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user