From 70c5503411d809911a5a27297d86d419ec5db2d3 Mon Sep 17 00:00:00 2001 From: wangfukang <15630117759@163.com> Date: Thu, 16 Jul 2026 10:40:03 +0800 Subject: [PATCH] 1 --- package2/shop/afterService.vue | 44 ++++++++++++++++++++++++++++++++++ package2/shop/orderDetail.vue | 14 +++++------ 2 files changed, 50 insertions(+), 8 deletions(-) diff --git a/package2/shop/afterService.vue b/package2/shop/afterService.vue index a29ac02..a51ab1e 100644 --- a/package2/shop/afterService.vue +++ b/package2/shop/afterService.vue @@ -83,6 +83,9 @@ {{item.mallOrder.otherOrder == 1 ? '快递/跑腿单' : '查看订单'}} + + 平台介入 + 拼团详情 @@ -378,10 +381,45 @@ }); }, makeCall(phone){ + if (!phone) { + this.tui.toast("暂无联系电话"); + return; + } uni.makePhoneCall({ phoneNumber: phone }); }, + callPlatformService() { + let regionId = this.getCurrentRegionId(); + if (!regionId) { + this.tui.toast("请选择校区"); + return; + } + let that = this; + that.tui.request("/mall/admin/seckillGroup/customerPhone/get", "GET", { + regionId: regionId + }, false, true).then((res) => { + if (res.code == 200) { + that.makeCall(res.result); + } else { + that.tui.toast(res.message || "获取客服电话失败"); + } + }).catch(() => { + that.tui.toast("获取客服电话失败"); + }); + }, + getCurrentRegionId() { + let area = uni.getStorageSync('area'); + if (!area) return ''; + if (typeof area === 'object') { + return area.id || ''; + } + try { + return JSON.parse(area).id || ''; + } catch (e) { + return ''; + } + }, openContactPopup(item){ this.contactItem = item || {}; this.$refs.contactPopup.open('bottom'); @@ -807,6 +845,12 @@ background: linear-gradient(90deg, #FF4500, #FFA07A); color: #fff; } + .platform-intervention-btn { + margin-left: 14rpx; + background: rgba(255, 255, 255, 0.72); + border: 1px solid rgba(0, 35, 28, 0.12); + color: #00231C; + } .empty-box { width: 95%; margin: 40rpx auto 0; diff --git a/package2/shop/orderDetail.vue b/package2/shop/orderDetail.vue index 0ab1efa..a157438 100644 --- a/package2/shop/orderDetail.vue +++ b/package2/shop/orderDetail.vue @@ -201,11 +201,7 @@ - - 商家预计收入 - ¥{{formatMoney(data.incomeSummary.expectedIncome)}} - - {{data.incomeSummary.remark}} + 结算基数 ¥{{formatMoney(data.incomeSummary.baseAmount)}} @@ -229,11 +225,13 @@ 责任金额 ¥{{formatMoney(data.incomeSummary.deductionBaseAmount)}} - 返还服务费 ¥{{formatMoney(data.incomeSummary.deductionCommissionAmount)}} - - 预计收入 - ¥{{formatMoney(data.incomeSummary.expectedIncome)}} + + 商家预计收入 + ¥{{formatMoney(data.incomeSummary.expectedIncome)}} 正常结算 - 退款/售后责任扣款 + {{data.incomeSummary.remark}} + {{line.name}}