diff --git a/pages/cart/coupon/couponCenter.vue b/pages/cart/coupon/couponCenter.vue index 6abb94d..da08d86 100644 --- a/pages/cart/coupon/couponCenter.vue +++ b/pages/cart/coupon/couponCenter.vue @@ -11,7 +11,7 @@ {{ item.storeName == 'platform' ? '全平台' : item.storeName + '店铺' }}使用 - 满{{unitPrice(item.consumeThreshold) }}元可用 + {{ item.consumeThreshold > 0 ? '满' + unitPrice(item.consumeThreshold) + '元可用' : '无门槛使用' }} 有效期至:{{ item.endTime.split(" ")[0] }} diff --git a/pages/cart/coupon/couponDetail.vue b/pages/cart/coupon/couponDetail.vue index 81e89fa..3f0f002 100644 --- a/pages/cart/coupon/couponDetail.vue +++ b/pages/cart/coupon/couponDetail.vue @@ -5,7 +5,7 @@ {{ coupon.title }} ¥{{ unitPrice(coupon.price) }} {{ coupon.discount }}折 - 满{{ coupon.consumeThreshold }}元可用 + {{ coupon.consumeThreshold > 0 ? '满' + coupon.consumeThreshold + '元可用' : '无门槛使用' }} 券 {{ coupon.used_status == 0 ? '新到' : coupon.used_status_text }} diff --git a/pages/cart/coupon/index.vue b/pages/cart/coupon/index.vue index 7d29022..9a1a3e6 100644 --- a/pages/cart/coupon/index.vue +++ b/pages/cart/coupon/index.vue @@ -41,7 +41,7 @@ 使用 - 满{{ unitPrice(item.consumeThreshold) }}元可用 + {{ item.consumeThreshold > 0 ? '满' + unitPrice(item.consumeThreshold) + '元可用' : '无门槛使用' }} {{ item.reason }} 有效期至:{{ item.endTime }} diff --git a/pages/cart/coupon/myCoupon.vue b/pages/cart/coupon/myCoupon.vue index 6b04446..7fc937f 100644 --- a/pages/cart/coupon/myCoupon.vue +++ b/pages/cart/coupon/myCoupon.vue @@ -47,6 +47,7 @@ {{ coupon.title }} + {{ coupon.consumeThreshold > 0 ? '满' + unitPrice(coupon.consumeThreshold) + '元可用' : '无门槛使用' }} 使用范围:{{ coupon.scopeType == "ALL" && coupon.storeId == "0" ? "全平台" diff --git a/pages/product/product/promotion/-promotion-coupon.vue b/pages/product/product/promotion/-promotion-coupon.vue index e239424..d505387 100644 --- a/pages/product/product/promotion/-promotion-coupon.vue +++ b/pages/product/product/promotion/-promotion-coupon.vue @@ -15,7 +15,7 @@ 部分商品 {{ item.storeName == 'platform' ? '全平台' : item.storeName + '店铺' }}使用 - 满{{ unitPrice(item.consumeThreshold) }}可用 + {{ item.consumeThreshold > 0 ? '满' + unitPrice(item.consumeThreshold) + '可用' : '无门槛使用' }} diff --git a/pages/product/shopPage.vue b/pages/product/shopPage.vue index abf53ed..4d73ac8 100644 --- a/pages/product/shopPage.vue +++ b/pages/product/shopPage.vue @@ -96,7 +96,7 @@ {{ "领取优惠券" }} - 满{{unitPrice(item.consumeThreshold) }}元可用 + {{ item.consumeThreshold > 0 ? '满' + unitPrice(item.consumeThreshold) + '元可用' : '无门槛使用' }} diff --git a/pages/tabbar/home/template/fetch_coupon.vue b/pages/tabbar/home/template/fetch_coupon.vue index 85315ad..e4d90b1 100644 --- a/pages/tabbar/home/template/fetch_coupon.vue +++ b/pages/tabbar/home/template/fetch_coupon.vue @@ -36,11 +36,12 @@ }}元 - 满{{unitPrice(item.consumeThreshold) }}元可用 + 无门槛使用 全平台 diff --git a/pages/tabbar/home/template/tpl_coupon.vue b/pages/tabbar/home/template/tpl_coupon.vue index 0192fca..b821883 100644 --- a/pages/tabbar/home/template/tpl_coupon.vue +++ b/pages/tabbar/home/template/tpl_coupon.vue @@ -21,7 +21,7 @@ {{ unitPrice(item.price) }} - 满{{ unitPrice(item.consumeThreshold) }}元可用 + {{ item.consumeThreshold > 0 ? '满' + unitPrice(item.consumeThreshold) + '元可用' : '无门槛使用' }}