瀏覽代碼

修改bug3533

sunshibo 3 周之前
父節點
當前提交
be93181ced
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/coupon/components/RulesModal.vue

+ 1 - 1
pages/coupon/components/RulesModal.vue

@@ -22,7 +22,7 @@
                 <text class="amount-number">{{ couponData?.amount || 0 }}</text>
                 <text class="amount-unit">元</text>
               </view>
-              <text class="condition-text">满{{ couponData?.minAmount || 0 }}可用</text>
+              <text class="condition-text">{{ (couponData?.minAmount != null && Number(couponData.minAmount) > 0) ? ('满' + couponData.minAmount + '可用') : '无门槛' }}</text>
             </view>
 
             <!-- 右侧信息区域 -->