老师你好,关于这个等式有点儿疑问请老师解惑
来源:9-20 主动消息上屏实现与scroll-view实现指定列表滚动位置

精慕门0241520
2022-05-02
const scrollHeight = systemInfo.windowHeight - (systemInfo.screenHeight - systemInfo.safeArea.bottom) - 95
请问老师这个95是怎么的出来的?有什么用呢?
写回答
1回答
-
输入框区域的整体高度。这个根据实际情况调整,课程里面是用的 95,参考值。
052022-05-03