diff --git a/pages/cart/cart2/cart2.js b/pages/cart/cart2/cart2.js index 58dbcfe..c9de99c 100644 --- a/pages/cart/cart2/cart2.js +++ b/pages/cart/cart2/cart2.js @@ -414,7 +414,7 @@ Page({ for (var j = 0; j < arr.length; j++) { if (arr[j].pickup_id == pcid) { arr[j].goods.push(item); - if(item.is_gift!=1){ + //if(item.is_gift!=1){ //确定配送方式 if(arr[j].distr_t==0){ arr[j].distr_t=item.distr_type; @@ -427,7 +427,7 @@ Page({ } arr[j].exp_type=e_t; if (e_t == 0) th.setData({ is_all_zt:0}); - } + //} //-- 把等级卡会优惠多少钱装进去 -- if(item.cut_price) arr[j].card_cut_price+=item.cut_price; @@ -1101,10 +1101,9 @@ Page({ } } - //计算物流价格 if (cart_item.exp_type == 0) { - freight_free=0; //后面不在进行判断 + //freight_free=0; //后面不在进行判断 var code = ""; if(th.data.wu_arr && th.data.wu_arr[cart_item.wind]) code=th.data.wu_arr[cart_item.wind].code;