From a7e34a2e172804162ec8e8384fab0cebfcee0293 Mon Sep 17 00:00:00 2001 From: fanfan Date: Sat, 10 Aug 2024 21:38:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=AE=B6=E5=A4=87=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ext.json | 2 +- pages/news3/shopOrderDetails.vue | 2531 +++++++++++++++--------------- pages/order/detail.vue | 80 +- 3 files changed, 1375 insertions(+), 1238 deletions(-) diff --git a/ext.json b/ext.json index f2b22b7..d1f4139 100644 --- a/ext.json +++ b/ext.json @@ -1,6 +1,6 @@ { "extEnable": true, - "extAppid": "wx9f7e94fe11dc0c23", + "extAppid": "wxa3127ed5c3542a28", "ext": { "store_id": 10048 } diff --git a/pages/news3/shopOrderDetails.vue b/pages/news3/shopOrderDetails.vue index bdcc2b4..5f575aa 100644 --- a/pages/news3/shopOrderDetails.vue +++ b/pages/news3/shopOrderDetails.vue @@ -1,1241 +1,1312 @@ - - - - - diff --git a/pages/order/detail.vue b/pages/order/detail.vue index 89b1b1d..592c9c5 100644 --- a/pages/order/detail.vue +++ b/pages/order/detail.vue @@ -185,7 +185,7 @@ --> - + 物流公司: @@ -208,14 +208,23 @@ {{order.pay_time}} - + @@ -464,6 +473,16 @@ } }, methods: { + previewImage(index, list) { + let newList = [] + list.forEach(item => { + newList.push(item.preview_url) + }); + uni.previewImage({ + current: index, // 当前显示图片索引 + urls: newList, // 需要预览的图片http链接列表 + }); + }, onCopyLink(str) { uni.setClipboardData({ data: str, // 这里是个坑接受字符串类型 value转化为字符串 @@ -700,7 +719,8 @@ // 点击去退款 onRefund(orderId, order, item) { uni.navigateTo({ - url: '/pages/order/refund/index?orderId=' + orderId + '&order=' + encodeURIComponent(JSON.stringify(order)) + + url: '/pages/order/refund/index?orderId=' + orderId + '&order=' + encodeURIComponent(JSON + .stringify(order)) + "&deliveryStatus=" + item.delivery_status + '&receiptStatus=' + item.receipt_status }) }, @@ -1579,4 +1599,50 @@ font-size: 36rpx; } } + + .remarkTitle { + overflow: hidden; + margin-bottom: 20rpx; + + .total { + float: left; + font-size: 24rpx; + color: #7E7E7E; + } + + .merchantImg { + width: 100%; + display: flex; + flex-wrap: wrap; + flex-direction: row; + min-height: 100rpx; + } + + .merchantImg image { + width: 100rpx; + height: 100rpx; + margin: 0 20rpx 20rpx 0; + + } + + .merchant { + margin-top: 5rpx; + overflow: hidden; + border-top: 1rpx solid #F4F4F4; + padding: 20rpx 0; + + .remark { + font-size: 24rpx; + font-weight: 500; + color: #1E1E1E; + line-height: 34rpx; + } + } + + .merchant:nth-child(1) { + padding-top: 0; + border-top: none; + } + + }