邹能昇 4 hónapja
szülő
commit
2b65092c71
1 módosított fájl, 1 hozzáadás és 1 törlés
  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,