From 511867f4109753163a859290d0866aea265ae12a Mon Sep 17 00:00:00 2001 From: yvan.ni <765199919@qq.com> Date: Mon, 9 Mar 2020 18:54:22 +0800 Subject: [PATCH] 商品的重量~~~ --- pages/cart/cart2/cart2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/cart/cart2/cart2.js b/pages/cart/cart2/cart2.js index 4d499d8..0c1d7de 100644 --- a/pages/cart/cart2/cart2.js +++ b/pages/cart/cart2/cart2.js @@ -1087,7 +1087,7 @@ Page({ var fw_price = 0, fp_price=0; item=item.config; //------按重量---------- - 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