diff --git a/README.md b/README.md index b55aa2d0c..d3fe9fab1 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ lilishop-ui ## 8. 升级计划 -> 更新日期:2026-11-03,依据各端近期提交及当前代码实现同步。 +> 更新日期:2026-11-04,依据各端近期提交及当前代码实现同步。 ### ✅ 已完成特性 | 功能模块 | 功能模块 | @@ -173,7 +173,7 @@ lilishop-ui | ✅ 购物卡 | ✅ 腾讯云-云直播 | | ✅ 卡密商品 | ✅ 二级分销 | | ✅ 定时任务管理(数据库配置驱动) | ✅ 预约服务商品 | -| ✅ 主题色管理 | | +| ✅ 主题色管理 | ✅ 立减优惠券 | ### 🔜 近期规划中 - 🔜 微信小店对接 diff --git a/buyer/src/components/drawer/Drawer.vue b/buyer/src/components/drawer/Drawer.vue index 6649dc5a8..ebc3a676f 100644 --- a/buyer/src/components/drawer/Drawer.vue +++ b/buyer/src/components/drawer/Drawer.vue @@ -39,7 +39,7 @@
¥{{ $filters.unitPrice(coupon.price) }} {{coupon.couponDiscount}}折 - 满{{coupon.consumeThreshold}}元可用 + {{ coupon.consumeThreshold > 0 ? '满' + coupon.consumeThreshold + '元可用' : '无门槛使用' }}

使用范围:{{useScope(coupon.scopeType, coupon.storeName)}}

有效期:{{coupon.endTime}}

diff --git a/buyer/src/components/goodsDetail/ShowGoods.vue b/buyer/src/components/goodsDetail/ShowGoods.vue index a3fe79216..35864d24c 100644 --- a/buyer/src/components/goodsDetail/ShowGoods.vue +++ b/buyer/src/components/goodsDetail/ShowGoods.vue @@ -100,7 +100,7 @@ @click="handleReceiveCoupon(item.id)" > 满{{ item.consumeThreshold }}减{{ item.price }} + >{{ item.consumeThreshold > 0 ? '满' + item.consumeThreshold + '减' + item.price : '无门槛,立减' + item.price + '元' }} 满{{ item.consumeThreshold }}打{{ item.couponDiscount @@ -117,7 +117,7 @@ @click="handleReceiveCoupon(item.id)" > 满{{ item.consumeThreshold }}减{{ item.price }} + >{{ item.consumeThreshold > 0 ? '满' + item.consumeThreshold + '减' + item.price : '无门槛,立减' + item.price + '元' }} 满{{ item.consumeThreshold }}打{{ item.couponDiscount diff --git a/buyer/src/pages/Cart.vue b/buyer/src/pages/Cart.vue index 70d6d3344..92de65652 100644 --- a/buyer/src/pages/Cart.vue +++ b/buyer/src/pages/Cart.vue @@ -75,7 +75,7 @@ >¥{{ item.price }} {{ item.couponDiscount }}折 - 满{{ item.consumeThreshold }}元可用 + {{ item.consumeThreshold > 0 ? '满' + item.consumeThreshold + '元可用' : '无门槛使用' }} ¥{{ $filters.unitPrice(item.price) }} {{item.discount}}折 - 满{{item.consumeThreshold}}元可用 + {{ item.consumeThreshold > 0 ? '满' + item.consumeThreshold + '元可用' : '无门槛使用' }}

使用范围:{{useScope(item.scopeType, item.storeName)}}

有效期:{{item.endTime}}

diff --git a/buyer/src/pages/home/userCenter/Coupons.vue b/buyer/src/pages/home/userCenter/Coupons.vue index 4c2bb7575..89685de27 100644 --- a/buyer/src/pages/home/userCenter/Coupons.vue +++ b/buyer/src/pages/home/userCenter/Coupons.vue @@ -23,7 +23,7 @@ v-if="item.couponType === 'DISCOUNT'" class="global_color coupon-amount" >{{ item.discount }}折 - 满{{ item.consumeThreshold }}元可用 + {{ item.consumeThreshold > 0 ? '满' + item.consumeThreshold + '元可用' : '无门槛使用' }}

使用范围:{{ useScope(item.scopeType, item.storeName) }}

有效期:{{ formatValidity(item) }}

diff --git a/buyer/src/pages/payment/Pay.vue b/buyer/src/pages/payment/Pay.vue index 7b421aedb..a052f4db0 100644 --- a/buyer/src/pages/payment/Pay.vue +++ b/buyer/src/pages/payment/Pay.vue @@ -202,7 +202,7 @@
-

满{{ item.consumeThreshold }}元可用

+

{{ item.consumeThreshold > 0 ? '满' + item.consumeThreshold + '元可用' : '无门槛使用' }}

使用范围:{{ useScope(item.scopeType, item.storeName) }}

有效期:{{ item.endTime }}

diff --git a/manager/src/views/member/benefit/index.vue b/manager/src/views/member/benefit/index.vue index c1b615659..5bc763483 100644 --- a/manager/src/views/member/benefit/index.vue +++ b/manager/src/views/member/benefit/index.vue @@ -2,29 +2,12 @@