Browse Source

调整侧边栏按钮顶部边界

- 顶部限制从10%改为20%屏幕高度
pull/1/head
徐飞洋 2 months ago
parent
commit
09c433ab10
  1. 2
      pages/index/index.js

2
pages/index/index.js

@ -152,7 +152,7 @@ Page({
const screenHeight = systemInfo.screenHeight * 2;
const btnHeight = 90;
const minTop = screenHeight * 0.1;
const minTop = screenHeight * 0.2;
const maxTop = screenHeight * 0.75;
if (newTop < minTop) {

Loading…
Cancel
Save