diff --git a/pages/cart/coupon/couponCenter.vue b/pages/cart/coupon/couponCenter.vue index c7f9457..e8806ad 100644 --- a/pages/cart/coupon/couponCenter.vue +++ b/pages/cart/coupon/couponCenter.vue @@ -24,7 +24,7 @@ - 全平台 + 全平台 仅限品类 {{ item.storeName == 'platform' ? '全平台' :item.storeName+'店铺' }}使用 @@ -291,4 +291,4 @@ width: 260rpx; } - + diff --git a/pages/cart/coupon/couponDetail.vue b/pages/cart/coupon/couponDetail.vue index 2f2a39f..66dd99b 100644 --- a/pages/cart/coupon/couponDetail.vue +++ b/pages/cart/coupon/couponDetail.vue @@ -14,7 +14,7 @@ • 使用平台:{{ - coupon.scopeType == 'ALL' && coupon.id == 'platform' + coupon.scopeType == 'ALL' && coupon.storeId == '0' ? "全平台" : coupon.scopeType == "PORTION_CATEGORY" ? "仅限品类" diff --git a/pages/cart/coupon/index.vue b/pages/cart/coupon/index.vue index 8d218ca..f34ce21 100644 --- a/pages/cart/coupon/index.vue +++ b/pages/cart/coupon/index.vue @@ -34,7 +34,7 @@ - 全平台 + 全平台 仅限品类 {{ diff --git a/pages/cart/coupon/myCoupon.vue b/pages/cart/coupon/myCoupon.vue index 41b562c..ac59a4a 100644 --- a/pages/cart/coupon/myCoupon.vue +++ b/pages/cart/coupon/myCoupon.vue @@ -32,7 +32,7 @@ {{ coupon.title }} 使用平台:{{ - coupon.scopeType == 'ALL' && coupon.id == 'platform' + coupon.scopeType == 'ALL' && coupon.storeId == '0' ? "全平台" : coupon.scopeType == "PORTION_CATEGORY" ? "仅限品类" @@ -188,7 +188,7 @@ export default { * 立即使用优惠券 */ useItNow(item) { - if (item.storeId && item.storeId!='platform') { + if (item.storeId && item.storeId!='0') { uni.navigateTo({ url: `/pages/product/shopPage?id=${item.storeId}`, }); diff --git a/pages/product/product/promotion/-promotion-coupon.vue b/pages/product/product/promotion/-promotion-coupon.vue index 0948a1e..6b0936b 100644 --- a/pages/product/product/promotion/-promotion-coupon.vue +++ b/pages/product/product/promotion/-promotion-coupon.vue @@ -11,7 +11,7 @@
- 全平台 + 全平台 仅限品类 {{ item.storeName == "platform" ? "全平台" : item.storeName + "店铺" @@ -181,4 +181,4 @@ } } } - +