From 20cea6ead763e00811677296dc375a44e9c44fac Mon Sep 17 00:00:00 2001 From: LinCyJang Date: Mon, 23 Mar 2026 21:26:36 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A4988=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E5=BE=85=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E4=BD=93=E9=AA=8C=E5=88=B8=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=EF=BC=8C=E6=A0=B8=E9=94=80=E7=A0=81=E4=BB=A5=E5=8F=8A?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=8F=B7=E7=BC=BA=E5=B0=91=E5=A4=8D=E5=88=B6?= =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/experienceCouponOrderDetail.vue | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/pkg_product/views/experienceCouponOrderDetail.vue b/pkg_product/views/experienceCouponOrderDetail.vue index 4e09cd5..8888ece 100644 --- a/pkg_product/views/experienceCouponOrderDetail.vue +++ b/pkg_product/views/experienceCouponOrderDetail.vue @@ -67,7 +67,10 @@ 订单号: - {{ orderInfo.orderId || '' }} + + {{ orderInfo.orderId || '' }} + + 订单类型: @@ -259,6 +262,20 @@ export default { }) } }) + }, + copyOrderId() { + if (!this.orderInfo.orderId) { + return + } + uni.setClipboardData({ + data: this.orderInfo.orderId, + success: () => { + uni.showToast({ + title: '已复制订单号', + icon: 'none' + }) + } + }) } } } @@ -522,6 +539,15 @@ export default { flex: 1; } +.info-row .value.with-copy { + display: flex; + align-items: center; +} + +.info-row .value.with-copy .copy-icon { + margin-left: 16rpx; +} + .notice-section { background: #fff; border-radius: 16rpx;