diff --git a/src/assets/sass/common.scss b/src/assets/sass/common.scss index d284ccea7..b26da1cf4 100644 --- a/src/assets/sass/common.scss +++ b/src/assets/sass/common.scss @@ -10,8 +10,6 @@ } body { - height:auto; - max-height: 100%; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; @@ -19,11 +17,6 @@ body { background-color: #f5f5f5; } -html { - height:auto; - max-height: 100%; -} - a, a:focus, a:hover { diff --git a/src/views/ebiz/product/HomeProduct.vue b/src/views/ebiz/product/HomeProduct.vue index d0744e3d9..80f16bcf2 100644 --- a/src/views/ebiz/product/HomeProduct.vue +++ b/src/views/ebiz/product/HomeProduct.vue @@ -136,7 +136,7 @@ export default { showMore() { this.idMoreDataShow = !this.idMoreDataShow this.$nextTick(() => { - const height = this.$refs.product.offsetHeight + const height = document.body.clientHeight console.log('after: ', height) window.EWebBridge.webCallAppInJs('updateWebHeight', { height