邹能昇 4 ヶ月 前
コミット
2b65092c71
1 ファイル変更1 行追加1 行削除
  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,