增加读取门磁、卫浴按钮

This commit is contained in:
2026-01-23 10:14:55 +08:00
parent 8cceee566d
commit 1043e83bd3
9 changed files with 671 additions and 116 deletions

View File

@@ -213,7 +213,7 @@ if (Nres.Status==200) {
},
calcScrollHeight() {
// 1. 拿到屏幕可用高度px
const sys = wx.getSystemInfoSync();
const sys = wx.getWindowInfo();
const screenHeight = sys.windowHeight; // px
// 2. 拿到 scroll-view 的 toppx