Commit 2cafeda19188f58b44240b1431861a1f2afd82d2

Authored by yvan.ni
1 parent 659c0190

拼团计算运费的时候 按重量要>=0

pages/cart/cart2_pt/cart2_pt.js
@@ -793,7 +793,7 @@ Page({ @@ -793,7 +793,7 @@ Page({
793 item=item.config; 793 item=item.config;
794 if (item == null) return o_shipping_price; 794 if (item == null) return o_shipping_price;
795 //------按重量---------- 795 //------按重量----------
796 - if (goods_weight>0) { 796 + if (goods_weight>=0) {
797 fw_price =parseFloat(item['money']); 797 fw_price =parseFloat(item['money']);
798 if (goods_weight > item['first_weight']){ 798 if (goods_weight > item['first_weight']){
799 var fw = goods_weight - item['first_weight']; 799 var fw = goods_weight - item['first_weight'];