From fc25dd9338334cddd481c4bbec3d6ea6b7c10e38 Mon Sep 17 00:00:00 2001 From: Eratosici Date: Tue, 15 Mar 2022 10:29:38 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mall4uni/pages/order-detail/order-detail.css | 1 + mall4uni/pages/order-detail/order-detail.vue | 10 +++++----- mall4uni/pages/prod/prod.css | 8 +++++++- mall4uni/pages/prod/prod.vue | 5 ++++- mall4uni/pages/submit-order/submit-order.css | 1 + 5 files changed, 18 insertions(+), 7 deletions(-) diff --git a/mall4uni/pages/order-detail/order-detail.css b/mall4uni/pages/order-detail/order-detail.css index ad22dab..8d2ac04 100644 --- a/mall4uni/pages/order-detail/order-detail.css +++ b/mall4uni/pages/order-detail/order-detail.css @@ -6,6 +6,7 @@ page { .order-detail { margin-bottom: 120rpx; + padding-bottom: 160rpx; } .order-detail .delivery-addr { diff --git a/mall4uni/pages/order-detail/order-detail.vue b/mall4uni/pages/order-detail/order-detail.vue index 5d476e9..24ddeb9 100644 --- a/mall4uni/pages/order-detail/order-detail.vue +++ b/mall4uni/pages/order-detail/order-detail.vue @@ -111,8 +111,8 @@ 订单总额: - {{wxs.parsePrice(productTotalAmount)[0]}} - .{{wxs.parsePrice(productTotalAmount)[1]}} + {{wxs.parsePrice(total)[0]}} + .{{wxs.parsePrice(total)[1]}} @@ -174,8 +174,8 @@ export default { productTotalAmount: '', transfee: '', reduceAmount: '', - actualTotal: '', - prodid: '' + prodid: '', + total: 0, // 商品总额 }; }, @@ -256,7 +256,7 @@ export default { productTotalAmount: res.orderItemDtos[0].productTotalAmount, transfee: res.transfee, reduceAmount: res.reduceAmount, - actualTotal: res.actualTotal + total: res.total }); uni.hideLoading(); console.log("orderDetail",this.userAddrDto) diff --git a/mall4uni/pages/prod/prod.css b/mall4uni/pages/prod/prod.css index fcde604..53d171c 100644 --- a/mall4uni/pages/prod/prod.css +++ b/mall4uni/pages/prod/prod.css @@ -88,7 +88,7 @@ swiper image { color: #eb2444; font-size: 24rpx; font-weight: 600; - margin-right: 50rpx; + margin-right: 30rpx; } .price-num { @@ -96,6 +96,12 @@ swiper image { font-weight: 400; } +.ori-price { + font-size: 25rpx; + color: #999; + text-decoration: line-through; +} + .sales { color: #999; } diff --git a/mall4uni/pages/prod/prod.vue b/mall4uni/pages/prod/prod.vue index ebc850c..1932a2e 100644 --- a/mall4uni/pages/prod/prod.vue +++ b/mall4uni/pages/prod/prod.vue @@ -24,6 +24,9 @@ {{brief}} {{wxs.parsePrice(defaultSku.price)[0]}}.{{wxs.parsePrice(defaultSku.price)[1]}} + + ¥{{wxs.parsePrice(defaultSku.oriPrice)[0]}}.{{wxs.parsePrice(defaultSku.oriPrice)[1]}} +