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)); + } }, }