1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-03-14 21:13:53 +08:00
parent 3e64f738f0
commit b0f1c06420

View File

@ -45,9 +45,7 @@ Volcanos(chat.ONACTION, {list: [mdb.CREATE, web.SHARE, web.REFRESH], _init: func
share: function(event, can) { can.core.CallFunc(can.ondetail.share, {event: event, can: can}) },
onsize: function(can, height) { var margin = 68, _margin = margin
can.page.style(can, can._output, html.MARGIN, "0px", html.HEIGHT, "", html.MAX_HEIGHT, "")
if (can.user.isMobile || !can.user.isTechOrRoot(can)) {
margin = 0
}
if (can.user.isMobile || !can.user.isTechOrRoot(can)) { margin = 0 }
if (can._output.offsetHeight < height-margin) {
margin += (height-margin-can._output.offsetHeight)/2
} else {