diff --git a/pages/order-detail/order-detail.css b/pages/order-detail/order-detail.css
index c2c8607..4ba6f7b 100644
--- a/pages/order-detail/order-detail.css
+++ b/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/pages/order-detail/order-detail.vue b/pages/order-detail/order-detail.vue
index eb357ce..c9403f4 100644
--- a/pages/order-detail/order-detail.vue
+++ b/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/pages/prod/prod.css b/pages/prod/prod.css
index fcde604..53d171c 100644
--- a/pages/prod/prod.css
+++ b/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/pages/prod/prod.vue b/pages/prod/prod.vue
index dedd052..4dedba8 100644
--- a/pages/prod/prod.vue
+++ b/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]}}
+