This commit is contained in:
2020-07-11 22:04:22 +08:00
parent ac03de0387
commit dcd1c82477
33 changed files with 827 additions and 738 deletions

View File

@@ -20,7 +20,11 @@ function CLLPWebView.init(csObj)
CLLPWebView.onCallOnStarted,
CLLPWebView.onCallOnLoaded
)
webView:setMargins(0, NumEx.getIntPart(134 / MyUtl.getSizeAdjust()), 0, 0)
local sizeAdjust = MyUtl.getSizeAdjust()
local top = 134 / sizeAdjust
local offsetRect = NGUITools.offsetRect
top = top + offsetRect.y * Screen.height
webView:setMargins(0, NumEx.getIntPart(top), 0, 0)
end
-- 设置数据