Browse Source

mod 搜索結果页

panqiuyao 1 year ago
parent
commit
a2bb4f0e26
2 changed files with 3 additions and 5 deletions
  1. 0 5
      pages/home/goodsclass/GoodsclassBody.vue
  2. 3 0
      pages/home/goodslist/Goodslist.vue

+ 0 - 5
pages/home/goodsclass/GoodsclassBody.vue

@@ -78,11 +78,6 @@ export default {
     // #ifdef  MP-WEIXIN
     this.navHeight = uni.getMenuButtonBoundingClientRect().top
     // #endif
-    // #ifdef APP-PLUS
-    if(uni.getSystemInfoSync().platform === 'android'){
-      this.navHeight = 50
-    }
-    // #endif
   },
 }
 </script>

+ 3 - 0
pages/home/goodslist/Goodslist.vue

@@ -46,6 +46,9 @@ export default {
     // #endif
     // #ifdef APP-PLUS
     this.navHeight = uni.getMenuButtonBoundingClientRect().top
+    if(uni.getSystemInfoSync().platform === 'android'){
+      this.navHeight = 50
+    }
     // #endif
   },
 }