diff --git a/pages/contract/index.vue b/pages/contract/index.vue index c22864c..6a6714d 100644 --- a/pages/contract/index.vue +++ b/pages/contract/index.vue @@ -53,11 +53,7 @@ export default { async getDistanceFromTopToPageBottom(classValue) { const {windowHeight, windowWidth} = await uni.getSystemInfo(); const [{top}] = await new Promise(resolve => uni.createSelectorQuery().select(classValue).boundingClientRect().exec(resolve)); - if(uni.getSystemInfoSync().platform === 'ios'){ - this.elementBottom = ((windowHeight - top) / windowWidth) * 750 - 175; - }else { - this.elementBottom = ((windowHeight - top) / windowWidth) * 750 - 110; - } + this.elementBottom = ((windowHeight - top) / windowWidth) * 750 - 175; }, loadMore(){