mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2026-11-13 12:28:50 +08:00
feat(coupon): 支持优惠券无门槛使用条件展示
- 优惠券消费阈值为0时显示"无门槛使用"替代"满0元可用" - 更新商品详情页促销优惠券组件的条件展示逻辑 - 更新购物车优惠券中心页面门槛显示 - 更新优惠券详情页门槛文案处理 - 更新首页领券模板,增加无门槛条件分支 - 更新我的优惠券页面新增门槛描述字段 - 更新店铺页优惠券领取区域门槛显示 - 更新首页优惠券模板组件门槛文案
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<text v-else-if="item.scopeType == 'PORTION_GOODS'">部分商品</text>
|
||||
<text v-else>{{ item.storeName == 'platform' ? '全平台' : item.storeName + '店铺' }}使用</text>
|
||||
</view>
|
||||
<text>满{{ unitPrice(item.consumeThreshold) }}可用</text>
|
||||
<text>{{ item.consumeThreshold > 0 ? '满' + unitPrice(item.consumeThreshold) + '可用' : '无门槛使用' }}</text>
|
||||
</view>
|
||||
<view class="lingqu-btn" @tap="getCoupon(item, index)">
|
||||
<view class="lingqu-text" :class="{ cur: yhqFlag[index] }">
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
<view class="xian"></view>
|
||||
<view class="text">
|
||||
<text>{{ "领取优惠券" }}</text>
|
||||
<text>满{{unitPrice(item.consumeThreshold) }}元可用</text>
|
||||
<text>{{ item.consumeThreshold > 0 ? '满' + unitPrice(item.consumeThreshold) + '元可用' : '无门槛使用' }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user