From 2aef6a4fe56eca2c091ff6ec4f605458c249123b Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 1 Jul 2023 21:47:34 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E3=80=91=201.=20=E5=AD=97=E6=AE=B5=E7=9A=84=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=202.=20=E5=90=84=E7=8A=B6=E6=80=81=E4=B8=8B=E7=9A=84=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/orderGoods/index.vue | 6 +- pages/order_details/index.vue | 681 +++++++++++++++++-------------- pages/users/order_list/index.vue | 2 +- 3 files changed, 371 insertions(+), 318 deletions(-) diff --git a/components/orderGoods/index.vue b/components/orderGoods/index.vue index 356bd54f..fd58293f 100644 --- a/components/orderGoods/index.vue +++ b/components/orderGoods/index.vue @@ -46,10 +46,6 @@ type: String, default: '', }, - ids: { - type: Number, - default: 0, - }, jump: { type: Boolean, default: false, @@ -79,7 +75,7 @@ // TODO 芋艿:评价 evaluateTap(item) { uni.navigateTo({ - url: "/pages/users/goods_comment_con/index?unique=" + item.attrId + "&orderId=" + this.orderId + '&id=' + this.ids + url: "/pages/users/goods_comment_con/index?unique=" + item.attrId + "&orderId=" + this.orderId + '&id=' + item.id }) }, jumpCon: function(id) { diff --git a/pages/order_details/index.vue b/pages/order_details/index.vue index bea32053..1a34ebf2 100644 --- a/pages/order_details/index.vue +++ b/pages/order_details/index.vue @@ -20,7 +20,7 @@ 商家已发货,请耐心等待 已收货,快去评价一下吧 交易完成,感谢您的支持 - + 交易关闭 {{ formatDate(orderInfo.createTime) }} @@ -103,34 +103,50 @@ 查看位置 - - {{orderInfo.realName}}{{orderInfo.userPhone}} - {{orderInfo.userAddress}} + + + + {{ orderInfo.receiverName }} + {{ orderInfo.receiverMobile }} + + {{ orderInfo.receiverAreaName }} {{ orderInfo.receiverDetailAddress}} - + + {{orderInfo.systemStore?orderInfo.systemStore.name:''}}{{orderInfo.systemStore?orderInfo.systemStore.phone:''}} {{orderInfo.systemStore?orderInfo.systemStore.detailedAddress:''}} - - + + + + +
- 联系客服 + + 联系客服
+ @@ -141,34 +157,35 @@ 订单编号: - {{orderInfo.orderId}} + {{orderInfo.no}} 复制 - 复制 + 复制 下单时间: - {{(orderInfo.createTime || 0)}} + {{( formatDate(orderInfo.createTime) )}} 支付状态: - 已支付 + 已支付 未支付 - + + 支付方式: {{orderInfo.payTypeStr}} - + 买家留言: - {{orderInfo.mark}} + {{orderInfo.userRemark}} - + 收货人: @@ -183,8 +200,10 @@ {{orderInfo.userAddress}} - - + + + + 配送方式: 发货 @@ -220,31 +239,43 @@ - + + + 商品总价: - ¥{{orderInfo.proTotalPrice}} + ¥{{ fen2yuan(orderInfo.totalPrice) }} - + 运费: - ¥{{orderInfo.payPostage}} + ¥{{ fen2yuan(orderInfo.deliveryPrice) }} 优惠券抵扣: - -¥{{orderInfo.couponPrice}} + -¥{{ fen2yuan(orderInfo.couponPrice) }} - + + + 积分抵扣: - -¥{{orderInfo.deductionPrice}} + -¥{{ fen2yuan(orderInfo.deductionPrice) }} - 实付款:¥{{orderInfo.payPrice}} + + 实付款:¥{{ fen2yuan(orderInfo.payPrice) }} + - - 取消订单 - 立即付款 - + + + + + 取消订单 + + + 立即付款 + + + 申请退款 @@ -254,13 +285,23 @@ class='bnt cancel' v-else-if="orderInfo.paid === true && orderInfo.refundStatus === 0 && orderInfo.type!==1 && type==='normal'">申请退款 - 查看拼团 - 查看物流 + + 查看拼团 + + + 查看物流 - 确认收货 - 删除订单 - 再次购买 + + 确认收货 + + + 删除订单 + + + + 再次购买 + @@ -268,293 +309,309 @@