From d3d89424a0a4105b7fba02e1aee52a6609de45f5 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Mon, 22 May 2023 11:28:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=93=E5=AD=98=E7=BA=BF=E7=9B=98=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/style/layout.css | 42 +++++++++++++++----- pages/management/hcxcheck.vue | 73 ++++++++++++++++++++++++----------- utils/getData2.js | 18 +++++++++ 3 files changed, 100 insertions(+), 33 deletions(-) diff --git a/common/style/layout.css b/common/style/layout.css index 645a669..47573bb 100644 --- a/common/style/layout.css +++ b/common/style/layout.css @@ -254,31 +254,53 @@ uni-button{ overflow-y: auto; } .material-item { - width: 8.2%; - margin-right: 2%; + position: relative; + z-index: 1; + width: 9.1%; + margin-right: 1%; margin-bottom: 15px; - padding: 5px; - border-radius: 12px; + padding: 15px 5px 5px 5px; + border-radius: 6px; } .material-item:nth-child(10n) { margin-right: 0; } .material-title { - font-size: 16px; - line-height: 35px; - height: 35px; + font-size: 15px; + line-height: 24px; + height: 24px; text-align: center; color: #fff; + word-break: break-all; overflow: hidden; } .material-spec { - font-size: 16px; - line-height: 26px; - height: 52px; + font-size: 15px; + line-height: 18px; + height: 36px; text-align: center; color: #fff; + word-break: break-all; + margin-top: 5px; overflow: hidden; } +.badge__content { + position: absolute; + top: -5px; + left: 0; + z-index: 2; + background-color: #6798ef; + color: #fff; + display: inline-block; + font-size: 12px; + height: 18px; + line-height: 18px; + padding: 0 6px; + text-align: center; + white-space: nowrap; + border-top-right-radius: 10px; + border-bottom-right-radius: 10px; +} .icon_unchecked { color: #fff; width: 24px; diff --git a/pages/management/hcxcheck.vue b/pages/management/hcxcheck.vue index 4875597..b0452da 100644 --- a/pages/management/hcxcheck.vue +++ b/pages/management/hcxcheck.vue @@ -16,7 +16,9 @@ - + + + @@ -43,6 +45,7 @@ {{e.vehicle_code}} {{e.material_spec}} + {{['准备位', '对接位'][Number(e.seat_order_num) - 1]}} @@ -57,12 +60,12 @@ /> - + @@ -107,7 +110,7 @@ - + @@ -120,7 +123,7 @@