From 0468cbcdecb0526dbfb303b142b89329c2a13d29 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Fri, 1 Mar 2024 15:39:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=81=94=E8=B0=83=EF=BC=8C?= =?UTF-8?q?=E5=90=88=E5=B9=B6=E5=87=BA=E5=85=A5=E5=BA=93=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/style/layout.css | 13 +- common/style/reset.css | 2 +- pages/home/home.vue | 8 +- pages/login/login.vue | 2 +- pages/management/in-storage.vue | 122 +++++----- pages/management/out-storage.vue | 391 ------------------------------- utils/getData2.js | 4 +- 7 files changed, 81 insertions(+), 461 deletions(-) diff --git a/common/style/layout.css b/common/style/layout.css index c8e6e41..ea0f30e 100644 --- a/common/style/layout.css +++ b/common/style/layout.css @@ -418,13 +418,20 @@ uni-button{ .pop-wraper { position: fixed; bottom: 10%; - left: 10%; - width: 80%; + left: 15%; + width: 70%; height: 80%; padding: 1% 2%; background: center / 100% 100% url(./static/images/pop_bg.png) no-repeat; z-index: 2017; - transition: all .3s; + transition: all .4s; +} +.pop-wraper_1 { + bottom: 30%; + height: 40%; +} +.kwcode_wraper { + height: calc(100% - 170rpx) } .pop-title { font-size: 36rpx; diff --git a/common/style/reset.css b/common/style/reset.css index d8e2094..92913cd 100644 --- a/common/style/reset.css +++ b/common/style/reset.css @@ -151,5 +151,5 @@ input[type="button"], input[type="submit"], input[type="search"], input[type="re transform: translateY(0); } .pophide { - transform: translateY(120%); + transform: translateY(180%); } \ No newline at end of file diff --git a/pages/home/home.vue b/pages/home/home.vue index b5fb81a..d7fef6c 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -16,7 +16,7 @@ {{e.name}} - {{e.counts}} + {{e.counts}} @@ -52,11 +52,7 @@ }, toPage (e) { let url = '' - if (e.ywlx === 'OUT') { - url = '/pages/management/out-storage?id=' + e.djlx + '&name=' + e.name - } else { - url = '/pages/management/in-storage?id=' + e.djlx + '&name=' + e.name - } + url = '/pages/management/in-storage?id=' + e.djlx + '&name=' + e.name + '&type=' + e.ywlx uni.redirectTo({ url: url }) diff --git a/pages/login/login.vue b/pages/login/login.vue index 200b985..49edc87 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -225,7 +225,7 @@ line-height 90rpx .login_icon position absolute - top 0 + top 5px right 10px .primary-button _wh(auto, 100rpx) diff --git a/pages/management/in-storage.vue b/pages/management/in-storage.vue index 2d4625b..b602d2b 100644 --- a/pages/management/in-storage.vue +++ b/pages/management/in-storage.vue @@ -1,6 +1,6 @@