add:新增喂养计划页面
This commit is contained in:
1 parent
7d2175d9ff
commit
4cbb60cbb3
9 files changed
+219
-2
No files matched your search
@@ -0,0 +1,10 @@
|
||||
class ToolFun {
|
||||
static getSafeHeight() {
|
||||
const systemInfo = uni.getSystemInfoSync()
|
||||
const safeAreaInsetBottom = systemInfo.safeAreaInsets.bottom + systemInfo.safeAreaInsets.top
|
||||
const menuButtonInfoHeight = uni.getMenuButtonBoundingClientRect().height + 60
|
||||
return safeAreaInsetBottom + menuButtonInfoHeight
|
||||
}
|
||||
}
|
||||
|
||||
export default ToolFun
|
||||
Reference in new issue
Block a user