From 752f915caa8c38b44a927f47f3b074d6253566ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E7=8E=B2?= <8702040+cai-ling@user.noreply.gitee.com> Date: Fri, 13 Dec 2024 14:46:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/style/layout.css | 15 +++-- pages/home/home.vue | 2 +- pages/login/login.vue | 2 +- pages/management/alloc-maintenance_new.vue | 5 +- pages/management/check.vue | 5 +- pages/management/in-storage_new.vue | 10 ++-- pages/management/move-inventory.vue | 5 +- pages/management/receive-confirm_new.vue | 5 +- utils/mork2.js | 65 ++++++++++++++++++++++ 9 files changed, 94 insertions(+), 20 deletions(-) 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 @@