From 9d0fcc427dd83b4fcbc812b845b14b91e17872f0 Mon Sep 17 00:00:00 2001 From: niexiting <85552560@qq.com> Date: Thu, 18 Jul 2024 13:13:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=98=BE=E7=A4=BA=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/style/new_style.css | 20 +++++++++++++------ src/mycomponents/item/itemCompareQty.vue | 5 +++-- src/mycomponents/job/jobComMainDetailCard.vue | 4 ++-- src/mycomponents/qty/recommendQty.vue | 14 +++++++++---- 4 files changed, 29 insertions(+), 14 deletions(-) diff --git a/src/common/style/new_style.css b/src/common/style/new_style.css index 86421cce..50cf4480 100644 --- a/src/common/style/new_style.css +++ b/src/common/style/new_style.css @@ -2082,19 +2082,19 @@ button::after { .card_packing_code { color: #3315EB; padding: 5px; - font-size: 35rpx; + font-size: 30rpx; } .card_batch { color: #9747FF; padding: 5px; - font-size: 35rpx; + font-size: 30rpx; } .card_container { color: #0076F6; padding: 5px; - font-size: 35rpx; + font-size: 30rpx; } @@ -2118,13 +2118,13 @@ button::after { .card_location { color: #DA8910; padding: 5px; - font-size: 35rpx; + font-size: 30rpx; } .card_to_location { color: #329362; padding: 5px; - font-size: 35rpx; + font-size: 30rpx; } .card_location_content { @@ -2480,9 +2480,17 @@ button[disabled] { .text_recommend { color: #0A84FF; - font-size: 38rpx; + font-size: 34rpx; + font-weight: bold; } +.text_packQty { + color: #3315EB; + font-size: 40rpx; + font-weight: bold; +} + + .text_balance { font-size: 36rpx; } diff --git a/src/mycomponents/item/itemCompareQty.vue b/src/mycomponents/item/itemCompareQty.vue index 560137b4..50d5220d 100644 --- a/src/mycomponents/item/itemCompareQty.vue +++ b/src/mycomponents/item/itemCompareQty.vue @@ -3,9 +3,10 @@ - + + > + diff --git a/src/mycomponents/job/jobComMainDetailCard.vue b/src/mycomponents/job/jobComMainDetailCard.vue index 20776860..b37077f0 100644 --- a/src/mycomponents/job/jobComMainDetailCard.vue +++ b/src/mycomponents/job/jobComMainDetailCard.vue @@ -3,9 +3,9 @@ + > +
- diff --git a/src/mycomponents/qty/recommendQty.vue b/src/mycomponents/qty/recommendQty.vue index c96707ac..394a3799 100644 --- a/src/mycomponents/qty/recommendQty.vue +++ b/src/mycomponents/qty/recommendQty.vue @@ -3,16 +3,20 @@ - + {{Number(dataContent.qty)}} + + / + {{ calc(dataContent.qty,dataContent.packQty)}} + + - @@ -66,7 +70,7 @@ type: Boolean, default: true }, - objTextStyle:{ + objTextStyle: { type: Object, default: null } @@ -75,7 +79,9 @@ }, methods: { - + calc(qty, packQty) { + return Math.ceil(Number(qty) / Number(packQty)); + } }, }