邹能昇 3 months ago
parent
commit
2b65092c71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      nova-tourism/components/homestay/index.js

+ 1 - 1
nova-tourism/components/homestay/index.js

@@ -53,7 +53,7 @@ Component({
             const bottomNavHeight = systemInfo.screenHeight - systemInfo.safeArea.bottom || 0;
 
             const contentHeight = (screenHeight - bottomNavHeight - 50 - statusBarHeight - customHeight) * 750 / systemInfo.windowWidth;
-            const topheight = (statusBarHeight + customHeight-2 )* 750 / systemInfo.windowWidth
+            const topheight = (statusBarHeight + customHeight )* 750 / systemInfo.windowWidth
             this.setData({
                 statusBarHeight,
                 screenHeight,