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 @@