From be6df55226b155a1567ce3bac9c6d25df6c68b98 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期一, 29 九月 2025 17:21:56 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/user_action' into send_coupon --- pages/order/myOrder.vue | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/pages/order/myOrder.vue b/pages/order/myOrder.vue index 6821cde..41f5961 100644 --- a/pages/order/myOrder.vue +++ b/pages/order/myOrder.vue @@ -175,6 +175,14 @@ </u-button> --> </view> </view> + <view style="display: flex;justify-content: space-around;"> + <view class="" @click="callPhone"> + 瀹㈡湇鐑嚎: 028-84472936 + </view> + <view class="" @click="copyToClipboard"> + 瀹㈡湇寰俊: meiyikuang + </view> + </view> </view> </view> <uni-load-more :status="tabItem.loadStatus"></uni-load-more> @@ -419,6 +427,29 @@ }, }, methods: { + copyToClipboard(){ + uni.setClipboardData({ + data:'meiyikuang', + success() { + uni.showToast({ + title: '澶嶅埗鎴愬姛', + icon: 'none' + }) + } + }) + }, + callPhone(){ + uni.showModal({ + title:'纭鑱旂郴瀹㈡湇鍚�?', + success(e) { + if(e.confirm){ + uni.makePhoneCall({ + phoneNumber:'028-84472936' + }) + } + } + }) + }, openCouponPackage(order){ console.log(order) uni.navigateTo({ -- Gitblit v1.8.0