From 2cafeda19188f58b44240b1431861a1f2afd82d2 Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Fri, 26 Nov 2021 16:40:50 +0800 Subject: [PATCH] 拼团计算运费的时候 按重量要>=0 --- pages/cart/cart2_pt/cart2_pt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/cart/cart2_pt/cart2_pt.js b/pages/cart/cart2_pt/cart2_pt.js index 56341a8..680b6cf 100644 --- a/pages/cart/cart2_pt/cart2_pt.js +++ b/pages/cart/cart2_pt/cart2_pt.js @@ -793,7 +793,7 @@ Page({ item=item.config; if (item == null) return o_shipping_price; //------按重量---------- - if (goods_weight>0) { + if (goods_weight>=0) { fw_price =parseFloat(item['money']); if (goods_weight > item['first_weight']){ var fw = goods_weight - item['first_weight']; -- libgit2 0.21.4