add:新增喂养计划页面

This commit is contained in:
zlong committed 2024-11-17 20:19:31 +08:00
1 parent 7d2175d9ff
commit 4cbb60cbb3
9 files changed
+219 -2

No files matched your search

+10
View File
@@ -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