From a2386e559babca48004d45bf885032f470e37f4f Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期一, 08 九月 2025 15:31:30 +0800
Subject: [PATCH] 移除取消订单按钮

---
 pages/cart/coupon/myCoupon.vue |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/pages/cart/coupon/myCoupon.vue b/pages/cart/coupon/myCoupon.vue
index b7d1392..afacc3b 100644
--- a/pages/cart/coupon/myCoupon.vue
+++ b/pages/cart/coupon/myCoupon.vue
@@ -97,12 +97,12 @@
               <image
                 class="no-icon"
                 v-if="navIndex == 1"
-                src="@/static/img/used.png"
+                src="@/pages/subComponents/static/img/used.png"
               ></image>
               <image
                 class="no-icon"
                 v-if="navIndex == 2"
-                src="@/static/img/overdue.png"
+                src="@/pages/subComponents/static/img/overdue.png"
               ></image>
               <view
                 class="receive"
@@ -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