增加读取门磁、卫浴按钮
This commit is contained in:
@@ -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 的 top(px)
|
||||
|
||||
Reference in New Issue
Block a user