diff --git a/common/style/layout.css b/common/style/layout.css index 331b66a..522e545 100644 --- a/common/style/layout.css +++ b/common/style/layout.css @@ -1,11 +1,14 @@ /** 平板尺寸960*600 **/ page { background-color: #0a2b57 !important; - height: 100% !important; + min-height: 100% !important; } uni-page-body { background-color: #0a2b57 !important; - height: 100% !important; + min-height: 100% !important; +} +body, html { + min-height: 100% !important; } uni-button:after { border: none; @@ -27,9 +30,8 @@ uni-toast .uni-toast { .content{ width: 100%; - height: 100%; + min-height: 100%; background: top center / 100% 100% url(./static/images/page_bg.jpg) repeat-y; - /* background-color: #040d1e; */ } .footer{ width: 100%; @@ -124,7 +126,6 @@ uni-toast .uni-toast { } .grid-wrap{ width: calc(100% - 20px); - height: calc(100% - 112px); margin: 0 auto; padding: 4px 0 10px 0; border: 1px solid #01c2f3; @@ -134,15 +135,13 @@ uni-toast .uni-toast { } .zdrow-wrap { width: 100%; + min-height: 520px; padding: 0 10px; - height: calc(100% - 40px); - overflow-y: auto; } .table-wrap { width: calc(100% - 30px); margin: 0 auto; padding: 0; - max-height: 348px; overflow-y: auto; } .table-wrap_1 { diff --git a/pages/home/home.vue b/pages/home/home.vue index 6dc2f9d..ea8b178 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -113,7 +113,7 @@ @import '../../common/style/mixin.styl'; .home_content position relative - _wh(100%, 100%) + _wh(100%, 100vh) _bis(,'../../static/images/home_bg.jpg', 100%, 100%,bottom) .header height 60px diff --git a/pages/login/login.vue b/pages/login/login.vue index 913dbaf..36893e0 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -175,7 +175,7 @@