From ce8c8392de2459f7819591f37a70077e5bf85ddf Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期四, 28 八月 2025 17:17:26 +0800
Subject: [PATCH] 浏览足迹
---
pages/cart/coupon/myCoupon.vue | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/pages/cart/coupon/myCoupon.vue b/pages/cart/coupon/myCoupon.vue
index 80ffe7c..afacc3b 100644
--- a/pages/cart/coupon/myCoupon.vue
+++ b/pages/cart/coupon/myCoupon.vue
@@ -204,6 +204,7 @@
title: "鍔犺浇涓�",
});
let index = this.tabCurrentIndex;
+ console.log(this.navList[index].params)
getMemberCoupons(this.navList[index].params).then((res) => {
uni.stopPullDownRefresh();
if (res.data.success) {
@@ -247,9 +248,18 @@
* 绔嬪嵆浣跨敤浼樻儬鍒�
*/
useItNow(item) {
- uni.navigateTo({
- url: `/pages/navigation/search/searchPage?promotionsId=${item.couponId}&promotionType=COUPON`,
- });
+
+ console.log('浼樻儬鍗疯鎯�--------------------->',JSON.stringify(item))
+ // uni.navigateTo({
+ // url: `/pages/navigation/search/searchPage?promotionsId=${item.couponId}&promotionType=COUPON`,
+ // });
+ if(item.scopeType ==='PORTION_GOODS'){
+ //鑾峰彇浼樻儬鍗峰搴旂殑鍟嗗搧
+ //鎸囧畾璺宠浆鍒板晢鍝佽鎯呴〉闈㈣繘琛岃喘涔�
+ }
+ uni.navigateTo({
+ url: `/pages/commodity-square/coups-goods-list?promotionsId=${item.couponId}&promotionType=COUPON`
+ });
},
/**
--
Gitblit v1.8.0