Commit 511867f4109753163a859290d0866aea265ae12a
1 parent
ed721cd9
商品的重量~~~
Showing
1 changed file
with
1 additions
and
1 deletions
pages/cart/cart2/cart2.js
... | ... | @@ -1087,7 +1087,7 @@ Page({ |
1087 | 1087 | var fw_price = 0, fp_price=0; |
1088 | 1088 | item=item.config; |
1089 | 1089 | //------按重量---------- |
1090 | - if (goods_weight>0) { | |
1090 | + if (goods_weight>=0) { | |
1091 | 1091 | fw_price =parseFloat(item['money']); |
1092 | 1092 | if (goods_weight > item['first_weight']){ |
1093 | 1093 | var fw = goods_weight - item['first_weight']; | ... | ... |