From 1f0de01c5b1ebef85a9c71eb0f58208a524ecec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Sat, 13 Sep 2025 10:32:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=A4=8D=E5=88=B6=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E7=BC=96=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/park/monthlyPaymentOrder/index.css | 5 +++++ packages/park/monthlyPaymentOrder/index.vue | 24 +++++++++++++++++++-- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/packages/park/monthlyPaymentOrder/index.css b/packages/park/monthlyPaymentOrder/index.css index 111782e9..dd0dd1ec 100644 --- a/packages/park/monthlyPaymentOrder/index.css +++ b/packages/park/monthlyPaymentOrder/index.css @@ -62,6 +62,11 @@ page{ background: linear-gradient(to right, #ffe7e7, #ffffff); } +.copy-icon { + width: 30rpx; + height: 30rpx; +} + .order-number { font-size: 26rpx; color: #333; diff --git a/packages/park/monthlyPaymentOrder/index.vue b/packages/park/monthlyPaymentOrder/index.vue index 89216dde..92a9111e 100644 --- a/packages/park/monthlyPaymentOrder/index.vue +++ b/packages/park/monthlyPaymentOrder/index.vue @@ -12,6 +12,8 @@ 订单编号:{{ order.order_sn }} + + 取消订单 去支付 @@ -104,6 +106,24 @@ export default { } }, methods: { + //订单编号复制 + copyOrderNo(order_sn) { + uni.setClipboardData({ + data: order_sn, + success: () => { + uni.showToast({ + title: '复制成功', + icon: 'success' + }); + }, + fail: () => { + uni.showToast({ + title: '复制失败', + icon: 'none' + }); + } + }); + }, selectTab(index, item) { this.selectedTab = index; this.getOrderList() @@ -114,7 +134,7 @@ export default { }, // 去支付 goToPayment(order) { - NavgateTo('../parkOrderDetail/index'); + NavgateTo('../parkOrderDetail/index?item=' + JSON.stringify(order)); }, // 获取订单列表 getOrderList() {