From 1c4edae07f8a56093e09f63967a6a98c2947f85c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E6=99=93=E5=9D=A4?= Date: Thu, 19 Sep 2019 15:56:06 +0800 Subject: [PATCH] home_height --- src/App.vue | 3 ++- src/assets/sass/common.scss | 6 ++++-- src/views/ebiz/product/HomeProduct.vue | 3 +++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index 184ba9078..f3f406286 100644 --- a/src/App.vue +++ b/src/App.vue @@ -41,7 +41,8 @@ export default { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #2c3e50; - height: 100%; + max-height: 100%; + height:auto; } .slide-left-leave-active, .slide-left-enter-active, diff --git a/src/assets/sass/common.scss b/src/assets/sass/common.scss index d39b5a69e..d284ccea7 100644 --- a/src/assets/sass/common.scss +++ b/src/assets/sass/common.scss @@ -10,7 +10,8 @@ } body { - height: 100%; + height:auto; + max-height: 100%; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; @@ -19,7 +20,8 @@ body { } html { - height: 100%; + height:auto; + max-height: 100%; } a, diff --git a/src/views/ebiz/product/HomeProduct.vue b/src/views/ebiz/product/HomeProduct.vue index 8ff9440f8..182e2e874 100644 --- a/src/views/ebiz/product/HomeProduct.vue +++ b/src/views/ebiz/product/HomeProduct.vue @@ -95,6 +95,9 @@ export default {