diff --git a/packageC/pages/luckyGo/luckyGo_cart/luckyGo_cart.js b/packageC/pages/luckyGo/luckyGo_cart/luckyGo_cart.js index a3b8843..b62e091 100644 --- a/packageC/pages/luckyGo/luckyGo_cart/luckyGo_cart.js +++ b/packageC/pages/luckyGo/luckyGo_cart/luckyGo_cart.js @@ -1374,7 +1374,7 @@ Page({ o_price += item[j].goods_price * item[j].goods_num; //判断是否有设置限制重量包邮 - if(item[j]['is_past']!==1 && item[j]['exp_sum_type']==2 && weight_free>0){ + if(item[j]['is_past']!==1 && item[j]['exp_sum_type']==2){ if (goods_weight < 0) goods_weight = 0; //累积商品重量 每种商品的重量 * 数量 goods_weight += item[j]['weight'] * item[j]['goods_num']; diff --git a/pages/cart/cart/cart.wxml b/pages/cart/cart/cart.wxml index ab2e874..309db35 100644 --- a/pages/cart/cart/cart.wxml +++ b/pages/cart/cart/cart.wxml @@ -41,7 +41,8 @@ - 全场满{{freight_free}}元可享包邮({{weight_free}}kg内) + 全场满{{freight_free}}元可享包邮 + 全场满{{freight_free}}元可享包邮({{weight_free}}kg内) 编辑 完成 diff --git a/pages/cart/cart2/cart2.js b/pages/cart/cart2/cart2.js index df36eac..f4daabf 100644 --- a/pages/cart/cart2/cart2.js +++ b/pages/cart/cart2/cart2.js @@ -1483,7 +1483,7 @@ Page({ o_price += item[j].goods_price * item[j].goods_num; //判断是否有设置限制重量包邮,先看商品有没有包邮 - if(item[j]['is_past']!==1 && item[j]['exp_sum_type']==2 && weight_free>0){ + if(item[j]['is_past']!==1 && item[j]['exp_sum_type']==2){ if (goods_weight < 0) goods_weight = 0; //累积商品重量 每种商品的重量 * 数量 goods_weight += item[j]['weight'] * item[j]['goods_num']; @@ -2482,8 +2482,8 @@ Page({ //调用接口判断是不是会员 await getApp().request.promiseGet("/api/weshop/shoppingGuide/getId/" + oo.stoid + "/" + gg.guide_id, {}).then(res => { if (res.data.code == 0) { - g_goods.guide_name = res.data.salesman; - g_goods.guide_sn = res.data.salesman_no; + g_goods.guide_name = res.data.data.salesman; + g_goods.guide_sn = res.data.data.salesman_no; } }) }