From d1cada30a4b98000ef9c8970f0e2b53ed76e352c Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期二, 30 九月 2025 11:16:00 +0800 Subject: [PATCH] 商品行为分析 --- pages/order/myOrder.vue | 43 +++++++++++++++++++++++++++++++++++++------ 1 files changed, 37 insertions(+), 6 deletions(-) diff --git a/pages/order/myOrder.vue b/pages/order/myOrder.vue index 6821cde..958a642 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"> + 瀹㈡湇鐑嚎: 19980834650 + </view> + <view class="" @click="copyToClipboard"> + 瀹㈡湇寰俊: meiyikuang + </view> + </view> </view> </view> <uni-load-more :status="tabItem.loadStatus"></uni-load-more> @@ -381,7 +389,7 @@ param.sessionId = this.pageSessionNo userAction(param) } - }) + }) if(this.$options.filters.tipsToLogin()){ if (!this.tabCurrentIndex) { this.initData(0); @@ -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:'19980834650' + }) + } + } + }) + }, openCouponPackage(order){ console.log(order) uni.navigateTo({ @@ -683,14 +714,14 @@ * 鏌ョ湅鐗╂祦 */ navigateToLogistics(order) { + uni.navigateTo({ + url: + "/pages/mine/msgTips/packageMsg/logisticsDetail?order_sn=" + order.sn, + }); // uni.navigateTo({ // url: - // "/pages/mine/msgTips/packageMsg/logisticsDetail?order_sn=" + order.sn, + // `/pages/order/deliverDetail?order_sn=${order.sn}`, // }); - uni.navigateTo({ - url: - `/pages/order/deliverDetail?order_sn=${order.sn}`, - }); }, }, }; -- Gitblit v1.8.0