sunshibo 3 settimane fa
parent
commit
be93181ced
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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>
 
             <!-- 右侧信息区域 -->